aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/vhost-user-input-pci.c
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2024-01-14 13:39:11 +0100
committerMichael S. Tsirkin <mst@redhat.com>2024-02-14 06:09:32 -0500
commit35a6380b4ed27f8355330b1fb0918b20c728d30e (patch)
tree99be38aee5cb18cc25614f478a1520cfea9e564f /hw/virtio/vhost-user-input-pci.c
parent79a7f53065abea95b33e2212dcfb58e1de4be479 (diff)
downloadqemu-35a6380b4ed27f8355330b1fb0918b20c728d30e.zip
qemu-35a6380b4ed27f8355330b1fb0918b20c728d30e.tar.gz
qemu-35a6380b4ed27f8355330b1fb0918b20c728d30e.tar.bz2
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>
Diffstat (limited to 'hw/virtio/vhost-user-input-pci.c')
0 files changed, 0 insertions, 0 deletions