linux-stable/arch/mips
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
..
alchemy MIPS: Alchemy: Fix missing prototypes 2024-01-22 10:32:36 +01:00
ath25
ath79
bcm47xx MIPS: Fix typos 2024-01-08 10:39:12 +01:00
bcm63xx MIPS: BCM63XX: Fix missing prototypes 2024-01-26 10:33:20 +01:00
bmips
boot Just cleanups and fixes 2024-01-17 11:20:50 -08:00
cavium-octeon Just cleanups and fixes 2024-01-17 11:20:50 -08:00
cobalt MIPS: Cobalt: Fix missing prototypes 2024-01-22 10:32:21 +01:00
configs vfs-6.8.netfs 2024-01-19 09:10:23 -08:00
crypto
dec
fw MIPS: fw arc: Fix missing prototypes 2024-01-22 11:12:01 +01:00
generic
include MIPS: Clear Cause.BD in instruction_pointer_set 2024-02-12 23:04:40 +01:00
ingenic
jazz
kernel ptrace: Introduce exception_ip arch hook 2024-02-12 23:04:34 +01:00
kvm Generic: 2024-01-17 13:03:37 -08:00
lantiq MIPS: lantiq: register smp_ops on non-smp platforms 2024-01-26 10:36:21 +01:00
lib
loongson2ef MIPS: Fix typos 2024-01-08 10:39:12 +01:00
loongson32
loongson64 mm: Introduce vmap_page_range() to map pages in PCI address space 2024-03-11 16:58:10 +01:00
math-emu
mm IOMMU Updates for Linux v6.8 2024-01-18 15:16:57 -08:00
mti-malta
n64
net MIPS: Fix typos 2024-01-08 10:39:12 +01:00
pci Just cleanups and fixes 2024-01-17 11:20:50 -08:00
pic32
power mips: suspend: include linux/suspend.h as needed 2023-12-10 17:21:41 -08:00
ralink MIPS: Fix typos 2024-01-08 10:39:12 +01:00
rb532
sgi-ip22
sgi-ip27 MIPS: sgi-ip27: Fix missing prototypes 2024-01-22 11:11:49 +01:00
sgi-ip30 MIPS: sgi-ip30: Fix missing prototypes 2024-01-22 11:12:08 +01:00
sgi-ip32 MIPS: sgi-ip32: Fix missing prototypes 2024-01-22 11:12:19 +01:00
sibyte
sni
tools
txx9 MIPS: Fix typos 2024-01-08 10:39:12 +01:00
vdso arch: vdso: consolidate gettime prototypes 2023-11-23 11:32:32 +01:00
Kbuild arch: turn off -Werror for architectures with known warnings 2023-12-10 17:21:33 -08:00
Kbuild.platforms
Kconfig MIPS: Loongson64: Enable DMA noncoherent support 2023-12-05 18:45:14 +01:00
Kconfig.debug
Makefile
Makefile.postlink