[PATCH v3] arm64: mm: fix pass user prot to ioremap_prot in generic_access_phys
Will Deacon
will at kernel.org
Wed Feb 18 08:22:20 PST 2026
On Mon, Feb 09, 2026 at 12:02:28PM +0000, Will Deacon wrote:
> I still think this is unnecessary churn. You then end up with
> ioremap_prot() having no callers outside of arch/ and if core code just
> defines ioremap_user_prot() to ioremap_prot() for everybody apart from
> arm64 then the intent isn't clear at all.
FWIW, I've had a crack at implementing this here:
https://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git/log/?h=ioremap-prot
I can post the patches at -rc1.
Will
More information about the linux-arm-kernel
mailing list