<p>Marc Jones has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28256">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">x86/acpi: Update MADT table version<br><br>Update the MADT table version to sync with the FADT table version.<br>All current coreboot FADT tables are set to ACPI_FADT_REV_ACPI_3_0<br>and the MADT should be set to match.<br><br>This error was found by running FWTS:<br>FAILED [MEDIUM] SPECMADTFADTRevisions: Test 2, MADT revision is not in sync with<br>the FADT revision; MADT 1 expects FADT 3.0 but found 4.0 instead.<br><br>The test report is a little confusing due to the revision index<br>not matching the ACPI spec versions.<br><br>BUG=b:112476331<br>TEST-Run FWTS<br><br>Change-Id: If5ef53794ff80dd21f13c247d17c2a0e9f9068f2<br>Signed-off-by: Marc Jones <marcj303@gmail.com><br>---<br>M src/arch/x86/acpi.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/56/28256/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c</span><br><span>index 8d7579d..69e1e2f 100644</span><br><span>--- a/src/arch/x86/acpi.c</span><br><span>+++ b/src/arch/x86/acpi.c</span><br><span>@@ -218,7 +218,7 @@</span><br><span>      memcpy(header->asl_compiler_id, ASLC, 4);</span><br><span> </span><br><span>     header->length = sizeof(acpi_madt_t);</span><br><span style="color: hsl(0, 100%, 40%);">-        header->revision = 1; /* ACPI 1.0/2.0: 1, ACPI 3.0: 2, ACPI 4.0: 3 */</span><br><span style="color: hsl(120, 100%, 40%);">+      header->revision = 2; /* ACPI 1.0/2.0: 1, ACPI 3.0: 2, ACPI 4.0: 3 */</span><br><span> </span><br><span>         madt->lapic_addr = LOCAL_APIC_ADDR;</span><br><span>       madt->flags = 0x1; /* PCAT_COMPAT */</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28256">change 28256</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/28256"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: If5ef53794ff80dd21f13c247d17c2a0e9f9068f2 </div>
<div style="display:none"> Gerrit-Change-Number: 28256 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Marc Jones <marc@marcjonesconsulting.com> </div>