diff options
author | Shawn Anastasio <shawn@anastas.io> | 2020-08-21 13:55:57 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-08-24 14:12:54 +1000 |
commit | 9b725a90a8f127802e19466d4e336e701bcea0d2 (patch) | |
tree | 03641564d277fa36483be5cef7fce5deb8454572 /arch/powerpc/Kconfig | |
parent | 12564485ed8caac3c18572793ec01330792c7191 (diff) | |
download | lwn-9b725a90a8f127802e19466d4e336e701bcea0d2.tar.gz lwn-9b725a90a8f127802e19466d4e336e701bcea0d2.zip |
powerpc/64s: Disallow PROT_SAO in LPARs by default
Since migration of guests using SAO to ISA 3.1 hosts may cause issues,
disable PROT_SAO in LPARs by default and introduce a new Kconfig option
PPC_PROT_SAO_LPAR to allow users to enable it if desired.
Signed-off-by: Shawn Anastasio <shawn@anastas.io>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200821185558.35561-3-shawn@anastas.io
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 1f48bbfb3ce9..65bed1fdeaad 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -860,6 +860,18 @@ config PPC_SUBPAGE_PROT If unsure, say N here. +config PPC_PROT_SAO_LPAR + bool "Support PROT_SAO mappings in LPARs" + depends on PPC_BOOK3S_64 + help + This option adds support for PROT_SAO mappings from userspace + inside LPARs on supported CPUs. + + This may cause issues when performing guest migration from + a CPU that supports SAO to one that does not. + + If unsure, say N here. + config PPC_COPRO_BASE bool |