<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Consolas, Courier, monospace; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="background-color:rgb(255, 255, 255);display:inline !important">Reviewed-by: Andrei Warkentin <awarkentin@vmware.com></span><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jeremy Linton <jeremy.linton@arm.com><br>
<b>Sent:</b> Thursday, August 19, 2021 11:16 PM<br>
<b>To:</b> devel@edk2.groups.io <devel@edk2.groups.io><br>
<b>Cc:</b> pete@akeo.ie <pete@akeo.ie>; ardb+tianocore@kernel.org <ardb+tianocore@kernel.org>; Andrei Warkentin <awarkentin@vmware.com>; Sunny.Wang@arm.com <Sunny.Wang@arm.com>; samer.el-haj-mahmoud@arm.com <samer.el-haj-mahmoud@arm.com>; Jeremy Linton <jeremy.linton@arm.com><br>
<b>Subject:</b> [PATCH v3 7/7] Platform/RaspberryPi: Add Linux quirk support</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Linux, for the time being has refused to support the Arm<br>
standard SMCCC for PCIe configuration. Instead they<br>
want to continue to maintain per device "quirks".<br>
<br>
As the RPI isn't really ECAM this is a bit more<br>
involved because the MCFG can't really describe<br>
the root port+config registers situation. Further<br>
platforms which support the SMCCC shouldn't have<br>
a MCFG, so we need an additional way to tell linux<br>
what it needs to know about this platform.<br>
<br>
Signed-off-by: Jeremy Linton <jeremy.linton@arm.com><br>
---<br>
 Platform/RaspberryPi/AcpiTables/Pci.asl | 7 +++++++<br>
 1 file changed, 7 insertions(+)<br>
<br>
diff --git a/Platform/RaspberryPi/AcpiTables/Pci.asl b/Platform/RaspberryPi/AcpiTables/Pci.asl<br>
index dc2bd7bc9e..50fe2cbdf2 100644<br>
--- a/Platform/RaspberryPi/AcpiTables/Pci.asl<br>
+++ b/Platform/RaspberryPi/AcpiTables/Pci.asl<br>
@@ -62,6 +62,13 @@ DefinitionBlock (__FILE__, "SSDT", 5, "RPIFDN", "RPI4PCIE", 2)<br>
         Package (4) { 0x0000FFFF, 3, zero, 178 }<br>
       })<br>
 <br>
+      Name (_DSD, Package () {<br>
+        ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),<br>
+          Package () {<br>
+            Package () { "linux-ecam-quirk-id", "bcm2711" },<br>
+          }<br>
+      })<br>
+<br>
       // Root complex resources<br>
       Method (_CRS, 0, Serialized) {<br>
         Name (RBUF, ResourceTemplate () {<br>
-- <br>
2.13.7<br>
<br>
</div>
</span></font></div>
</body>
</html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/79649">View/Reply Online (#79649)</a> |    |  <a target="_blank" href="https://groups.io/mt/85014313/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>