[Part1 PATCH v7 06/17] x86/mm: Include SEV for encryption memory attribute changes

2017-10-20 Thread Brijesh Singh
From: Tom Lendacky The current code checks only for sme_active() when determining whether to perform the encryption attribute change. Include sev_active() in this check so that memory attribute changes can occur under SME and SEV. Signed-off-by: Tom Lendacky

[Part1 PATCH v7 06/17] x86/mm: Include SEV for encryption memory attribute changes

2017-10-20 Thread Brijesh Singh
From: Tom Lendacky The current code checks only for sme_active() when determining whether to perform the encryption attribute change. Include sev_active() in this check so that memory attribute changes can occur under SME and SEV. Signed-off-by: Tom Lendacky Signed-off-by: Brijesh Singh