On 09/27/2017 10:13 AM, Brijesh Singh wrote:
From: Tom Lendacky <thomas.lenda...@amd.com> 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 <t...@linutronix.de> Cc: Ingo Molnar <mi...@redhat.com> Cc: "H. Peter Anvin" <h...@zytor.com> Cc: Borislav Petkov <b...@suse.de> Cc: Andy Lutomirski <l...@kernel.org> Cc: John Ogness <john.ogn...@linutronix.de> Cc: Matt Fleming <m...@codeblueprint.co.uk> Cc: Laura Abbott <labb...@redhat.com> Cc: Dan Williams <dan.j.willi...@intel.com> Cc: "Kirill A. Shutemov" <kirill.shute...@linux.intel.com> Cc: linux-kernel@vger.kernel.org Cc: x...@kernel.org Signed-off-by: Tom Lendacky <thomas.lenda...@amd.com> Signed-off-by: Brijesh Singh <brijesh.si...@amd.com> ---
I just realized that I missed picking Boris R-b tag in the commit [1]. If another version is needed then I will include it. thanks [1] https://marc.info/?l=kvm&m=150565715508940&w=2