Messages in this thread | | | Date | Thu, 25 Aug 2022 11:34:12 +0100 | From | "Russell King (Oracle)" <> | Subject | Re: [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!
| |