[PATCH v2 8/8] riscv: mm: Add support for ZONE_DEVICE

Björn Töpel bjorn at kernel.org
Wed May 15 00:03:02 PDT 2024


Björn Töpel <bjorn at kernel.org> writes:

> From: Björn Töpel <bjorn at rivosinc.com>
>
> 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.

...and this patch has rv32 build issues. Will fix as well.



More information about the linux-riscv mailing list