lkml.org 
[lkml]   [2022]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/4] ARM: footbridge: remove custom DMA address handling
On Thu, Aug 25, 2022 at 11:17:52AM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
>
> Footbridge is the last Arm platform that has its own
> __virt_to_bus()/__bus_to_virt()/phys_to_dma()/dma_to_phys() abstraction,
> but this is just a simple offset now.
>
> For ISA DMA (floppy etc), the offset is actually zero, so the special
> hack to subtract the bus offset can be removed from common code.

No, the offset is definitely not zero for ISA devices. ISA devices have
the same view of system memory as PCI devices, since ISA devices go
through a southbridge and on to the PCI bus. So their view of the system
is exactly the same as any other PCI device.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

\
 
 \ /
  Last update: 2022-08-25 12:35    [W:0.135 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site