Skip to contentSkip to conversation

omap1 and __arch_pfn_to_dma

DISCUSSION Christoph Hellwig 3 participants 3 messages Sep 8, 2020 – Sep 9, 2020

lore
Share & tools
lore
#0 lore raw

Hi Aaro and Tony,

omap1 is the last arm platform implementing __arch_pfn_to_dma and __arch_dma_to_pfn. Any chance you could help converting them to use the dma pfn offset in struct device [1] instead?

Thanks,
Christoph

p1] which we are also reworking to support multiple ranges, but I can help with fixing that up easily

#1 lore raw

Hi,

Quoted 5 lines · Christoph Hellwig

Hi Aaro and Tony,

omap1 is the last arm platform implementing __arch_pfn_to_dma and __arch_dma_to_pfn. Any chance you could help converting them to use the dma pfn offset in struct device [1] instead?

Sounds like a plan, however I don't have currently access to my omap1 devices and won't for about a month. Aaro care to look at this?

Regards,

Tony

Quoted 2 lines

p1] which we are also reworking to support multiple ranges, but I can help with fixing that up easily

#2 lore raw
Quoted 12 lines · Tony Lindgren

Hi,

Quoted 5 lines · Christoph Hellwig

Hi Aaro and Tony,

omap1 is the last arm platform implementing __arch_pfn_to_dma and __arch_dma_to_pfn. Any chance you could help converting them to use the dma pfn offset in struct device [1] instead?

Sounds like a plan, however I don't have currently access to my omap1 devices and won't for about a month. Aaro care to look at this?

FYI.
Seems arch/arm/mach-keystone/keystone.c can be used as reference.

Quoted 3 lines
Quoted 3 lines

p1] which we are also reworking to support multiple ranges, but I can help with fixing that up easily

Signature · 2 lines
Best regards,
grygorii