[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8fcf5cf4-5db4-8197-0012-e69dc8f41b18@amd.com>
Date: Mon, 19 Mar 2018 09:00:56 -0500
From: Tom Lendacky <thomas.lendacky@....com>
To: Christoph Hellwig <hch@....de>, x86@...nel.org
Cc: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>,
David Woodhouse <dwmw2@...radead.org>,
Muli Ben-Yehuda <mulix@...ix.org>,
Jon Mason <jdmason@...zu.us>, Joerg Roedel <joro@...tes.org>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: use generic dma-direct and swiotlb code for x86 V3
On 3/19/2018 5:38 AM, Christoph Hellwig wrote:
> Hi all,
>
> this series switches the x86 code the the dma-direct implementation
> for direct (non-iommu) dma and the generic swiotlb ops. This includes
> getting rid of the special ops for the AMD memory encryption case and
> the STA2x11 SOC. The generic implementations are based on the x86
> code, so they provide the same functionality.
>
Booted the system with SME on and off and the IOMMU on, off and in
passthrough mode without issues. In each case, booted an SEV guest
without issues. I'll be able to do more extensive testing later, but
for now...
Tested-by: Tom Lendacky <thomas.lendacky@....com>
> Changes since V2:
> - minor changelog tweaks
> - made is_sta2x11 a plain bool
>
> Changes since V1:
> - fix the length in the set_memory_decrypted call
> - fix the SEV case
>
Powered by blists - more mailing lists