Re: [PATCH v2] nvme: Cache DMA descriptors to prevent corruption.

2020-12-02 Thread Tom Lendacky
On 11/30/20 12:50 PM, Tom Roeder wrote: > On Fri, Nov 20, 2020 at 09:02:43AM +0100, Christoph Hellwig wrote: >> On Thu, Nov 19, 2020 at 05:27:37PM -0800, Tom Roeder wrote: >>> This patch changes the NVMe PCI implementation to cache host_mem_descs >>> in non-DMA memory instead of depending on

Re: [PATCH v2] nvme: Cache DMA descriptors to prevent corruption.

2020-11-30 Thread Tom Roeder
On Fri, Nov 20, 2020 at 06:29:54AM -0800, Keith Busch wrote: On Fri, Nov 20, 2020 at 09:02:43AM +0100, Christoph Hellwig wrote: On Thu, Nov 19, 2020 at 05:27:37PM -0800, Tom Roeder wrote: > This patch changes the NVMe PCI implementation to cache host_mem_descs > in non-DMA memory instead of

Re: [PATCH v2] nvme: Cache DMA descriptors to prevent corruption.

2020-11-30 Thread Tom Roeder
On Fri, Nov 20, 2020 at 09:02:43AM +0100, Christoph Hellwig wrote: On Thu, Nov 19, 2020 at 05:27:37PM -0800, Tom Roeder wrote: This patch changes the NVMe PCI implementation to cache host_mem_descs in non-DMA memory instead of depending on descriptors stored in DMA memory. This change is needed

Re: [PATCH v2] nvme: Cache DMA descriptors to prevent corruption.

2020-11-20 Thread Keith Busch
On Fri, Nov 20, 2020 at 09:02:43AM +0100, Christoph Hellwig wrote: > On Thu, Nov 19, 2020 at 05:27:37PM -0800, Tom Roeder wrote: > > This patch changes the NVMe PCI implementation to cache host_mem_descs > > in non-DMA memory instead of depending on descriptors stored in DMA > > memory. This

Re: [PATCH v2] nvme: Cache DMA descriptors to prevent corruption.

2020-11-20 Thread Christoph Hellwig
On Thu, Nov 19, 2020 at 05:27:37PM -0800, Tom Roeder wrote: > This patch changes the NVMe PCI implementation to cache host_mem_descs > in non-DMA memory instead of depending on descriptors stored in DMA > memory. This change is needed under the malicious-hypervisor threat > model assumed by the

[PATCH v2] nvme: Cache DMA descriptors to prevent corruption.

2020-11-19 Thread Tom Roeder
This patch changes the NVMe PCI implementation to cache host_mem_descs in non-DMA memory instead of depending on descriptors stored in DMA memory. This change is needed under the malicious-hypervisor threat model assumed by the AMD SEV and Intel TDX architectures, which encrypt guest memory to