> 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 not being mm-managed. 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. > > Reviewed-by: Zi Yan <[email protected]> > 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/20261003-b4-mmap-prepare-vma-flag-sanify-v4-0-a1f052500...@kernel.org?part=24
