Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Support adding ACPI tables to early cpio archive for microcode patching #2679

Open
nagmat84 opened this issue Dec 13, 2024 · 0 comments
Labels
bug Our bugs

Comments

@nagmat84
Copy link

This enhancement ask to add an option to include patched ACPI tables into the early CPIO archive which Dracut currently already creates for microcode update.

Some BIOS/(U)EFI firmware report buggy ACPI tables to the operating system. The Linux kernel supports overriding those ACPI tables with a patched ACPI table very early in the boot process. The patched ACPI tables must be included in an uncompressed, early CPIO archive at the location /kernel/firmware/acpi/<name of table>.aml (see Kernel Documentation: Override ACPI Tables). This CPIO archive must be loaded by the kernel before any "actual" initramfs. In this respect, this early CPIO archive isn't much different from the CPIO archive for CPU microcode patching, it can even be the same.

An enhancement could looks as follows:

  1. Add a new command line option --acpi-tables <directory> or configuration option include_acpi_tables=<directory>
  2. When Dracut builds the early CPIO archive for microcode CPU updates, Dracut copies any *.aml file which it find in that directory into /kernel/firmware/acpi/ of the early CPIO archive.
@nagmat84 nagmat84 added the bug Our bugs label Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs
Projects
None yet
Development

No branches or pull requests

1 participant