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

2020-11-19 Thread Tom Roeder
On Thu, Nov 19, 2020 at 01:09:14PM -0800, Keith Busch wrote: On Thu, Nov 19, 2020 at 10:59:19AM -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

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

2020-11-19 Thread Keith Busch
On Thu, Nov 19, 2020 at 10:59:19AM -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 AMD

[PATCH] 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 make