qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/2] hw/pci: PCI resource reserve capability
@ 2018-08-21  3:18 Jing Liu
  2018-08-21  3:18 ` [Qemu-devel] [PATCH v3 1/2] hw/pci: factor PCI reserve resources to a separate structure Jing Liu
  2018-08-21  3:18 ` [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge Jing Liu
  0 siblings, 2 replies; 14+ messages in thread
From: Jing Liu @ 2018-08-21  3:18 UTC (permalink / raw)
  To: qemu-devel; +Cc: anthony.xu, mst, marcel.apfelbaum, lersek, pbonzini, Jing Liu

This patch serial is about PCI resource reserve capability.

First patch refactors the resource reserve fields in GenPCIERoorPort
structure out to another new structure, called "PCIResReserve". Modify
the parameter list of pci_bridge_qemu_reserve_cap_init().

Second patch enables the resource reserve capability for legacy PCI bridge
so that firmware can reserve additional resources for this bridge.

Change Logs:
v3 -> v2
* remove the teardown patch because only need pci_del_capability
* keep the names to be consistent with firmware counterpart
* some minor fixes

v2 -> v1
* add refactoring patch
* add teardown function
* some other fixes

Jing Liu (2):
  hw/pci: factor PCI reserve resources to a separate structure
  hw/pci: add PCI resource reserve capability to legacy PCI bridge

 hw/pci-bridge/gen_pcie_root_port.c | 33 +++++++++++++++++----------------
 hw/pci-bridge/pci_bridge_dev.c     | 24 ++++++++++++++++++++++++
 hw/pci/pci_bridge.c                | 38 +++++++++++++++++---------------------
 include/hw/pci/pci_bridge.h        | 18 +++++++++++++-----
 4 files changed, 71 insertions(+), 42 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2018-09-06  2:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21  3:18 [Qemu-devel] [PATCH v3 0/2] hw/pci: PCI resource reserve capability Jing Liu
2018-08-21  3:18 ` [Qemu-devel] [PATCH v3 1/2] hw/pci: factor PCI reserve resources to a separate structure Jing Liu
2018-08-21  9:55   ` Marcel Apfelbaum
2018-08-21  3:18 ` [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge Jing Liu
2018-08-21  9:59   ` Marcel Apfelbaum
2018-08-22  1:53     ` Liu, Jing2
2018-08-22  6:58       ` Marcel Apfelbaum
2018-08-24  2:27         ` Liu, Jing2
2018-08-24 16:51           ` Marcel Apfelbaum
2018-08-27  3:33             ` Liu, Jing2
2018-08-30  2:58             ` Liu, Jing2
2018-09-05  2:08               ` Liu, Jing2
2018-09-05 16:36                 ` Marcel Apfelbaum
2018-09-06  2:16                   ` Liu, Jing2

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).