[PATCH V2 8/8] sched: mips: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/mips/include/asm/processor.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/mips/include/asm/processor.h

[PATCH V2 7/8] sched: arm64: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/arm64/include/asm/processor.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm64/include/asm/processor.h

[PATCH V2 6/8] sched: parisc: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/parisc/include/asm/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH V2 5/8] sched: s390: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/s390/include/asm/processor.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[PATCH V2 4/8] sched: powerpc: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux sched, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/powerpc/include/asm/task_size_64.h | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git

[PATCH V2 3/8] sched: sparc: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/sparc/include/asm/processor_64.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/sparc/include/asm/processor_64.h

[PATCH V2 2/8] sched: x86: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. Signed-off-by: Guo Ren Reviewed-by: Arnd Bergmann --- arch/x86/include/asm/page_64_types.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/include/asm/page_64_types.h

[PATCH V2 1/8] sched: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. This would confuse people who are implementing the COMPAT feature for architecture. Here is the comment by Arnd: Looking through the git history, I see commit a06db751c321 ("pagemap: check

[PATCH V2 0/8] sched: Remove unused TASK_SIZE_OF

2021-12-24 Thread guoren
From: Guo Ren This macro isn't used in Linux, now. Delete in include/linux/sched.h and arch's include/asm. This would confuse people who are implementing the COMPAT feature for architecture. Changes in v2: - Add Arnd's comment in main patch - Optimize coding convention with Christophe's

Re: aacraid (PM8068) freqent EEH with kernel 5.15 on talos2

2021-12-24 Thread Georgy Yakovlev
On 23.12.2021 21:57, Georgy Yakovlev wrote: > Hi, > > I'm looking for help or directions or pointers with my issue. > I have a Talos2 machine and built-in SAS controller (PM8068) is > basically unusable due to EEH errors with kernel 5.15+ > and it just crashed on 5.10.86 too right on boot in

[PATCH 10/10] serial: pmac_zilog: Use platform_get_irq() to get the interrupt

2021-12-24 Thread Lad Prabhakar
platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on static allocation of IRQ resources in DT core code, this causes an issue when using hierarchical interrupt domains using "interrupts" property in the node as this bypasses the hierarchical setup and messes up the irq chaining. In

[Bug 215389] pagealloc: memory corruption at building glibc-2.33 and running its' testsuite

2021-12-24 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=215389 Christophe Leroy (christophe.le...@csgroup.eu) changed: What|Removed |Added CC|

Re: [PATCH 4/5] powerpc/64: Add VIRTUAL_BUG_ON checks for __va and __pa addresses

2021-12-24 Thread Christophe Leroy
Hi Nic, Le 24/07/2019 à 10:46, Nicholas Piggin a écrit : Ensure __va is given a physical address below PAGE_OFFSET, and __pa is given a virtual address above PAGE_OFFSET. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/page.h | 14 -- 1 file changed, 12

Re: [PATCH] Revert "mm/usercopy: Drop extra is_vmalloc_or_module() check"

2021-12-24 Thread Christophe Leroy
Le 24/12/2021 à 08:06, Kefeng Wang a écrit : > > On 2021/12/24 14:01, Christophe Leroy wrote: >> >> Le 23/12/2021 à 11:21, Kefeng Wang a écrit : >>> This reverts commit 517e1fbeb65f5eade8d14f46ac365db6c75aea9b. >>> >>>     usercopy: Kernel memory exposure attempt detected from SLUB >>> object

[PATCH v3 2/2] powerpc: Add set_memory_{p/np}() and remove set_memory_attr()

2021-12-24 Thread Christophe Leroy
set_memory_attr() was implemented by commit 4d1755b6a762 ("powerpc/mm: implement set_memory_attr()") because the set_memory_xx() couldn't be used at that time to modify memory "on the fly" as explained it the commit. But set_memory_attr() uses set_pte_at() which leads to warnings when

[PATCH v3 1/2] powerpc/set_memory: Avoid spinlock recursion in change_page_attr()

2021-12-24 Thread Christophe Leroy
Commit 1f9ad21c3b38 ("powerpc/mm: Implement set_memory() routines") included a spin_lock() to change_page_attr() in order to safely perform the three step operations. But then commit 9f7853d7609d ("powerpc/mm: Fix set_memory_*() against concurrent accesses") modify it to use pte_update() and do

[powerpc:next] BUILD SUCCESS 5b09250cca85ae6f91c9562cf1f5e5747de0a75d

2021-12-24 Thread kernel test robot
fconfig sh lboxre2_defconfig m68kmac_defconfig nios2 defconfig x86_64 allyesconfig arm palmz72_defconfig arm randconfig-c002-20211223 arm randconfig-c00