forked from Minki/linux
a67a88b0b8
Way back it was a reasonable assumptions that iomem mappings never
change the pfn range they point at. But this has changed:
- gpu drivers dynamically manage their memory nowadays, invalidating
ptes with unmap_mapping_range when buffers get moved
- contiguous dma allocations have moved from dedicated carvetouts to
cma regions. This means if we miss the unmap the pfn might contain
pagecache or anon memory (well anything allocated with GFP_MOVEABLE)
- even /dev/mem now invalidates mappings when the kernel requests that
iomem region when CONFIG_IO_STRICT_DEVMEM is set, see
commit
|
||
---|---|---|
.. | ||
Makefile | ||
pci_bus.c | ||
pci_bus.h | ||
pci_clp.c | ||
pci_debug.c | ||
pci_dma.c | ||
pci_event.c | ||
pci_insn.c | ||
pci_iov.c | ||
pci_iov.h | ||
pci_irq.c | ||
pci_mmio.c | ||
pci_sysfs.c | ||
pci.c |