diff options
author | 2024-06-05 13:40:53 +0200 | |
---|---|---|
committer | 2024-06-26 08:42:46 -0700 | |
commit | 216e04bf1e4d933fe8338e486a9dff93c208601e (patch) | |
tree | 00f2fb878ad4c2a4d4a9eec028088095f6ca6e28 /scripts/generate_rust_analyzer.py | |
parent | virtio-mem: Enable virtio-mem for RISC-V (diff) | |
download | linux-rng-216e04bf1e4d933fe8338e486a9dff93c208601e.tar.xz linux-rng-216e04bf1e4d933fe8338e486a9dff93c208601e.zip |
riscv: mm: Add support for ZONE_DEVICE
ZONE_DEVICE pages need DEVMAP PTEs support to function
(ARCH_HAS_PTE_DEVMAP). Claim another RSW (reserved for software) bit
in the PTE for DEVMAP mark, add the corresponding helpers, and enable
ARCH_HAS_PTE_DEVMAP for riscv64.
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Björn Töpel <bjorn@rivosinc.com>
Link: https://lore.kernel.org/r/20240605114100.315918-11-bjorn@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions