From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [Part1 PATCH v4 11/17] x86/mm: DMA support for SEV memory encryption Date: Sun, 17 Sep 2017 16:07:22 +0200 Message-ID: <20170917140722.GI4733@nazgul.tnic> References: <20170916123418.37807-1-brijesh.singh@amd.com> <20170916123418.37807-12-brijesh.singh@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org, Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Andy Lutomirski , Tom Lendacky , Konrad Rzeszutek Wilk To: Brijesh Singh Return-path: Received: from mx2.suse.de ([195.135.220.15]:59624 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751619AbdIQOH0 (ORCPT ); Sun, 17 Sep 2017 10:07:26 -0400 Content-Disposition: inline In-Reply-To: <20170916123418.37807-12-brijesh.singh@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sat, Sep 16, 2017 at 07:34:12AM -0500, Brijesh Singh wrote: Add a verb to patch subject: Subject: x86/mm: Add DMA support for ... > From: Tom Lendacky > > DMA access to encrypted memory cannot be performed when SEV is active. > In order for DMA to properly work when SEV is active, the SWIOTLB bounce > buffers must be used. > > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: Borislav Petkov > Cc: Konrad Rzeszutek Wilk > Cc: x86@kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Tom Lendacky > Signed-off-by: Brijesh Singh > --- > arch/x86/mm/mem_encrypt.c | 86 +++++++++++++++++++++++++++++++++++++++++++++++ > lib/swiotlb.c | 5 +-- > 2 files changed, 89 insertions(+), 2 deletions(-) With that: Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --