Re: [PATCH v2 2/3] iommu/vt-d: Check FL and SL capability sanity in scalable mode

2021-09-26 Thread Lu Baolu
On 9/27/21 9:33 AM, Tian, Kevin wrote: From: Tian, Kevin Sent: Monday, September 27, 2021 9:30 AM From: Tian, Kevin Sent: Monday, September 27, 2021 9:12 AM From: Lu Baolu Sent: Sunday, September 26, 2021 7:46 PM An iommu domain could be allocated and mapped before it's attached to any

RE: [PATCH v2 2/3] iommu/vt-d: Check FL and SL capability sanity in scalable mode

2021-09-26 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Monday, September 27, 2021 9:30 AM > > > From: Tian, Kevin > > Sent: Monday, September 27, 2021 9:12 AM > > > > > From: Lu Baolu > > > Sent: Sunday, September 26, 2021 7:46 PM > > > > > > An iommu domain could be allocated and mapped before it's attached to > > > any

RE: [PATCH v2 2/3] iommu/vt-d: Check FL and SL capability sanity in scalable mode

2021-09-26 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Monday, September 27, 2021 9:12 AM > > > From: Lu Baolu > > Sent: Sunday, September 26, 2021 7:46 PM > > > > An iommu domain could be allocated and mapped before it's attached to > > any > > device. This requires that in scalable mode, when the domain is allocated, >

RE: [PATCH v2 2/3] iommu/vt-d: Check FL and SL capability sanity in scalable mode

2021-09-26 Thread Tian, Kevin
> From: Lu Baolu > Sent: Sunday, September 26, 2021 7:46 PM > > An iommu domain could be allocated and mapped before it's attached to > any > device. This requires that in scalable mode, when the domain is allocated, > the format (FL or SL) of the page table must be determined. In order to >

[PATCH v2 2/3] iommu/vt-d: Check FL and SL capability sanity in scalable mode

2021-09-26 Thread Lu Baolu
An iommu domain could be allocated and mapped before it's attached to any device. This requires that in scalable mode, when the domain is allocated, the format (FL or SL) of the page table must be determined. In order to achieve this, the platform should support consistent SL or FL capabilities on