> +int dma_map_sgtable(struct device *dev, struct sg_table *sgt,
> + enum dma_data_direction dir, unsigned long attrs)
> +{
> + int nents;
> +
> + nents = __dma_map_sg_attrs(dev, sgt->sgl, sgt->orig_nents, dir, attrs);
> + if (nents == 0)
> + return -EIO;
>
The following changes since commit d936eb23874433caa3e3d841cfa16f5434b85dcf:
Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (2021-07-15
18:05:31 -0700)
are available in the Git repository at:
git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.14-1
for you to
On Mon, Jul 19, 2021, at 20:15, Robin Murphy wrote:
> On 2021-07-15 17:41, Sven Peter via iommu wrote:
> [...]
> >>> + u64 sw_bypass_cpu_start;
> >>> + u64 sw_bypass_dma_start;
> >>> + u64 sw_bypass_len;
> >>> +
> >>> + struct list_head streams;
> >>
> >> I'm staring to think this could just be
On Sun, Jul 25, 2021 at 09:50:29AM -0700, Linus Torvalds wrote:
> On Sat, Jul 24, 2021 at 11:03 PM Christoph Hellwig wrote:
> >
> > dma-mapping fix for Lonux 5.14
>
> We're calling it "Lonux" now?
Only on weekends :)
> > - handle vmalloc addresses in dma_common_{mmap,get_sgtable}
> >
On Sat, Jul 24, 2021 at 11:03 PM Christoph Hellwig wrote:
>
> dma-mapping fix for Lonux 5.14
We're calling it "Lonux" now?
> - handle vmalloc addresses in dma_common_{mmap,get_sgtable}
> (Roman Skakun)
I've pulled this, but my reaction is that we've tried to avoid this in
the past. Why
On Fri, Jul 23, 2021 at 3:40 PM Atish Patra wrote:
>
> Currently, linux,dma-default is used to reserve a global non-coherent pool
> to allocate memory for dma operations. This can be useful for RISC-V as
> well as the ISA specification doesn't specify a method to modify PMA
> attributes or page
On Fri, Jul 09, 2021 at 07:48:44AM +, Tian, Kevin wrote:
> /dev/iommu provides an unified interface for managing I/O page tables for
> devices assigned to userspace. Device passthrough frameworks (VFIO, vDPA,
> etc.) are expected to use this interface instead of creating their own logic
>
The pull request you sent on Sun, 25 Jul 2021 08:03:21 +0200:
> git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-5.14-1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/04ca88d056b44efee1e7635c74c0be3705efc72c
Thank you!
--
Deet-doot-dot, I am a