On Mon, Nov 17, 2025 at 5:38 PM Zhenzhong Duan <[email protected]> wrote: > > RID-PASID Support(RPS) is not set in vIOMMU ECAP register, the supporting > code is there but never takes effect. > > Meanwhile, according to VTD spec section 3.4.3: > "Implementations not supporting RID_PASID capability (ECAP_REG.RPS is 0b), > use a PASID value of 0 to perform address translation for requests without > PASID." > > We should delete the supporting code which fetches RID_PASID field from > scalable context entry and use 0 as RID_PASID directly, because RID_PASID > field is ignored if no RPS support according to spec. > > This simplifies the code and doesn't bring any penalty. > > Suggested-by: Yi Liu <[email protected]> > Signed-off-by: Zhenzhong Duan <[email protected]> > ---
Is the feature deprecated in the spec? If not, it should be still better to enable it. Thanks
