Re: [PATCH 05/11] x86/sev: Replace occurrences of sev_active() with prot_guest_has()

From
Joerg Roedel <joro@8bytes.org>
Date
2021-08-02 10:42:23
Also in
amd-gfx, dri-devel, kvm, linux-fsdevel, linux-iommu, linux-s390, linuxppc-dev, lkml, platform-driver-x86
Reply to
Tom Lendacky, 2021-07-27
On Tue, Jul 27, 2021 at 05:26:08PM -0500, Tom Lendacky wrote:
Replace occurrences of sev_active() with the more generic prot_guest_has()
using PATTR_GUEST_MEM_ENCRYPT, except for in arch/x86/mm/mem_encrypt*.c
where PATTR_SEV will be used. If future support is added for other memory
encryption technologies, the use of PATTR_GUEST_MEM_ENCRYPT can be
updated, as required, to use PATTR_SEV.

Cc: Thomas Gleixner <redacted>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Joerg Roedel <redacted>
Thread (43 messages) 43 messages, 9 authors, last reply 2021-08-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help