All of lore.kernel.org
 help / color / mirror / Atom feed
* xen-swiotlb vs phys_to_dma
@ 2020-10-02 12:34 ` Christoph Hellwig
  0 siblings, 0 replies; 12+ messages in thread
From: Christoph Hellwig @ 2020-10-02 12:34 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: xen-devel, iommu, Konrad Rzeszutek Wilk

Hi Stefano,

I've looked over xen-swiotlb in linux-next, that is with your recent
changes to take dma offsets into account.  One thing that puzzles me
is that xen_swiotlb_map_page passes virt_to_phys(xen_io_tlb_start) as
the tbl_dma_addr argument to swiotlb_tbl_map_single, despite the fact
that the argument is a dma_addr_t and both other callers translate
from a physical to the dma address.  Was this an oversight?
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

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

end of thread, other threads:[~2020-10-07 17:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-02 12:34 xen-swiotlb vs phys_to_dma Christoph Hellwig
2020-10-02 12:34 ` Christoph Hellwig
2020-10-02 20:21 ` Stefano Stabellini
2020-10-02 20:21   ` Stefano Stabellini
2020-10-06  8:26   ` Christoph Hellwig
2020-10-06  8:26     ` Christoph Hellwig
2020-10-06 20:46     ` Stefano Stabellini
2020-10-06 20:46       ` Stefano Stabellini
2020-10-07  6:00       ` Christoph Hellwig
2020-10-07  6:00         ` Christoph Hellwig
2020-10-07 17:15         ` Stefano Stabellini
2020-10-07 17:15           ` Stefano Stabellini

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.