All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch for-5.8 0/4] dma-direct: dma_direct_alloc_pages() fixes for AMD SEV
@ 2020-06-11 19:20 ` David Rientjes
  0 siblings, 0 replies; 16+ messages in thread
From: David Rientjes via iommu @ 2020-06-11 19:20 UTC (permalink / raw)
  To: Christoph Hellwig
  Cc: Thomas Lendacky, Brijesh Singh, linux-kernel, iommu, Robin Murphy

While debugging recently reported issues concerning DMA allocation
practices when CONFIG_AMD_MEM_ENCRYPT is enabled, some curiosities arose
when looking at dma_direct_alloc_pages() behavior.

Fix these up.  These are likely all stable material, so proposing for 5.8.
---
 kernel/dma/direct.c | 42 ++++++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 10 deletions(-)
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2020-06-15  7:01 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-11 19:20 [patch for-5.8 0/4] dma-direct: dma_direct_alloc_pages() fixes for AMD SEV David Rientjes via iommu
2020-06-11 19:20 ` David Rientjes
2020-06-11 19:20 ` [patch for-5.8 1/4] dma-direct: always align allocation size in dma_direct_alloc_pages() David Rientjes via iommu
2020-06-11 19:20   ` David Rientjes
2020-06-15  6:54   ` Christoph Hellwig
2020-06-15  6:54     ` Christoph Hellwig
2020-06-11 19:20 ` [patch for-5.8 2/4] dma-direct: re-encrypt memory if dma_direct_alloc_pages() fails David Rientjes via iommu
2020-06-11 19:20   ` David Rientjes
2020-06-15  6:56   ` Christoph Hellwig
2020-06-15  6:56     ` Christoph Hellwig
2020-06-11 19:20 ` [patch for-5.8 3/4] dma-direct: check return value when encrypting or decrypting memory David Rientjes via iommu
2020-06-11 19:20   ` David Rientjes
2020-06-11 19:20 ` [patch for-5.8 4/4] dma-direct: add missing set_memory_decrypted() for coherent mapping David Rientjes via iommu
2020-06-11 19:20   ` David Rientjes
2020-06-15  7:00   ` Christoph Hellwig
2020-06-15  7:00     ` Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.