Re: [PATCH] arm32: fix flushcache syscall with device address

From: Russell King - ARM Linux admin
Date: Tue Apr 21 2020 - 12:55:35 EST


On Tue, Apr 21, 2020 at 05:50:22PM +0100, James Morse wrote:
> Hi guys,
>
> (Subject Nit: arm64, as that is what your patch modifies)

That is irrelevent. This is a compatibility interface which is supposed
to reflect the arm32 implementation. Augmenting a compatibility
interface to do more than what it's counterpart that it's supposed to
be compatible with is senseless.

The API concerned is an ARM32 API which is expected to only be used
for ensuring I/D cache coherency, it is not for DMA.

Augmenting it on ARM64 for DMA is senseless.

--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up