]> xenbits.xensource.com Git - osstest/seabios.git/commit
pci: add mmconfig support
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 23 Mar 2020 14:59:11 +0000 (15:59 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 27 Mar 2020 07:32:45 +0000 (08:32 +0100)
commit6a3b59ab9c7dc00331c21346052dfa6a0df45aa3
treed969a64fc2528152c593f0a874d9ee5d9011a908
parent63a44aff7a6a2303ff1c03b6bfcfa6477943e60d
pci: add mmconfig support

Add support for pci config space access via mmconfig bar.  Enable for
qemu q35 chipset.  Main advantage is that we need only one instead of
two io operations per config space access, which translates to one
instead of two vmexits for virtualization.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-id: 20200323145911.22319-3-kraxel@redhat.com
src/fw/pciinit.c
src/hw/pci.c
src/hw/pci.h