From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.11513.1614950070370845874 for ; Fri, 05 Mar 2021 05:14:30 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: vivek.gautam@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B6C0112FC; Fri, 5 Mar 2021 05:14:29 -0800 (PST) Received: from usa.arm.com (a074945.blr.arm.com [10.162.16.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 107203F73B; Fri, 5 Mar 2021 05:14:27 -0800 (PST) From: "Vivek Kumar Gautam" To: devel@edk2.groups.io Cc: ardb+tianocore@kernel.org, leif@nuviainc.com, Sami.Mujawar@arm.com, Vivek.Gautam@arm.com Subject: [edk2-platforms][PATCH V2 2/2] Platform/Sgi: Enable ATS mode over PCI root complex Date: Fri, 5 Mar 2021 18:44:19 +0530 Message-Id: <20210305131419.24069-3-vivek.gautam@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210305131419.24069-1-vivek.gautam@arm.com> References: <20210305131419.24069-1-vivek.gautam@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Enable Address Translation Service (ATS) support for the PCI root complex listed in the iort table. ATS allows PCIe devices to request an address translation before starting the dma transaction, so that devices can cache these translations in their private cache that is called as Address Translation Cache (ATC). Devices that support Page Request Interface (PRI) can also enable the feature when ATS is enabled as ATS is a prerequisite for PRI. Signed-off-by: Vivek Gautam --- Platform/ARM/SgiPkg/AcpiTables/Iort.aslc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/ARM/SgiPkg/AcpiTables/Iort.aslc b/Platform/ARM/SgiP= kg/AcpiTables/Iort.aslc index ce8eefc585ea..fcc28a71c82e 100644 --- a/Platform/ARM/SgiPkg/AcpiTables/Iort.aslc +++ b/Platform/ARM/SgiPkg/AcpiTables/Iort.aslc @@ -133,7 +133,7 @@ ARM_EFI_ACPI_6_0_IO_REMAPPING_TABLE Iort =3D 0, // AllocationHints 0, // Reserved 0, // MemoryAccessFlags - EFI_ACPI_IORT_ROOT_COMPLEX_ATS_UNSUPPORTED, // AtsAttribute + EFI_ACPI_IORT_ROOT_COMPLEX_ATS_SUPPORTED, // AtsAttribute 0x0, // PciSegmentNumber }, // EFI_ACPI_6_0_IO_REMAPPING_ID_TABLE --=20 2.17.1