qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC v2 0/1] pci_expander_brdige:acpi:Support pxb-pcie for ARM
@ 2020-02-17 11:18 Yubo Miao
  2020-02-17 11:18 ` [RFC v2 1/1] arm: acpi: pci-expender-bus: Make arm to support PXB-PCIE Yubo Miao
  0 siblings, 1 reply; 4+ messages in thread
From: Yubo Miao @ 2020-02-17 11:18 UTC (permalink / raw)
  To: peter.maydell, shannon.zhaosl
  Cc: imammedo, miaoyubo, qemu-devel, xiexiangyou, mst

From: miaoyubo <miaoyubo@huawei.com>

Currently pxb-pcie is not supported by arm and only one
main host bridge is described in acpi tables, which means
it is not impossible to present different io numas for different
devices. This series of patches make arm to support PXB-PCIE.

Users can configure pxb-pcie with certain numa, Example command
is:

   -device pxb-pcie,id=pci.7,bus_nr=128,numa_node=0,bus=pcie.0,addr=0x9

Since devices could not be plugged into pxb-pcie directly,pcie-root-port
or pci-bridge should be defined and plugged on pxb-pcie, then the device
could be plugged onto the pcie-root-port or pci-bridge. 

With the patches,io numa could be presented to the guest by define a pxb-pcie
with the numa and plug the device on it.

miaoyubo (1):
  arm: acpi: pci-expender-bus: Make arm to support PXB-PCIE

 hw/arm/virt-acpi-build.c | 240 +++++++++++++++++++++++++++++----------
 hw/pci-host/gpex.c       |   4 +
 include/hw/arm/virt.h    |   1 +
 3 files changed, 184 insertions(+), 61 deletions(-)

-- 
2.19.1




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-02-18  7:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-17 11:18 [RFC v2 0/1] pci_expander_brdige:acpi:Support pxb-pcie for ARM Yubo Miao
2020-02-17 11:18 ` [RFC v2 1/1] arm: acpi: pci-expender-bus: Make arm to support PXB-PCIE Yubo Miao
2020-02-17 13:08   ` Michael S. Tsirkin
2020-02-18  7:25     ` miaoyubo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).