<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoPlainText">+ Ard’s new e-mail address<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Andrei Warkentin <awarkentin@vmware.com> <br>
<b>Sent:</b> Thursday, April 8, 2021 10:17 AM<br>
<b>To:</b> Jeremy Linton <Jeremy.Linton@arm.com>; devel@edk2.groups.io<br>
<b>Cc:</b> Ard Biesheuvel <Ard.Biesheuvel@arm.com>; leif@nuviainc.com; pete@akeo.ie; Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com><br>
<b>Subject:</b> Re: [PATCH 2/3] Platform/RaspberryPi/AcpiTables: Add further named components<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:Consolas;color:black">Reviewed-by: Andrei Warkentin <<a href="mailto:awarkentin@vmware.com">awarkentin@vmware.com</a>><o:p></o:p></span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Jeremy Linton <<a href="mailto:jeremy.linton@arm.com">jeremy.linton@arm.com</a>><br>
<b>Sent:</b> Thursday, April 8, 2021 12:58 AM<br>
<b>To:</b> <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a> <<a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>><br>
<b>Cc:</b> <a href="mailto:ard.biesheuvel@arm.com">ard.biesheuvel@arm.com</a> <<a href="mailto:ard.biesheuvel@arm.com">ard.biesheuvel@arm.com</a>>;
<a href="mailto:leif@nuviainc.com">leif@nuviainc.com</a> <<a href="mailto:leif@nuviainc.com">leif@nuviainc.com</a>>;
<a href="mailto:pete@akeo.ie">pete@akeo.ie</a> <<a href="mailto:pete@akeo.ie">pete@akeo.ie</a>>;
<a href="mailto:samer.el-haj-mahmoud@arm.com">samer.el-haj-mahmoud@arm.com</a> <<a href="mailto:samer.el-haj-mahmoud@arm.com">samer.el-haj-mahmoud@arm.com</a>>; Andrei Warkentin <<a href="mailto:awarkentin@vmware.com">awarkentin@vmware.com</a>>; Jeremy Linton
 <<a href="mailto:jeremy.linton@arm.com">jeremy.linton@arm.com</a>><br>
<b>Subject:</b> [PATCH 2/3] Platform/RaspberryPi/AcpiTables: Add further named components</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Add some additional IORT nodes for the USB & EMMC devices, realistically<br>
we probably only need to have a single node with the lowest AddressSizeLimit<br>
but this is conceptually "cleaner" should anyone actually try and use these<br>
values rather than the _DMA provided ones.<br>
<br>
Signed-off-by: Jeremy Linton <<a href="mailto:jeremy.linton@arm.com">jeremy.linton@arm.com</a>><br>
---<br>
 Platform/RaspberryPi/AcpiTables/Iort.aslc | 44 ++++++++++++++++++++++++++++++-<br>
 1 file changed, 43 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/Platform/RaspberryPi/AcpiTables/Iort.aslc b/Platform/RaspberryPi/AcpiTables/Iort.aslc<br>
index 00720194bb..810307ae37 100644<br>
--- a/Platform/RaspberryPi/AcpiTables/Iort.aslc<br>
+++ b/Platform/RaspberryPi/AcpiTables/Iort.aslc<br>
@@ -20,6 +20,8 @@ typedef struct {<br>
 typedef struct {<br>
<br>
   EFI_ACPI_6_0_IO_REMAPPING_TABLE      Iort;<br>
<br>
   RPI4_NC_NODE                         NamedCompNode;<br>
<br>
+  RPI4_NC_NODE                         NamedCompNode2;<br>
<br>
+  RPI4_NC_NODE                         NamedCompNode3;<br>
<br>
 } RPI4_IO_REMAPPING_STRUCTURE;<br>
<br>
 <br>
<br>
 STATIC RPI4_IO_REMAPPING_STRUCTURE Iort = {<br>
<br>
@@ -27,7 +29,7 @@ STATIC RPI4_IO_REMAPPING_STRUCTURE Iort = {<br>
     ACPI_HEADER (EFI_ACPI_6_0_IO_REMAPPING_TABLE_SIGNATURE,<br>
<br>
                  RPI4_IO_REMAPPING_STRUCTURE,<br>
<br>
                  EFI_ACPI_IO_REMAPPING_TABLE_REVISION),<br>
<br>
-    1,                                              // NumNodes<br>
<br>
+    3,                                              // NumNodes<br>
<br>
     sizeof (EFI_ACPI_6_0_IO_REMAPPING_TABLE),       // NodeOffset<br>
<br>
     0                                               // Reserved<br>
<br>
   }, {<br>
<br>
@@ -50,6 +52,46 @@ STATIC RPI4_IO_REMAPPING_STRUCTURE Iort = {<br>
     }, {<br>
<br>
       "<a href="file://_SB_.SCB0.XHC0">\\_SB_.SCB0.XHC0</a>"                            // ObjectName<br>
<br>
     }<br>
<br>
+  }, {<br>
<br>
+    // gpu/dwc usb named component node<br>
<br>
+    {<br>
<br>
+      {<br>
<br>
+        EFI_ACPI_IORT_TYPE_NAMED_COMP,              // Type<br>
<br>
+        sizeof (RPI4_NC_NODE),                      // Length<br>
<br>
+        0x0,                                        // Revision<br>
<br>
+        0x0,                                        // Reserved<br>
<br>
+        0x0,                                        // NumIdMappings<br>
<br>
+        0x0,                                        // IdReference<br>
<br>
+      },<br>
<br>
+      0x0,                                          // Flags<br>
<br>
+      0x0,                                          // CacheCoherent<br>
<br>
+      0x0,                                          // AllocationHints<br>
<br>
+      0x0,                                          // Reserved<br>
<br>
+      0x0,                                          // MemoryAccessFlags<br>
<br>
+      30,                                           // AddressSizeLimit<br>
<br>
+    }, {<br>
<br>
+      "<a href="file://_SB_.GDV0.USB0">\\_SB_.GDV0.USB0</a>"                            // ObjectName<br>
<br>
+    }<br>
<br>
+  }, {<br>
<br>
+    // emmc2 named component node<br>
<br>
+    {<br>
<br>
+      {<br>
<br>
+        EFI_ACPI_IORT_TYPE_NAMED_COMP,              // Type<br>
<br>
+        sizeof (RPI4_NC_NODE),                      // Length<br>
<br>
+        0x0,                                        // Revision<br>
<br>
+        0x0,                                        // Reserved<br>
<br>
+        0x0,                                        // NumIdMappings<br>
<br>
+        0x0,                                        // IdReference<br>
<br>
+      },<br>
<br>
+      0x0,                                          // Flags<br>
<br>
+      0x0,                                          // CacheCoherent<br>
<br>
+      0x0,                                          // AllocationHints<br>
<br>
+      0x0,                                          // Reserved<br>
<br>
+      0x0,                                          // MemoryAccessFlags<br>
<br>
+      30,                                           // AddressSizeLimit<br>
<br>
+    }, {<br>
<br>
+      "<a href="file://_SB_.GDV1.SDC3">\\_SB_.GDV1.SDC3</a>"                            // ObjectName<br>
<br>
+    }<br>
<br>
   }<br>
<br>
 };<br>
<br>
 <br>
<br>
-- <br>
2.13.7<o:p></o:p></p>
</div>
</div>
</div>
</div>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose,
 or store or copy the information in any medium. Thank you.
</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/74893">View/Reply Online (#74893)</a> |    |  <a target="_blank" href="https://groups.io/mt/81935644/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>