qemu/hw/isa
Bernhard Beschow 35a6380b4e hw/isa/vt82c686: Implement relocation and toggling of SuperI/O functions
The VIA south bridges are able to relocate and toggle (enable or disable) their
SuperI/O functions. So far this is hardcoded such that all functions are always
enabled and are located at fixed addresses.

Some PC BIOSes seem to probe for I/O occupancy before activating such a function
and issue an error in case of a conflict. Since the functions are currently
enabled on reset, conflicts are always detected. Prevent that by implementing
relocation and toggling of the SuperI/O functions.

Note that all SuperI/O functions are now deactivated upon reset (except for
VT82C686B's serial ports where Fuloong 2e's rescue-yl seems to expect them to be
enabled by default). Rely on firmware to configure the functions accordingly.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <20240114123911.4877-12-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-02-14 06:09:32 -05:00
..
apm.c hw/isa: Constify VMState 2023-12-29 11:17:30 +11:00
i82378.c hw/isa: Constify VMState 2023-12-29 11:17:30 +11:00
isa-bus.c hw/isa: Realize ISA bridge device before accessing it 2023-10-19 23:13:28 +02:00
isa-superio.c hw/char/parallel-isa: Export struct ISAParallelState 2023-06-13 11:28:58 +02:00
Kconfig hw/isa/piix3: Merge hw/isa/piix4.c 2023-10-22 05:18:17 -04:00
lpc_ich9.c hw/isa: Constify VMState 2023-12-29 11:17:30 +11:00
meson.build hw/isa/piix3: Merge hw/isa/piix4.c 2023-10-22 05:18:17 -04:00
pc87312.c hw/isa: Constify VMState 2023-12-29 11:17:30 +11:00
piix.c hw/isa: Constify VMState 2023-12-29 11:17:30 +11:00
smc37c669-superio.c hw/isa/superio: Correct the license text 2020-04-01 19:00:16 +02:00
trace-events hw/audio/via-ac97: Basic implementation of audio playback 2023-03-08 00:37:48 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
vt82c686.c hw/isa/vt82c686: Implement relocation and toggling of SuperI/O functions 2024-02-14 06:09:32 -05:00