aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/Kconfig
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2021-09-08 17:58:35 -0500
committerBorislav Petkov <bp@suse.de>2021-10-04 11:46:33 +0200
commitbfebd37e99dece9c83a373cf9f35def440fdd5df (patch)
tree9d4b863b219a4bce211af6981f8c3d00aec04ed1 /arch/powerpc/platforms/pseries/Kconfig
parentx86/sev: Add an x86 version of cc_platform_has() (diff)
downloadlinux-dev-bfebd37e99dece9c83a373cf9f35def440fdd5df.tar.xz
linux-dev-bfebd37e99dece9c83a373cf9f35def440fdd5df.zip
powerpc/pseries/svm: Add a powerpc version of cc_platform_has()
Introduce a powerpc version of the cc_platform_has() function. This will be used to replace the powerpc mem_encrypt_active() implementation, so the implementation will initially only support the CC_ATTR_MEM_ENCRYPT attribute. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lkml.kernel.org/r/20210928191009.32551-5-bp@alien8.de
Diffstat (limited to 'arch/powerpc/platforms/pseries/Kconfig')
-rw-r--r--arch/powerpc/platforms/pseries/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/Kconfig b/arch/powerpc/platforms/pseries/Kconfig
index 5e037df2a3a1..2e57391e0778 100644
--- a/arch/powerpc/platforms/pseries/Kconfig
+++ b/arch/powerpc/platforms/pseries/Kconfig
@@ -159,6 +159,7 @@ config PPC_SVM
select SWIOTLB
select ARCH_HAS_MEM_ENCRYPT
select ARCH_HAS_FORCE_DMA_UNENCRYPTED
+ select ARCH_HAS_CC_PLATFORM
help
There are certain POWER platforms which support secure guests using
the Protected Execution Facility, with the help of an Ultravisor