linux/arch/mips/loongson64
Alexei Starovoitov d7bca9199a mm: Introduce vmap_page_range() to map pages in PCI address space
ioremap_page_range() should be used for ranges within vmalloc range only.
The vmalloc ranges are allocated by get_vm_area(). PCI has "resource"
allocator that manages PCI_IOBASE, IO_SPACE_LIMIT address range, hence
introduce vmap_page_range() to be used exclusively to map pages
in PCI address space.

Fixes: 3e49a866c9 ("mm: Enforce VM_IOREMAP flag and range in ioremap_page_range.")
Reported-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Tested-by: Miguel Ojeda <ojeda@kernel.org>
Link: https://lore.kernel.org/bpf/CANiq72ka4rir+RTN2FQoT=Vvprp_Ao-CvoYEkSNqtSY+RZj+AA@mail.gmail.com
2024-03-11 16:58:10 +01:00
..
boardinfo.c
cop2-ex.c
cpucfg-emul.c
dma.c swiotlb: make the swiotlb_init interface more useful 2022-04-18 07:21:11 +02:00
env.c MIPS: Loongson64: Enable DMA noncoherent support 2023-12-05 18:45:14 +01:00
hpet.c
init.c mm: Introduce vmap_page_range() to map pages in PCI address space 2024-03-11 16:58:10 +01:00
Kconfig
Makefile
numa.c MIPS: loongson64: set nid for reserved memblock region 2024-01-27 11:07:57 +01:00
Platform MIPS: Loongson: Move arch cflags to MIPS top level Makefile 2023-04-05 09:45:09 +02:00
pm.c
reset.c mips, kexec: fix the incorrect ifdeffery and dependency of CONFIG_KEXEC 2023-12-12 17:20:18 -08:00
setup.c MIPS: Loongson64: Remove CPU_HAS_WB 2023-03-14 17:06:16 +01:00
smp.c Just cleanups and fixes 2024-01-17 11:20:50 -08:00
smp.h
time.c
vbios_quirk.c PCI/sysfs: Find shadow ROM before static attribute initialization 2022-01-26 10:41:21 -06:00