emacs/var/elfeed/db/data/55/55fe47f7873a7a31e1975a19249c05a3fe1fa88a
2022-01-03 12:49:32 -06:00

1 line
3 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Hi all,</p> <p>I recently bought a Intel i5 11400 and paired it with an Aorus B560M from Gigabyte. It came with a UEFI/BIOS F3 and when I updated to the F6 (latest made for enabling Intel PTT by default for Windows 11) I found a bunch of ACPI table problems.</p> <p>&#x200B;</p> <p>The first one already was present in my F3 UEFI/BIOS and it&#39;s &quot;classic&quot;: FADT doesn&#39;t declare support for PCIe ASPM. Even with the BIOS/UEFI settings enabled, the table pass to the OS that the system doesn&#39;t support it. I don&#39;t know why. I know, though, that decompiling the FADT binary table to ASL (Acpi Source Language) let&#39;s me change that hex code to enable the support. Just need to recompile in the AML (binary - Acpi machine language).</p> <p>&#x200B;</p> <p>The second one is a bunch of errors from pointers in the early tables. I didn&#39;t even try to touch it (yet). From my new found knowledge, this is the basic structure of the tables, in loading order is:</p> <p>RSDP (Root table. Non-modifiable).XSDT (successor for the RSDT [acpi 1.0] with 64-bit support. Non-modifiable).FACP (alias for the FADT table. Indicates the power capabilities and call 3 other tables).MADT/APIC (I/O controllers), DSDT (i/o mappings) and multiple SSDT (dynamic or statics; complements of i/o mappings for specific devices for the DSDT table).</p> <p>&#x200B;</p> <p>My bet is that with windows 11, the tables got all messed up to cater to MS bullshit stuff. Since the kernel has an &quot;upgrade&quot; feature, I thought of correcting the tables and upgrading them in the UEFI. Has anyone done that? The following link will lead to the <a href="https://Kernel.org">Kernel.org</a> doc page that presents the function. I am still learning C, but I guess I could rewrite all the tables that I may &quot;upgrade&quot; to actually make them clean and ready for Linux with C and ASL.</p> <p><a href="https://www.kernel.org/doc/html/latest/admin-guide/acpi/initrd_table_override.html">https://www.kernel.org/doc/html/latest/admin-guide/acpi/initrd_table_override.html</a></p> <p>In suma: Has anyone here attempted to upgrade or use a substitute in the initramfs? Is there some resource for the procedure in Arch&#39;s Wiki that I missed, or outside the wiki? ACPI is in rev 6.1 and MS lobbies to keep things back in 2.0 still.</p> <p>EDIT: Adding some resources.</p> <p><a href="https://wiki.osdev.org/RSDP">https://wiki.osdev.org/RSDP</a> <a href="https://wiki.osdev.org/XSDT">https://wiki.osdev.org/XSDT</a> <a href="https://wiki.osdev.org/FADT">https://wiki.osdev.org/FADT</a> <a href="https://01.org/linux-acpi/documentation/overriding-dsdt">https://01.org/linux-acpi/documentation/overriding-dsdt</a></p> <p>&#x200B;</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Ohlav"> /u/Ohlav </a> <br/> <span><a href="https://www.reddit.com/r/archlinux/comments/q6texl/acpi_tables_upgrade_modification/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/archlinux/comments/q6texl/acpi_tables_upgrade_modification/">[comments]</a></span>