[PATCH v4 0/3] hw/i386/acpi: Pre-compute the _PRT table

Ricardo Ribalda posted 3 patches 3 months, 1 week ago
There is a newer version of this series
hw/i386/acpi-build.c                 | 120 +++++----------------------
tests/data/acpi/x86/pc/DSDT          | Bin 6830 -> 8527 bytes
tests/data/acpi/x86/pc/DSDT.acpierst | Bin 6741 -> 8438 bytes
tests/data/acpi/x86/pc/DSDT.acpihmat | Bin 8155 -> 9852 bytes
tests/data/acpi/x86/pc/DSDT.bridge   | Bin 13701 -> 15398 bytes
tests/data/acpi/x86/pc/DSDT.cphp     | Bin 7294 -> 8991 bytes
tests/data/acpi/x86/pc/DSDT.dimmpxm  | Bin 8484 -> 10181 bytes
tests/data/acpi/x86/pc/DSDT.hpbridge | Bin 6781 -> 8478 bytes
tests/data/acpi/x86/pc/DSDT.hpbrroot | Bin 3337 -> 5034 bytes
tests/data/acpi/x86/pc/DSDT.ipmikcs  | Bin 6902 -> 8599 bytes
tests/data/acpi/x86/pc/DSDT.memhp    | Bin 8189 -> 9886 bytes
tests/data/acpi/x86/pc/DSDT.nohpet   | Bin 6688 -> 8385 bytes
tests/data/acpi/x86/pc/DSDT.numamem  | Bin 6836 -> 8533 bytes
tests/data/acpi/x86/pc/DSDT.roothp   | Bin 10623 -> 12320 bytes
tests/data/acpi/x86/q35/DSDT.cxl     | Bin 9714 -> 13148 bytes
tests/data/acpi/x86/q35/DSDT.viot    | Bin 9464 -> 14615 bytes
16 files changed, 22 insertions(+), 98 deletions(-)
[PATCH v4 0/3] hw/i386/acpi: Pre-compute the _PRT table
Posted by Ricardo Ribalda 3 months, 1 week ago
Today for x86 the _PRT() table is computed in runtime.
Under some configurations, computing the _PRT table can take more than
30 seconds and the ACPI timeout is violated.

This patchset modifies _PRT() to return a pre-computed table.

Changelog v3->v4 Thanks Igor:
- Add missing files to tests/qtest/bios-tables-test-allowed-diff.h

Changelog v2->v3 Thanks Michael:
- Code style
- Add cover letter

Ricardo Ribalda (3):
  tests/acpi: pc: allow DSDT acpi table changes
  hw/i386/acpi-build: Return a pre-computed _PRT table
  tests/acpi: pc: update golden masters for DSDT

 hw/i386/acpi-build.c                 | 120 +++++----------------------
 tests/data/acpi/x86/pc/DSDT          | Bin 6830 -> 8527 bytes
 tests/data/acpi/x86/pc/DSDT.acpierst | Bin 6741 -> 8438 bytes
 tests/data/acpi/x86/pc/DSDT.acpihmat | Bin 8155 -> 9852 bytes
 tests/data/acpi/x86/pc/DSDT.bridge   | Bin 13701 -> 15398 bytes
 tests/data/acpi/x86/pc/DSDT.cphp     | Bin 7294 -> 8991 bytes
 tests/data/acpi/x86/pc/DSDT.dimmpxm  | Bin 8484 -> 10181 bytes
 tests/data/acpi/x86/pc/DSDT.hpbridge | Bin 6781 -> 8478 bytes
 tests/data/acpi/x86/pc/DSDT.hpbrroot | Bin 3337 -> 5034 bytes
 tests/data/acpi/x86/pc/DSDT.ipmikcs  | Bin 6902 -> 8599 bytes
 tests/data/acpi/x86/pc/DSDT.memhp    | Bin 8189 -> 9886 bytes
 tests/data/acpi/x86/pc/DSDT.nohpet   | Bin 6688 -> 8385 bytes
 tests/data/acpi/x86/pc/DSDT.numamem  | Bin 6836 -> 8533 bytes
 tests/data/acpi/x86/pc/DSDT.roothp   | Bin 10623 -> 12320 bytes
 tests/data/acpi/x86/q35/DSDT.cxl     | Bin 9714 -> 13148 bytes
 tests/data/acpi/x86/q35/DSDT.viot    | Bin 9464 -> 14615 bytes
 16 files changed, 22 insertions(+), 98 deletions(-)

-- 
2.46.0.76.ge559c4bf1a-goog