Messages in this thread | | | Date | Wed, 16 Sep 2020 08:13:59 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH 6/6] dma-mapping: introduce DMA range map, supplanting dma_pfn_offset |
| |
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.
| |