iommu/vt-d: Add new enum value and structure for SATC
authorYian Chen <yian.chen@intel.com>
Thu, 4 Feb 2021 01:43:59 +0000 (09:43 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 4 Feb 2021 13:42:00 +0000 (14:42 +0100)
commit81d3c75bb3c32ca61712e093b8dce89d73c22150
treefaa00fcede057942f2a354af3b379806fdb6521a
parent933fcd01e97e2ba29880dd5f1239365e40094950
iommu/vt-d: Add new enum value and structure for SATC

Starting from Intel Platform VT-d v3.2, BIOS may provide new remapping
structure SATC for SOC integrated devices, according to section 8.8 of
Intel VT-d architecture specification v3.2. The SATC structure reports
a list of the devices that require ATS for normal device operation. It
is a functional requirement that these devices will not work without OS
enabling ATS capability.

This patch introduces the new enum value and structure to represent the
remapping information. Kernel should parse the information from the
reporting structure and enable ATC for the devices as needed.

Signed-off-by: Yian Chen <yian.chen@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210203093329.1617808-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20210204014401.2846425-6-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/acpi/actbl1.h