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

2021-02-02 Thread Lu Baolu
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 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.

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

2021-02-02 Thread Lu Baolu
Hi Joerg, On 2/2/21 9:53 PM, Joerg Roedel wrote: On Tue, Feb 02, 2021 at 12:40:56PM +0800, Lu Baolu wrote: + case ACPI_DMAR_TYPE_SATC: + satc = container_of(header, struct acpi_dmar_satc, header); + pr_info("SATC flags: 0x%x\n", satc->flags); +

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

2021-02-02 Thread Raj, Ashok
On Tue, Feb 02, 2021 at 12:40:56PM +0800, Lu Baolu wrote: > From: Yian Chen > > 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

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

2021-02-02 Thread Joerg Roedel
On Tue, Feb 02, 2021 at 12:40:56PM +0800, Lu Baolu wrote: > + case ACPI_DMAR_TYPE_SATC: > + satc = container_of(header, struct acpi_dmar_satc, header); > + pr_info("SATC flags: 0x%x\n", satc->flags); > + break; Did the pr_info() slip through or is there a

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

2021-02-01 Thread Lu Baolu
From: Yian Chen 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. Signed-off-by: Yian Chen --- drivers/iommu/intel/dmar.c | 9 drivers/iommu/intel/iommu.c | 89