[PATCH 4/7] alpha: provide ioread64 and iowrite64 implementations

Logan Gunthorpe logang at deltatee.com
Fri Jun 23 06:09:55 AEST 2017


On 6/22/2017 2:08 PM, Alan Cox wrote:
> But this does not do the same thing as an ioread64 with regards to
> atomicity or side effects on the device. The same is true of the other
> hacks. You either have a real 64bit single read/write from MMIO space or
> you don't. You can't fake it.

Yes, I know. But is it not better than having every driver that wants to 
use these functions fake it themselves?

Logan



More information about the Linuxppc-dev mailing list