[PATCH 1/5] iommupt: Add the RISC-V page table format

Jason Gunthorpe jgg at nvidia.com
Wed Nov 5 16:24:21 PST 2025


On Wed, Nov 05, 2025 at 08:17:38AM +0900, Emil Renner Berthing wrote:
> 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?

No it is a typo, I fixed it.

Thanks,
Jason



More information about the linux-riscv mailing list