Skip to content

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

Open
@nagmat84

Description

@nagmat84

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugOur bugs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions