All of lore.kernel.org
 help / color / mirror / Atom feed
* preserve DMA offsets when using swiotlb
@ 2021-02-04 19:30 ` Christoph Hellwig
  0 siblings, 0 replies; 36+ messages in thread
From: Christoph Hellwig @ 2021-02-04 19:30 UTC (permalink / raw)
  To: jxgao, gregkh
  Cc: saravanak, konrad.wilk, marcorr, linux-nvme, kbusch, iommu,
	erdemaktas, robin.murphy, m.szyprowski

Hi all,

this series make NVMe happy when running with swiotlb.  This caters
towards to completely broken NVMe controllers that ignore the
specification (hello to the biggest cloud provider on the planet!),
to crappy SOC that have addressing limitations, or "secure"
virtualization that force bounce buffering to enhance the user
experience.  Or in other words, no one sane should hit it, but
people do.

It is basically a respin of the

    "SWIOTLB: Preserve swiotlb map offset when needed."

series from Jianxiong Gao.  It complete rewrites the swiotlb part so that
the offset really is preserved and not just the offset into the swiotlb
slot, and to do so it grew half a dozen patches to refactor the swiotlb
so that a mere mortal like me could actually understand it.


_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme

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

end of thread, other threads:[~2021-02-05 11:50 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 19:30 preserve DMA offsets when using swiotlb Christoph Hellwig
2021-02-04 19:30 ` Christoph Hellwig
2021-02-04 19:30 ` [PATCH 1/8] driver core: add a min_align_mask field to struct device_dma_parameters Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 19:44   ` Greg KH
2021-02-04 19:44     ` Greg KH
2021-02-04 19:30 ` [PATCH 2/8] swiotlb: add a io_tlb_offset helper Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 19:30 ` [PATCH 3/8] swiotlb: factor out a nr_slots helper Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 22:09   ` Robin Murphy
2021-02-04 22:09     ` Robin Murphy
2021-02-05  9:45     ` Christoph Hellwig
2021-02-05  9:45       ` Christoph Hellwig
2021-02-04 19:30 ` [PATCH 4/8] swiotlb: clean up swiotlb_tbl_unmap_single Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 19:30 ` [PATCH 5/8] swiotlb: refactor swiotlb_tbl_map_single Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 22:12   ` Robin Murphy
2021-02-04 22:12     ` Robin Murphy
2021-02-05  9:45     ` Christoph Hellwig
2021-02-05  9:45       ` Christoph Hellwig
2021-02-04 19:30 ` [PATCH 6/8] swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 19:30 ` [PATCH 7/8] swiotlb: respect min_align_mask Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 23:13   ` Robin Murphy
2021-02-04 23:13     ` Robin Murphy
2021-02-05 10:34     ` Christoph Hellwig
2021-02-05 10:34       ` Christoph Hellwig
2021-02-04 19:30 ` [PATCH 8/8] nvme-pci: set min_align_mask Christoph Hellwig
2021-02-04 19:30   ` Christoph Hellwig
2021-02-04 19:32   ` Christoph Hellwig
2021-02-04 19:32     ` Christoph Hellwig
2021-02-05 11:50 ` preserve DMA offsets when using swiotlb Christoph Hellwig
2021-02-05 11:50   ` 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.