You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/isa
Igor Mammedov 4fd75ce076 acpi: x86: move RPQx field back to _SB scope
Commit 47a373faa6 (acpi: pc/q35: drop ad-hoc PCI-ISA bridge AML routines and let bus ennumeration generate AML)
moved ISA bridge AML generation to respective devices and was using
aml_alias() to provide PRQx fields in _SB. scope. However, it turned
out that SeaBIOS was not able to process Alias opcode when parsing DSDT,
resulting in lack of keyboard during boot (SeaBIOS console, grub, FreeDOS).

While fix for SeaBIOS is posted
  https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/RGPL7HESH5U5JRLEO6FP77CZVHZK5J65/
fixed SeaBIOS might not make into QEMU-7.2 in time.
Hence this workaround that puts PRQx back into _SB scope
and gets rid of aliases in ISA bridge description, so
DSDT will be parsable by broken SeaBIOS.

That brings back hardcoded references to ISA bridge
  PCI0.S08.P40C/PCI0.SF8.PIRQ
where middle part now is auto generated based on slot it's
plugged in, but it should be fine as bridge initialization
also hardcodes PCI address of the bridge so it can't ever
move. Once QEMU tree has fixed SeaBIOS blob, we should be able
to drop this part and revert back to alias based approach

Reported-by: Volker Rümelin <vr_qemu@t-online.de>
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20221121153613.3972225-3-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2 years ago
..
Kconfig hw/isa/Kconfig: Fix dependencies of piix4 southbridge 2 years ago
apm.c nomaintainer: Fix Lesser GPL version number 4 years ago
i82378.c prep: Fix Lesser GPL version number 4 years ago
isa-bus.c isa-bus: drop no longer used ISADeviceClass::build_aml 2 years ago
isa-superio.c Do not include sysemu/sysemu.h if it's not really necessary 4 years ago
lpc_ich9.c acpi: x86: move RPQx field back to _SB scope 2 years ago
meson.build meson: convert hw/isa 4 years ago
pc87312.c pc87312: Rename TYPE_PC87312_SUPERIO to TYPE_PC87312 4 years ago
piix3.c acpi: x86: move RPQx field back to _SB scope 2 years ago
piix4.c hw/isa/piix4: Move pci_ide_create_devs() call to board code 2 years ago
smc37c669-superio.c hw/isa/superio: Correct the license text 5 years ago
trace-events docs: fix references to docs/devel/tracing.rst 4 years ago
trace.h trace: switch position of headers to what Meson requires 4 years ago
vt82c686.c hw/isa/vt82c686: Create rtc-time alias in boards instead 2 years ago