[PATCH] powerpc/603: Fix protection of user pages mapped with PROT_NONE

2021-01-31 Thread Christophe Leroy
On book3s/32, page protection is defined by the PP bits in the PTE which provide the following protection depending on the access keys defined in the matching segment register: - PP 00 means RW with key 0 and N/A with key 1. - PP 01 means RW with key 0 and RO with key 1. - PP 10 means RW with both

Re: [PATCH] powerpc/akebono: Fix unmet dependency errors

2021-01-31 Thread Randy Dunlap
On 1/31/21 5:25 PM, Michael Ellerman wrote: > The AKEBONO config has various selects under it, including some with > user-selectable dependencies, which means those dependencies can be > disabled. This leads to warnings from Kconfig. > > > The problem is that AKEBONO is using select to enable thi

Re: [PATCH] powerpc/akebono: Fix unmet dependency errors

2021-01-31 Thread Florian Fainelli
On 1/31/2021 5:25 PM, Michael Ellerman wrote: > The AKEBONO config has various selects under it, including some with > user-selectable dependencies, which means those dependencies can be > disabled. This leads to warnings from Kconfig. > > This can be seen with eg: > > $ make allnoconfig >

Re: [PATCH] cxl: Simplify bool conversion

2021-01-31 Thread Andrew Donnellan
On 29/1/21 7:25 pm, Yang Li wrote: Fix the following coccicheck warning: ./drivers/misc/cxl/sysfs.c:181:48-53: WARNING: conversion to bool not needed here Reported-by: Abaci Robot Signed-off-by: Yang Li Reviewed-by: Andrew Donnellan Thanks! --- drivers/misc/cxl/sysfs.c | 2 +- 1 file

[PATCH] powerpc/akebono: Fix unmet dependency errors

2021-01-31 Thread Michael Ellerman
The AKEBONO config has various selects under it, including some with user-selectable dependencies, which means those dependencies can be disabled. This leads to warnings from Kconfig. This can be seen with eg: $ make allnoconfig $ ./scripts/config --file build~/.config -k -e CONFIG_44x -k -e

Re: [PATCH] powerpc: fix AKEBONO build failures

2021-01-31 Thread Michael Ellerman
Randy Dunlap writes: > On 1/21/21 5:14 PM, Michael Ellerman wrote: >> Randy Dunlap writes: >>> On 1/20/21 1:29 PM, Yury Norov wrote: Hi all, I found the power pc build broken on today's linux-next (647060f3b592). >>> >>> Darn, I was building linux-5.11-rc4. >>> >>> I'll try li

Re: [PATCH v7 19/42] powerpc/perf: move perf irq/nmi handling details into traps.c

2021-01-31 Thread Athira Rajeev
On 30-Jan-2021, at 6:38 PM, Nicholas Piggin wrote:This is required in order to allow more significant differences betweenNMI type interrupt handlers and regular asynchronous handlers.Signed-off-by: Nicholas Piggin ---arch/powerpc/kernel/traps.c  | 31 +++-arch/powerpc/pe

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.11-6 tag

2021-01-31 Thread Linus Torvalds
On Sun, Jan 31, 2021 at 4:06 AM Michael Ellerman wrote: > > Please pull another powerpc fix for 5.11: Manual pr-tracker-bot says thanks, Linus

[GIT PULL] Please pull powerpc/linux.git powerpc-5.11-6 tag

2021-01-31 Thread Michael Ellerman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Linus, Please pull another powerpc fix for 5.11: The following changes since commit 08685be7761d69914f08c3d6211c543a385a5b9c: powerpc/64s: fix scv entry fallback flush vs interrupt (2021-01-20 15:58:19 +1100) are available in the git reposi

Re: [RFC 00/20] TLB batching consolidation and enhancements

2021-01-31 Thread Nadav Amit
> On Jan 30, 2021, at 11:57 PM, Nadav Amit wrote: > >> On Jan 30, 2021, at 7:30 PM, Nicholas Piggin wrote: >> >> Excerpts from Nadav Amit's message of January 31, 2021 10:11 am: >>> From: Nadav Amit >>> >>> There are currently (at least?) 5 different TLB batching schemes in the >>> kernel: >>