<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/arm/include/asm/dma-mapping.h, branch linux-5.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-10-06T05:07:05Z</updated>
<entry>
<title>dma-mapping: move dma-debug.h to kernel/dma/</title>
<updated>2020-10-06T05:07:05Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-09-11T08:12:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1fd09e8e6ae35228ecc7c1e4bfff1fd725f78a0'/>
<id>urn:sha1:a1fd09e8e6ae35228ecc7c1e4bfff1fd725f78a0</id>
<content type='text'>
Most of dma-debug.h is not required by anything outside of kernel/dma.
Move the four declarations needed by dma-mappin.h or dma-ops providers
into dma-mapping.h and dma-map-ops.h, and move the remainder of the
file to kernel/dma/debug.h.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>ARM/dma-mapping: move various helpers from dma-mapping.h to dma-direct.h</title>
<updated>2020-09-17T16:43:24Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-09-14T06:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3799e402a4f0d69690e0838c4a68cab26d06283a'/>
<id>urn:sha1:3799e402a4f0d69690e0838c4a68cab26d06283a</id>
<content type='text'>
Move the helpers to translate to and from direct mapping DMA addresses
to dma-direct.h.  This not only is the most logical place, but the new
placement also avoids dependency loops with pending commits.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Robin Murphy &lt;robin.murphy@arm.com&gt;
</content>
</entry>
<entry>
<title>ARM/dma-mapping: remove dma_to_virt</title>
<updated>2020-09-17T16:43:24Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-09-08T07:02:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=002a26fb55282f7832e132d046d22e2c55f47103'/>
<id>urn:sha1:002a26fb55282f7832e132d046d22e2c55f47103</id>
<content type='text'>
dma_to_virt is entirely unused, remove it.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>ARM/dma-mapping: remove a __arch_page_to_dma #error</title>
<updated>2020-09-17T16:43:24Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2020-09-11T06:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f982438e82bbecb32200d5f22f405ec64f1fdd1b'/>
<id>urn:sha1:f982438e82bbecb32200d5f22f405ec64f1fdd1b</id>
<content type='text'>
The __arch_page_to_dma hook is long gone.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>xen/arm: use dev_is_dma_coherent</title>
<updated>2019-09-11T10:43:26Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2019-07-24T12:06:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a8e6d950cdc1012aede8a84d85f902a53d895174'/>
<id>urn:sha1:a8e6d950cdc1012aede8a84d85f902a53d895174</id>
<content type='text'>
Use the dma-noncoherent dev_is_dma_coherent helper instead of the home
grown variant.  Note that both are always initialized to the same
value in arch_setup_dma_ops.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Julien Grall &lt;julien.grall@arm.com&gt;
Reviewed-by: Stefano Stabellini &lt;sstabellini@kernel.org&gt;
</content>
</entry>
<entry>
<title>arm: use swiotlb for bounce buffering on LPAE configs</title>
<updated>2019-07-24T15:29:01Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2019-07-23T09:33:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ad3c7b18c5b362be5dbd0f2c0bcf1fd5fd659315'/>
<id>urn:sha1:ad3c7b18c5b362be5dbd0f2c0bcf1fd5fd659315</id>
<content type='text'>
The DMA API requires that 32-bit DMA masks are always supported, but on
arm LPAE configs they do not currently work when memory is present
above 4GB.  Wire up the swiotlb code like for all other architectures
to provide the bounce buffering in that case.

Fixes: 21e07dba9fb11 ("scsi: reduce use of block bounce buffers").
Reported-by: Roger Quadros &lt;rogerq@ti.com&gt;
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Tested-by: Vignesh Raghavendra &lt;vigneshr@ti.com&gt;
</content>
</entry>
<entry>
<title>dma-mapping: remove dma_max_pfn</title>
<updated>2019-07-10T11:17:30Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2019-06-25T09:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79a986721decf428ba539e6e2c941c987acce655'/>
<id>urn:sha1:79a986721decf428ba539e6e2c941c987acce655</id>
<content type='text'>
These days, the DMA mapping code must bounce buffers for any unsupported
address. If the driver needs to optimize for natively supported ranges,
then it should use dma_get_required_mask.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Marc Gonzalez &lt;marc.w.gonzalez@free.fr&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>dma-mapping: add a kconfig symbol for arch_teardown_dma_ops availability</title>
<updated>2019-02-13T18:12:50Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2018-12-21T21:14:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dc2acded38957dfa6b7b7e0203b4b8cb8d818ce6'/>
<id>urn:sha1:dc2acded38957dfa6b7b7e0203b4b8cb8d818ce6</id>
<content type='text'>
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt; # arm64
</content>
</entry>
<entry>
<title>dma-mapping: add a kconfig symbol for arch_setup_dma_ops availability</title>
<updated>2019-02-13T18:12:33Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2019-01-07T18:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=347cb6af8710b72cf9685fdc09d07873cf42d51f'/>
<id>urn:sha1:347cb6af8710b72cf9685fdc09d07873cf42d51f</id>
<content type='text'>
Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Paul Burton &lt;paul.burton@mips.com&gt; # MIPS
Acked-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt; # arm64
</content>
</entry>
<entry>
<title>dma-mapping: bypass indirect calls for dma-direct</title>
<updated>2018-12-13T20:06:18Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2018-12-06T21:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=356da6d0cde3323236977fce54c1f9612a742036'/>
<id>urn:sha1:356da6d0cde3323236977fce54c1f9612a742036</id>
<content type='text'>
Avoid expensive indirect calls in the fast path DMA mapping
operations by directly calling the dma_direct_* ops if we are using
the directly mapped DMA operations.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Acked-by: Jesper Dangaard Brouer &lt;brouer@redhat.com&gt;
Tested-by: Jesper Dangaard Brouer &lt;brouer@redhat.com&gt;
Tested-by: Tony Luck &lt;tony.luck@intel.com&gt;
</content>
</entry>
</feed>
