[PATCH 1/5] iommupt: Add the RISC-V page table format
Emil Renner Berthing
emil.renner.berthing at canonical.com
Tue Nov 4 15:17:38 PST 2025
Quoting Jason Gunthorpe (2025-11-04 20:00:40)
> diff --git a/include/linux/generic_pt/common.h b/include/linux/generic_pt/common.h
> index 96f8a6a7d60e10..10b8250659b98b 100644
> --- a/include/linux/generic_pt/common.h
> +++ b/include/linux/generic_pt/common.h
> @@ -151,6 +151,21 @@ enum {
> PT_FEAT_AMDV1_FORCE_COHERENCE,
> };
>
> +struct pt_riscv_32 {
> + struct pt_common common;
> +};
> +
> +struct pt_riscv_64 {
> + struct pt_common common;
> +};
> +
> +enum {
> + /*
> + * Support the 64k contiguous page size following the Svnapot extension.
> + */
> + PT_FEAT_RSICV_SVNAPOT_64K = PT_FEAT_FMT_START,
Is RSICV (not RISCV) on purpose?
/Emil
More information about the linux-riscv
mailing list