Re: [PATCH 1/2] iommu/riscv: Advertise Svpbmt support to generic page table
From: Jason Gunthorpe
Date: Mon Apr 13 2026 - 08:40:02 EST
On Mon, Apr 13, 2026 at 06:45:07AM +0000, Tian, Kevin wrote:
> > From: fangyu.yu@xxxxxxxxxxxxxxxxx <fangyu.yu@xxxxxxxxxxxxxxxxx>
> > Sent: Saturday, April 11, 2026 10:22 AM
> >
> > diff --git a/include/linux/generic_pt/common.h
> > b/include/linux/generic_pt/common.h
> > index fc5d0b5edadc..dfadf8a5752a 100644
> > --- a/include/linux/generic_pt/common.h
> > +++ b/include/linux/generic_pt/common.h
> > @@ -188,6 +188,7 @@ enum {
> > * Support the 64k contiguous page size following the Svnapot
> > extension.
> > */
> > PT_FEAT_RISCV_SVNAPOT_64K = PT_FEAT_FMT_START,
> > + PT_FEAT_RISCV_SVPBMT,
> >
>
> nit - every feature has a comment.
>
> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
Oh that's right, please add a good comment!
Jason