VIA PM: Implement basic ACPI support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest5 patches 16 repliesIn review
- v31 patch 3 repliesSuperseded
- v21 patch 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 6 replies | Superseded |
Changes in v5 from the cover letter
* Implement software-based SMI triggering and handling of ACPI events based on v3
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | hw/isa/vt82c686: Respect SCI interrupt assignmenthw/ | +36 | 0 replies | |
| 2/5 | hw/isa/vt82c686: Add missing initialization of ACPI general purpose event registershw/ | +4 | 0 replies | |
| 3/5 | hw/isa/vt82c686: Reuse acpi_update_sci()hw/ | +2 | 7 replies | |
| 4/5 | hw/isa/vt82c686: Implement ACPI powerdownhw/ | +14 | 0 replies | |
| 5/5 | hw/isa/vt82c686: Implement software-based SMI triggeringhw/ | +87 | 3 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/5] VIA PM: Implement basic ACPI support
This series is part of my work to bring the VIA south bridges to the PC machine [1]. It implements missing ACPI functionality which ACPI-aware x86 guests expect for a smooth experience. The implementation is heavily inspired by PIIX4.
Further quirks are needed in order to use the VIA south bridges in the PC machine. These were deliberately left out for a future series. The idea for now is to get the device model in shape for adding support for it in SeaBIOS.
The series is structured as follows: The first patch fixes ACPI events to be signalled by SCI interrupts. The next three patches implement typical ACPI event handling. The last patch adds software-based SMI triggering which is the mechanism used in ACPI to transition the system into ACPI mode.
Testing done:
* make check
* make check-avocado
* `qemu-system-ppc -M pegasos2 \
-device ati-vga,romfile="" \
-cdrom morphos-3.18.iso \
-bios pegasos2.rom`[1] https://github.com/shentok/qemu/tree/pc-via
v5:
* Implement software-based SMI triggering and handling of ACPI events based on v3
v4:
* Alternative proposal (Zoltan)
v3: https://patchew.org/QEMU/[email protected]/
* Rename SCI irq attribute to sci_irq (Zoltan)
* Fix confusion about location of ACPI interrupt select register (Zoltan)
* Model SCI as named GPIO (Bernhard)
* Perform upcast via macro rather than sub structure selection (Bernhard)
v2:
* Introduce named constants for the ACPI interrupt select register at offset 0x42 (Phil)
Bernhard Beschow (5):
hw/isa/vt82c686: Respect SCI interrupt assignment hw/isa/vt82c686: Add missing initialization of ACPI general purpose
event registers
hw/isa/vt82c686: Reuse acpi_update_sci() hw/isa/vt82c686: Implement ACPI powerdown hw/isa/vt82c686: Implement software-based SMI triggering
hw/isa/vt82c686.c | 179 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 142 insertions(+), 37 deletions(-)
Signature · 1 line
2.42.0