Skip to content

Commit 4a133eb

Browse files
chleroympe
authored andcommitted
powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU
low_sleep_handler() can't restore the context from virtual stack because the stack can hardly be accessed with MMU OFF. For now, disable VMAP stack when CONFIG_ADB_PMU is selected. Fixes: cd08f10 ("powerpc/32s: Enable CONFIG_VMAP_STACK") Cc: [email protected] # v5.6+ Reported-by: Giuseppe Sacco <[email protected]> Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/ec96c15bfa1a7415ab604ee1c98cd45779c08be0.1598553015.git.christophe.leroy@csgroup.eu
1 parent 16d83a5 commit 4a133eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/powerpc/platforms/Kconfig.cputype

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ config PPC_BOOK3S_6xx
3636
select PPC_HAVE_PMU_SUPPORT
3737
select PPC_HAVE_KUEP
3838
select PPC_HAVE_KUAP
39-
select HAVE_ARCH_VMAP_STACK
39+
select HAVE_ARCH_VMAP_STACK if !ADB_PMU
4040

4141
config PPC_BOOK3S_601
4242
bool "PowerPC 601"

0 commit comments

Comments
 (0)