]> xenbits.xensource.com Git - xen.git/commit
vpci: add initial support for virtual PCI bus topology
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Thu, 23 May 2024 08:18:47 +0000 (10:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 23 May 2024 08:18:47 +0000 (10:18 +0200)
commitd6a7fd83039af36c28bd0ae2174f12c3888ce993
treec0d9b8b887abe2e96d6e0e86126de191983172f2
parent9c831e429c723749b64456ab725da974f74da9ca
vpci: add initial support for virtual PCI bus topology

Assign SBDF to the PCI devices being passed through with bus 0.
The resulting topology is where PCIe devices reside on the bus 0 of the
root complex itself (embedded endpoints).
This implementation is limited to 32 devices which are allowed on
a single PCI bus.

Please note, that at the moment only function 0 of a multifunction
device can be passed through.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Signed-off-by: Stewart Hildebrand <stewart.hildebrand@amd.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/Kconfig
xen/drivers/vpci/vpci.c
xen/include/xen/sched.h
xen/include/xen/vpci.h