> It makes no sense for a mapping whose contents the kernel does not own to > specify that the range is MMIO. > > Prior to this patch, all in-tree drivers which did so have been updated > such that they are marked as kernel-owned. The check WARNs and fails the > mmap for any out-of-tree driver that still sets VMA_IO_BIT without a kernel > mapping. > > No functional change intended for in-tree code. > > Signed-off-by: Lorenzo Stoakes (ARM) <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review ยท https://sashiko.dev/#/patchset/20260914-b4-mmap-prepare-vma-flag-sanify-v2-0-7d9781ed5...@kernel.org?part=25
