Re: vm_area at addr ffffffffc0800000 is not marked as VM_IOREMAP

Christoph Hellwig
2024-03-08T15:04:21Z

On Thu, Mar 07, 2024 at 07:49:16PM -0800, Alexei Starovoitov wrote:
> Ok. I think I figured it out.
> Please try the attached patch.

I don't think this is the right thing. The probem is that
the PCI code shouldn't really be using ioremap_page_range if it is
not an ioremap area, but instead directly call into
vmap_range_noflush (or an added back vmap_range to avoid all the
duplication) similar to the vunmap case in vunmap_range.