Skip to content

acpi: Some fixes for pxb support for ARM virt machine

Jiahui Cen qemu-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 0 repliesNew
  2. v48 patches 6 repliesSuperseded
  3. v38 patches 17 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v26 patches0 repliesSuperseded

Changes in v5 from the cover letter

* Modify commit logs of patch [2/8] and [8/8] which confuse git-am.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8acpi: Allow DSDT acpi table changestests/qtest/bios-tables-test-allowed-diff.h+5 -00 replies
2/8acpi: Fix unmatched expected DSDT.pxb filetests/data/acpi/virt/DSDT.pxb+0 -00 replies
3/8acpi: Add addr offset in build_crshw/acpi/aml-build.c hw/i386/acpi-build.c hw/pci-host/gpex-acpi.c +1 more+17 -110 replies
4/8acpi/gpex: Inform os to keep firmware resource maphw/pci-host/gpex-acpi.c+18 -20 replies
5/8acpi/gpex: Exclude pxb's resources from PCI0hw/pci-host/gpex-acpi.c+43 -210 replies
6/8Kconfig: Compile PXB for ARM_VIRThw/pci-bridge/Kconfig+1 -10 replies
7/8acpi: Enable pxb unit-test for ARM virt machinetests/qtest/bios-tables-test.c+0 -40 replies
8/8acpi: Update _DSM method in expected filestests/data/acpi/microvm/DSDT.pcie tests/data/acpi/virt/DSDT tests/data/acpi/virt/DSDT.memhp +3 more+0 -50 replies

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchIgor Mammedov
SeriesA-b
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b
8/8A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/8] acpi: Some fixes for pxb support for ARM virt machine

This patch series adds some fixes for ARM virt machine pxb support.
1. Pass addr offset for IO, MMIO and bus number when builing crs, because the addr_trans is needed to describe an addr resource. [1]
2. Inform guest os not to ignore the resource map generated by firmware as the x86 default way. [2]
3. Enable pxb for ARM virt machine by default.
4. Update expected DSDT files with the above changes and enable the pxb unit-test.

v4->v5:
* Modify commit logs of patch [2/8] and [8/8] which confuse git-am.

v3->v4:
* Separate the patch of ordering root buses for further discussion. [3]

v2->v3:
* Reorder the root bridges.
* Exclude resources of extra root bridges from main root bridge's _CRS.

v1->v2:
* Update expected DSDT files.
* Quote PCI Firmware spec as comments.

[1]: https://lore.kernel.org/qemu-devel/[email protected]/
[2]: https://lore.kernel.org/qemu-devel/[email protected]/
[3]: https://lore.kernel.org/qemu-devel/[email protected]/

Jiahui Cen (8):
acpi: Allow DSDT acpi table changes
acpi: Fix unmatched expected DSDT.pxb file
acpi: Add addr offset in build_crs acpi/gpex: Inform os to keep firmware resource map acpi/gpex: Exclude pxb's resources from PCI0
Kconfig: Compile PXB for ARM_VIRT
acpi: Enable pxb unit-test for ARM virt machine
acpi: Update _DSM method in expected files

 hw/acpi/aml-build.c               |  18 ++--
 hw/i386/acpi-build.c              |   3 +-
 hw/pci-bridge/Kconfig             |   2 +-
 hw/pci-host/gpex-acpi.c           |  87 ++++++++++++++------
 include/hw/acpi/aml-build.h       |   4 +-
 tests/data/acpi/microvm/DSDT.pcie | Bin 3023 -> 3031 bytes
 tests/data/acpi/virt/DSDT         | Bin 5196 -> 5204 bytes
 tests/data/acpi/virt/DSDT.memhp   | Bin 6557 -> 6565 bytes
 tests/data/acpi/virt/DSDT.numamem | Bin 5196 -> 5204 bytes
 tests/data/acpi/virt/DSDT.pxb     | Bin 7802 -> 7689 bytes
 tests/qtest/bios-tables-test.c    |   4 -
 11 files changed, 79 insertions(+), 39 deletions(-)
Signature · 1 line
2.29.2