Commit Graph
1 Commits
Author SHA1 Message Date
Tom Lendacky bfebd37e99 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 <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Michael Ellerman <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
2021-10-04 11:46:33 +02:00