On Sat, Sep 16, 2017 at 07:34:07AM -0500, Brijesh Singh wrote: > From: Tom Lendacky <[email protected]> > > 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. > > Cc: Thomas Gleixner <[email protected]> > Cc: Ingo Molnar <[email protected]> > Cc: "H. Peter Anvin" <[email protected]> > Cc: Borislav Petkov <[email protected]> > Cc: Andy Lutomirski <[email protected]> > Cc: John Ogness <[email protected]> > Cc: Matt Fleming <[email protected]> > Cc: Laura Abbott <[email protected]> > Cc: Dan Williams <[email protected]> > Cc: "Kirill A. Shutemov" <[email protected]> > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Tom Lendacky <[email protected]> > Signed-off-by: Brijesh Singh <[email protected]> > --- > arch/x86/mm/pageattr.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Borislav Petkov <[email protected]> -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --

