Re: [PATCH 2/3] iommu/vt-d: Parse SATC reporting structure

From: Lu Baolu
Date: Tue Feb 02 2021 - 19:40:54 EST


Hi Ashok,

On 2/3/21 12:41 AM, Raj, Ashok wrote:
On Tue, Feb 02, 2021 at 12:40:56PM +0800, Lu Baolu wrote:
From: Yian Chen <yian.chen@xxxxxxxxx>

Software should parse every SATC table and all devices in the tables
reported by the BIOS and keep the information in kernel list for further
SATC policy deployment.

The last part seems bit vague? Are you trying to imply,

if kernel is booted with noats for instance, a device listed in SATC table
as "requires ATS" will fail to load?

Otherwise its not clear what the policy enforcement means.


Yes. This is a bit vague. The ATS policy is out of the purpose of this
patch. It only parses the table and keep the device list for further
reference.

Best regards,
baolu