diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2021-09-09 01:58:35 +0300 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-10-04 12:46:33 +0300 |
commit | bfebd37e99dece9c83a373cf9f35def440fdd5df (patch) | |
tree | 9d4b863b219a4bce211af6981f8c3d00aec04ed1 /arch/powerpc/platforms/pseries/Kconfig | |
parent | aa5a461171f98fde0df78c4f6b5018a1e967cf81 (diff) | |
download | linux-bfebd37e99dece9c83a373cf9f35def440fdd5df.tar.xz |
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/Kconfig | 1 |
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 |