On Mon, Sep 15, 2025 at 06:13:40PM +0800, Chunyan Zhang wrote: > Some platforms can customize the PTE/PMD entry uffd-wp bit making > it unavailable even if the architecture provides the resource. > This patch adds a macro API that allows architectures to define their > specific implementations to check if the uffd-wp bit is available > on which device the kernel is running. > > Signed-off-by: Chunyan Zhang According to patchwork CI for riscv, this doesn't build for 32-bit defconfigs or the no-mmu defconfigs.