Re: [RFC PATCH v2 01/10] iommupt: Add RISC-V Second-stage (iohgatp) page table support
| Newsgroups | org.infradead.lists.kvm-riscv,dev.linux.lists.iommu,org.infradead.lists.linux-riscv,org.kernel.vger.kvm,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
>On Thu, May 07, 2026 at 07:36:57PM +0800, [email protected] wrote: >... >> diff --git a/include/linux/generic_pt/common.h b/include/linux/generic_pt/common.h >> index fc5d0b5edadc..59448125159e 100644 >> --- a/include/linux/generic_pt/common.h >> +++ b/include/linux/generic_pt/common.h >> @@ -188,7 +188,10 @@ enum { >> * Support the 64k contiguous page size following the Svnapot extension. >> */ >> PT_FEAT_RISCV_SVNAPOT_64K = PT_FEAT_FMT_START, >> - >> + /* >> + * Using second-stage / iohgatp address translation. >> + */ >> + PT_FEAT_RISCV_S2, > >Hi Fangyu, > >I just sent [1], but I actually discovered that issue when testing this >patch and finding PT_FEAT_RISCV_S2 was missing from PT_SUPPORTED_FEATURES. >So this patch needs the same fix as [1] as well. > Hi Andrew, Thanks for catching this. I'll fix it in the next revision. >Thanks, >drew > >[1] https://lore.kernel.org/all/[email protected]/ -- kvm-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kvm-riscv