Thread (12 messages) flat view 12 messages, 3 authors, 2020-09-16

Re: [PATCH 6/6] dma-mapping: introduce DMA range map, supplanting dma_pfn_offset

From: Christoph Hellwig <hch@lst.de>
Date: 2020-09-16 06:14:06
Also in: linux-acpi, linux-devicetree, linux-iommu, linux-pci, linux-remoteproc, linux-sh, linux-usb, lkml

On Tue, Sep 15, 2020 at 01:55:01PM -0600, Mathieu Poirier wrote:
That did the trick - the stm32 platform driver's probe() function completes and
the remote processor is operatinal. 

That being said the value returned by function dma_to_pfn()
is 0x137fff in the original code and 0xfffff with your patches applied.
Yes, that is intentional.  The old code just applied the range and got
an out of range offset, the new one reports the max offset.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help