On Wed, Oct 23, 2024 at 4:01 PM Zhenzhong Duan <zhenzhong.d...@intel.com> wrote: > > VT-d spec removed Transient Mapping (TM) field from second-level page-tables > and treat the field as Reserved(0) since revision 3.2. > > Changing the field as reserved(0) will break backward compatibility, so > introduce a property "stale-tm" to allow user to control the setting. > > Use hw_compat_9_1 to handle the compatibility for machines before 9.2 which > allow guest to set the field. Starting from 9.2, this field is reserved(0) > by default to match spec. Of course, user can force it on command line. > > This doesn't impact function of vIOMMU as there was no logic to emulate > Transient Mapping. > > Suggested-by: Yi Liu <yi.l....@intel.com> > Suggested-by: Jason Wang <jasow...@redhat.com> > Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com> > --- > v4: s/x-stale-tm/stale-tm (Jason) > v3: still need to check x86_iommu->dt_supported > v2: introcude "x-stale-tm" to handle migration compatibility (Jason) >
Acked-by: Jason Wang <jasow...@redhat.com> Thanks