Go to file
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
Documentation bpf, docs: Rename legacy conformance group to packet 2024-03-04 14:31:06 +01:00
LICENSES
arch mm: Introduce vmap_page_range() to map pages in PCI address space 2024-03-11 16:58:10 +01:00
block
certs
crypto
drivers mm: Introduce vmap_page_range() to map pages in PCI address space 2024-03-11 16:58:10 +01:00
fs
include mm: Introduce vmap_page_range() to map pages in PCI address space 2024-03-11 16:58:10 +01:00
init
io_uring
ipc
kernel bpf: Fix stackmap overflow check on 32-bit arches 2024-03-07 20:06:25 -08:00
lib
mm mm: Introduce vmap_page_range() to map pages in PCI address space 2024-03-11 16:58:10 +01:00
net bpf: struct_ops supports more than one page for trampolines. 2024-03-04 14:09:20 -08:00
rust
samples
scripts
security
sound
tools bpftool: rename is_internal_mmapable_map into is_mmapable_map 2024-03-07 14:58:48 -08:00
usr
virt
.clang-format
.cocciconfig
.editorconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.