[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/3] hw/pci: PCI resource reserve capability
From: |
Jing Liu |
Subject: |
[Qemu-devel] [PATCH v2 0/3] hw/pci: PCI resource reserve capability |
Date: |
Thu, 16 Aug 2018 17:28:13 +0800 |
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().
Then we add the teardown function called pci_bridge_qemu_reserve_cap_uninit().
Last we enable the resource reserve capability for legacy PCI bridge
so that firmware can reserve additional resources for the bridge.
Change Log:
v2 -> v1
* add refactoring patch
* add teardown function
* some other fixes
Jing Liu (3):
hw/pci: factor PCI reserve resources to a separate structure
hw/pci: add teardown function for PCI resource reserve capability
hw/pci: add PCI resource reserve capability to legacy PCI bridge
hw/pci-bridge/gen_pcie_root_port.c | 32 +++++++++++++-------------
hw/pci-bridge/pci_bridge_dev.c | 25 ++++++++++++++++++++
hw/pci/pci_bridge.c | 47 +++++++++++++++++++++-----------------
include/hw/pci/pci_bridge.h | 18 +++++++++++----
4 files changed, 80 insertions(+), 42 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH v2 0/3] hw/pci: PCI resource reserve capability,
Jing Liu <=
[Qemu-devel] [PATCH v2 3/3] hw/pci: add PCI resource reserve capability to legacy PCI bridge, Jing Liu, 2018/08/16