Re: [PATCH] powerpc/32s: Fix is_module_segment() when MODULES_VADDR is defined

2020-08-18 Thread Michael Ellerman
On Wed, 5 Aug 2020 15:27:28 + (UTC), Christophe Leroy wrote: > When MODULES_VADDR is defined, is_module_segment() shall check the > address against it instead of checking agains VMALLOC_START. Applied to powerpc/fixes. [1/1] powerpc/32s: Fix is_module_segment() when MODULES_VADDR is defined

[PATCH] powerpc/32s: Fix is_module_segment() when MODULES_VADDR is defined

2020-08-05 Thread Christophe Leroy
When MODULES_VADDR is defined, is_module_segment() shall check the address against it instead of checking agains VMALLOC_START. Fixes: 6ca055322da8 ("powerpc/32s: Use dedicated segment for modules with STRICT_KERNEL_RWX") Signed-off-by: Christophe Leroy --- arch/powerpc/mm/book3s32/mmu.c | 7