hw/pci: PCI resource reserve capability
v3 cover hw/pci: PCI resource reserve capability
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(-)
Signature · 1 line
1.8.3.1
PATCH v3 1/2 hw/pci: factor PCI reserve resources to a separate structure
Factor "bus_reserve", "io_reserve", "mem_reserve", "pref32_reserve" and "pref64_reserve" fields of the "GenPCIERootPort" structure out to "PCIResReserve" structure, so that other PCI bridges can reuse it to add resource reserve capability.
--- hw/pci-bridge/gen_pcie_root_port.c | 33 +++++++++++++++++---------------- hw/pci/pci_bridge.c | 38 +++++++++++++++++--------------------- include/hw/pci/pci_bridge.h | 18 +++++++++++++----- 3 files changed, 47 insertions(+), 42 deletions(-)
hw/pci-bridge/gen_pcie_root_port.c +17 -16
@@ -29,12 +29,8 @@ typedef struct GenPCIERootPort {bool migrate_msix; -/* additional resources to reserve on firmware init */ -uint32_t bus_reserve; -uint64_t io_reserve; -uint64_t mem_reserve; -uint64_t pref32_reserve; -uint64_t pref64_reserve; +/* additional resources to reserve */ +PCIResReserve res_reserve; } GenPCIERootPort;static uint8_t gen_rp_aer_vector (const PCIDevice *d)
@@ -82,16 +78,15 @@ static void gen_rp_realize(DeviceState *dev, Error **errp)return ; } -int rc =pci_bridge_qemu_reserve_cap_init (d,0 , grp->bus_reserve, - grp->io_reserve, grp->mem_reserve, grp->pref32_reserve, - grp->pref64_reserve, errp); +int rc =pci_bridge_qemu_reserve_cap_init (d,0 , + grp->res_reserve, errp);if (rc <0 ) { rpc->parent_class.exit (d);return ; } -if (!grp->io_reserve) { +if (!grp->res_reserve.io) {pci_word_test_and_clear_mask (d->wmask +PCI_COMMAND ,PCI_COMMAND_IO ); d->wmask[PCI_IO_BASE ] =0 ;
@@ -117,12 +112,18 @@ static const VMStateDescription vmstate_rp_dev = { };static Property gen_rp_props[] = { -DEFINE_PROP_BOOL ("x-migrate-msix" , GenPCIERootPort, migrate_msix, true), -DEFINE_PROP_UINT32 ("bus-reserve" , GenPCIERootPort, bus_reserve,-1 ), -DEFINE_PROP_SIZE ("io-reserve" , GenPCIERootPort, io_reserve,-1 ), -DEFINE_PROP_SIZE ("mem-reserve" , GenPCIERootPort, mem_reserve,-1 ), -DEFINE_PROP_SIZE ("pref32-reserve" , GenPCIERootPort, pref32_reserve,-1 ), -DEFINE_PROP_SIZE ("pref64-reserve" , GenPCIERootPort, pref64_reserve,-1 ), +DEFINE_PROP_BOOL ("x-migrate-msix" , GenPCIERootPort, + migrate_msix, true), +DEFINE_PROP_UINT32 ("bus-reserve" , GenPCIERootPort, + res_reserve.bus,-1 ), +DEFINE_PROP_SIZE ("io-reserve" , GenPCIERootPort, + res_reserve.io,-1 ), +DEFINE_PROP_SIZE ("mem-reserve" , GenPCIERootPort, + res_reserve.mem_non_pref,-1 ), +DEFINE_PROP_SIZE ("pref32-reserve" , GenPCIERootPort, + res_reserve.mem_pref_32,-1 ), +DEFINE_PROP_SIZE ("pref64-reserve" , GenPCIERootPort, + res_reserve.mem_pref_64,-1 ),DEFINE_PROP_END_OF_LIST () };
hw/pci/pci_bridge.c +17 -21
@@ -411,38 +411,34 @@ void pci_bridge_map_irq(PCIBridge *br, const char* bus_name,int pci_bridge_qemu_reserve_cap_init (PCIDevice *dev,int cap_offset, -uint32_t bus_reserve,uint64_t io_reserve, -uint64_t mem_non_pref_reserve, -uint64_t mem_pref_32_reserve, -uint64_t mem_pref_64_reserve, -Error **errp) +PCIResReserve res_reserve,Error **errp) { -if (mem_pref_32_reserve != (uint64_t )-1 && - mem_pref_64_reserve != (uint64_t )-1 ) { +if (res_reserve.mem_pref_32 != (uint64_t )-1 && + res_reserve.mem_pref_64 != (uint64_t )-1 ) {error_setg (errp,"PCI resource reserve cap: PREF32 and PREF64 conflict" );return -EINVAL ; } -if (mem_non_pref_reserve != (uint64_t )-1 && - mem_non_pref_reserve >= (1ULL <<32 )) { +if (res_reserve.mem_non_pref != (uint64_t )-1 && + res_reserve.mem_non_pref >= (1ULL <<32 )) {error_setg (errp,"PCI resource reserve cap: mem-reserve must be less than 4G" );return -EINVAL ; } -if (mem_pref_32_reserve != (uint64_t )-1 && - mem_pref_32_reserve >= (1ULL <<32 )) { +if (res_reserve.mem_pref_32 != (uint64_t )-1 && + res_reserve.mem_pref_32 >= (1ULL <<32 )) {error_setg (errp,"PCI resource reserve cap: pref32-reserve must be less than 4G" );return -EINVAL ; } -if (bus_reserve == (uint32_t )-1 && - io_reserve == (uint64_t )-1 && - mem_non_pref_reserve == (uint64_t )-1 && - mem_pref_32_reserve == (uint64_t )-1 && - mem_pref_64_reserve == (uint64_t )-1 ) { +if (res_reserve.bus == (uint32_t )-1 && + res_reserve.io == (uint64_t )-1 && + res_reserve.mem_non_pref == (uint64_t )-1 && + res_reserve.mem_pref_32 == (uint64_t )-1 && + res_reserve.mem_pref_64 == (uint64_t )-1 ) {return 0 ; }
@@ -450,11 +446,11 @@ int pci_bridge_qemu_reserve_cap_init(PCIDevice *dev, int cap_offset,PCIBridgeQemuCap cap = { .len = cap_len, .type =REDHAT_PCI_CAP_RESOURCE_RESERVE , - .bus_res = bus_reserve, - .io = io_reserve, - .mem = mem_non_pref_reserve, - .mem_pref_32 = mem_pref_32_reserve, - .mem_pref_64 = mem_pref_64_reserve + .bus_res = res_reserve.bus, + .io = res_reserve.io, + .mem = res_reserve.mem_non_pref, + .mem_pref_32 = res_reserve.mem_pref_32, + .mem_pref_64 = res_reserve.mem_pref_64 }; int offset = pci_add_capability(dev, PCI_CAP_ID_VNDR,
include/hw/pci/pci_bridge.h +13 -5
@@ -133,11 +133,19 @@ typedef struct PCIBridgeQemuCap {#define REDHAT_PCI_CAP_RESOURCE_RESERVE 1 +/* +* PCI BUS/IO/MEM/PREFMEM additional resources recorded as a +* capability in PCI configuration space to reserve on firmware init. +*/ +typedef struct PCIResReserve { +uint32_t bus; +uint64_t io; +uint64_t mem_non_pref; +uint64_t mem_pref_32; +uint64_t mem_pref_64; +}PCIResReserve ; +int pci_bridge_qemu_reserve_cap_init (PCIDevice *dev,int cap_offset, -uint32_t bus_reserve,uint64_t io_reserve, -uint64_t mem_non_pref_reserve, -uint64_t mem_pref_32_reserve, -uint64_t mem_pref_64_reserve, -Error **errp); +PCIResReserve res_reserve,Error **errp);#endif /* QEMU_PCI_BRIDGE_H */
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH v3 1/2] hw/pci: factor PCI reserve resources to a separate structure
Quoted 167 lines · Jing Liu
Factor "
bus_reserve", "io_reserve", "mem_reserve", "pref32_reserve" and "pref64_reserve" fields of the "GenPCIERootPort" structure out to "PCIResReserve" structure, so that other PCI bridges can reuse it to add resource reserve capability.Signed-off-by Jing Liu <[email protected]>--- hw/pci-bridge/gen_pcie_root_port.c | 33 +++++++++++++++++---------------- hw/pci/pci_bridge.c | 38 +++++++++++++++++--------------------- include/hw/pci/pci_bridge.h | 18 +++++++++++++----- 3 files changed, 47 insertions(+), 42 deletions(-)hw/pci-bridge/gen_pcie_root_port.c +17
-16@@ -29,12 +29,8 @@ typedef struct GenPCIERootPort {bool migrate_msix; -/* additional resources to reserve on firmware init */ -uint32_t bus_reserve; -uint64_t io_reserve; -uint64_t mem_reserve; -uint64_t pref32_reserve; -uint64_t pref64_reserve; +/* additional resources to reserve */ +PCIResReserve res_reserve; } GenPCIERootPort;static uint8_t gen_rp_aer_vector (const PCIDevice *d)@@ -82,16 +78,15 @@ static void gen_rp_realize(DeviceState *dev, Error **errp)return ; } -int rc =pci_bridge_qemu_reserve_cap_init (d,0 , grp->bus_reserve, - grp->io_reserve, grp->mem_reserve, grp->pref32_reserve, - grp->pref64_reserve, errp); +int rc =pci_bridge_qemu_reserve_cap_init (d,0 , + grp->res_reserve, errp);if (rc <0 ) { rpc->parent_class.exit (d);return ; } -if (!grp->io_reserve) { +if (!grp->res_reserve.io) {pci_word_test_and_clear_mask (d->wmask +PCI_COMMAND ,PCI_COMMAND_IO ); d->wmask[PCI_IO_BASE ] =0 ;@@ -117,12 +112,18 @@ static const VMStateDescription vmstate_rp_dev = { };static Property gen_rp_props[] = { -DEFINE_PROP_BOOL ("x-migrate-msix" , GenPCIERootPort, migrate_msix, true), -DEFINE_PROP_UINT32 ("bus-reserve" , GenPCIERootPort, bus_reserve,-1 ), -DEFINE_PROP_SIZE ("io-reserve" , GenPCIERootPort, io_reserve,-1 ), -DEFINE_PROP_SIZE ("mem-reserve" , GenPCIERootPort, mem_reserve,-1 ), -DEFINE_PROP_SIZE ("pref32-reserve" , GenPCIERootPort, pref32_reserve,-1 ), -DEFINE_PROP_SIZE ("pref64-reserve" , GenPCIERootPort, pref64_reserve,-1 ), +DEFINE_PROP_BOOL ("x-migrate-msix" , GenPCIERootPort, + migrate_msix, true), +DEFINE_PROP_UINT32 ("bus-reserve" , GenPCIERootPort, + res_reserve.bus,-1 ), +DEFINE_PROP_SIZE ("io-reserve" , GenPCIERootPort, + res_reserve.io,-1 ), +DEFINE_PROP_SIZE ("mem-reserve" , GenPCIERootPort, + res_reserve.mem_non_pref,-1 ), +DEFINE_PROP_SIZE ("pref32-reserve" , GenPCIERootPort, + res_reserve.mem_pref_32,-1 ), +DEFINE_PROP_SIZE ("pref64-reserve" , GenPCIERootPort, + res_reserve.mem_pref_64,-1 ),DEFINE_PROP_END_OF_LIST () };hw/pci/pci_bridge.c +17
-21@@ -411,38 +411,34 @@ void pci_bridge_map_irq(PCIBridge *br, const char* bus_name,int pci_bridge_qemu_reserve_cap_init (PCIDevice *dev,int cap_offset, -uint32_t bus_reserve,uint64_t io_reserve, -uint64_t mem_non_pref_reserve, -uint64_t mem_pref_32_reserve, -uint64_t mem_pref_64_reserve, -Error **errp) +PCIResReserve res_reserve,Error **errp) { -if (mem_pref_32_reserve != (uint64_t )-1 && - mem_pref_64_reserve != (uint64_t )-1 ) { +if (res_reserve.mem_pref_32 != (uint64_t )-1 && + res_reserve.mem_pref_64 != (uint64_t )-1 ) {error_setg (errp,"PCI resource reserve cap: PREF32 and PREF64 conflict" );return -EINVAL ; } -if (mem_non_pref_reserve != (uint64_t )-1 && - mem_non_pref_reserve >= (1ULL <<32 )) { +if (res_reserve.mem_non_pref != (uint64_t )-1 && + res_reserve.mem_non_pref >= (1ULL <<32 )) {error_setg (errp,"PCI resource reserve cap: mem-reserve must be less than 4G" );return -EINVAL ; } -if (mem_pref_32_reserve != (uint64_t )-1 && - mem_pref_32_reserve >= (1ULL <<32 )) { +if (res_reserve.mem_pref_32 != (uint64_t )-1 && + res_reserve.mem_pref_32 >= (1ULL <<32 )) {error_setg (errp,"PCI resource reserve cap: pref32-reserve must be less than 4G" );return -EINVAL ; } -if (bus_reserve == (uint32_t )-1 && - io_reserve == (uint64_t )-1 && - mem_non_pref_reserve == (uint64_t )-1 && - mem_pref_32_reserve == (uint64_t )-1 && - mem_pref_64_reserve == (uint64_t )-1 ) { +if (res_reserve.bus == (uint32_t )-1 && + res_reserve.io == (uint64_t )-1 && + res_reserve.mem_non_pref == (uint64_t )-1 && + res_reserve.mem_pref_32 == (uint64_t )-1 && + res_reserve.mem_pref_64 == (uint64_t )-1 ) {return 0 ; }@@ -450,11 +446,11 @@ int pci_bridge_qemu_reserve_cap_init(PCIDevice *dev, int cap_offset,PCIBridgeQemuCap cap = { .len = cap_len, .type =REDHAT_PCI_CAP_RESOURCE_RESERVE , - .bus_res = bus_reserve, - .io = io_reserve, - .mem = mem_non_pref_reserve, - .mem_pref_32 = mem_pref_32_reserve, - .mem_pref_64 = mem_pref_64_reserve + .bus_res = res_reserve.bus, + .io = res_reserve.io, + .mem = res_reserve.mem_non_pref, + .mem_pref_32 = res_reserve.mem_pref_32, + .mem_pref_64 = res_reserve.mem_pref_64 }; int offset = pci_add_capability(dev, PCI_CAP_ID_VNDR,include/hw/pci/pci_bridge.h +11
-0@@ -133,11 +133,19 @@ typedef struct PCIBridgeQemuCap {#define REDHAT_PCI_CAP_RESOURCE_RESERVE 1 +/* +* PCI BUS/IO/MEM/PREFMEM additional resources recorded as a +* capability in PCI configuration space to reserve on firmware init. +*/ +typedef struct PCIResReserve { +uint32_t bus; +uint64_t io; +uint64_t mem_non_pref; +uint64_t mem_pref_32; +uint64_t mem_pref_64; +}PCIResReserve ;
include/hw/pci/pci_bridge.h typedef struct PCIBridgeQemuCap { · line 151
Quoted 10 lines
include/hw/pci/pci_bridge.h +2
-5+int pci_bridge_qemu_reserve_cap_init (PCIDevice *dev,int cap_offset, -uint32_t bus_reserve,uint64_t io_reserve, -uint64_t mem_non_pref_reserve, -uint64_t mem_pref_32_reserve, -uint64_t mem_pref_64_reserve, -Error **errp); +PCIResReserve res_reserve,Error **errp);#endif /* QEMU_PCI_BRIDGE_H */
Thanks,
Marcel
PATCH v3 2/2 hw/pci: add PCI resource reserve capability to legacy PCI bridge
In reply to Jing LiuAdd hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in pci_bridge_dev_exitfn.
--- hw/pci-bridge/pci_bridge_dev.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
hw/pci-bridge/pci_bridge_dev.c +24 -0
@@ -46,6 +46,9 @@ struct PCIBridgeDev {uint32_t flags;OnOffAuto msi; + +/* additional resources to reserve */ +PCIResReserve res_reserve; };typedef struct PCIBridgeDev PCIBridgeDev ;
@@ -95,6 +98,12 @@ static void pci_bridge_dev_realize(PCIDevice *dev, Error **errp)error_free (local_err); } + err =pci_bridge_qemu_reserve_cap_init (dev,0 , + bridge_dev->res_reserve, errp); +if (err) { + goto cap_error; + } +if (shpc_present (dev)) {/* TODO: spec recommends using 64 bit prefetcheable BAR. * Check whether that works well. */
@@ -103,6 +112,8 @@ static void pci_bridge_dev_realize(PCIDevice *dev, Error **errp) }return ; +cap_error: +msi_uninit (dev); msi_error:slotid_cap_cleanup (dev); slotid_error:
@@ -116,6 +127,8 @@ shpc_error:static void pci_bridge_dev_exitfn (PCIDevice *dev) {PCIBridgeDev *bridge_dev =PCI_BRIDGE_DEV (dev); + +pci_del_capability (dev,PCI_CAP_ID_VNDR ,sizeof (PCIBridgeQemuCap));if (msi_present (dev)) {msi_uninit (dev); }
@@ -162,6 +175,17 @@ static Property pci_bridge_dev_properties[] = { ON_OFF_AUTO_AUTO),DEFINE_PROP_BIT (PCI_BRIDGE_DEV_PROP_SHPC , PCIBridgeDev, flags,PCI_BRIDGE_DEV_F_SHPC_REQ , true), +DEFINE_PROP_UINT32 ("bus-reserve" , PCIBridgeDev, + res_reserve.bus,-1 ), +DEFINE_PROP_SIZE ("io-reserve" , PCIBridgeDev, + res_reserve.io,-1 ), +DEFINE_PROP_SIZE ("mem-reserve" , PCIBridgeDev, + res_reserve.mem_non_pref,-1 ), +DEFINE_PROP_SIZE ("pref32-reserve" , PCIBridgeDev, + res_reserve.mem_pref_32,-1 ), +DEFINE_PROP_SIZE ("pref64-reserve" , PCIBridgeDev, + res_reserve.mem_pref_64,-1 ), + DEFINE_PROP_END_OF_LIST(), };
Signature · 1 line
1.8.3.1
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Quoted 62 lines · Jing Liu
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>--- hw/pci-bridge/pci_bridge_dev.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)hw/pci-bridge/pci_bridge_dev.c +17
-0@@ -46,6 +46,9 @@ struct PCIBridgeDev {uint32_t flags;OnOffAuto msi; + +/* additional resources to reserve */ +PCIResReserve res_reserve; };typedef struct PCIBridgeDev PCIBridgeDev ;@@ -95,6 +98,12 @@ static void pci_bridge_dev_realize(PCIDevice *dev, Error **errp)error_free (local_err); } + err =pci_bridge_qemu_reserve_cap_init (dev,0 , + bridge_dev->res_reserve, errp); +if (err) { + goto cap_error; + } +if (shpc_present (dev)) {/* TODO: spec recommends using 64 bit prefetcheable BAR. * Check whether that works well. */ @@ -103,6 +112,8 @@ static void pci_bridge_dev_realize(PCIDevice *dev, Error **errp) }return ; +cap_error: +msi_uninit (dev); msi_error:slotid_cap_cleanup (dev); slotid_error:@@ -116,6 +127,8 @@ shpc_error:static void pci_bridge_dev_exitfn (PCIDevice *dev) {PCIBridgeDev *bridge_dev =PCI_BRIDGE_DEV (dev); + +pci_del_capability (dev,PCI_CAP_ID_VNDR ,sizeof (PCIBridgeQemuCap));if (msi_present (dev)) {msi_uninit (dev); }@@ -162,6 +175,17 @@ static Property pci_bridge_dev_properties[] = { ON_OFF_AUTO_AUTO),DEFINE_PROP_BIT (PCI_BRIDGE_DEV_PROP_SHPC , PCIBridgeDev, flags,PCI_BRIDGE_DEV_F_SHPC_REQ , true), +DEFINE_PROP_UINT32 ("bus-reserve" , PCIBridgeDev, + res_reserve.bus,-1 ), +DEFINE_PROP_SIZE ("io-reserve" , PCIBridgeDev, + res_reserve.io, -1),
hw/pci-bridge/pci_bridge_dev.c static Property pci_bridge_dev_properties[] = { · line 191
Quoted 10 lines
hw/pci-bridge/pci_bridge_dev.c +7
-0+DEFINE_PROP_SIZE ("mem-reserve" , PCIBridgeDev, + res_reserve.mem_non_pref,-1 ), +DEFINE_PROP_SIZE ("pref32-reserve" , PCIBridgeDev, + res_reserve.mem_pref_32,-1 ), +DEFINE_PROP_SIZE ("pref64-reserve" , PCIBridgeDev, + res_reserve.mem_pref_64,-1 ), + DEFINE_PROP_END_OF_LIST(), };
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Hi Marcel,
Quoted 12 lines · Marcel Apfelbaum
Quoted 9 lines · Jing Liu
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)
[...]
Quoted 3 lines
Reviewed-by Marcel Apfelbaum<[email protected]>
Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?
Thanks,
Jing
Quoted 3 lines
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Hi Jing,
Quoted 15 lines · On 08/22/2018 04:53 AM, Liu, Jing2 wrote:
Hi Marcel,
Quoted 7 lines · Marcel Apfelbaum
Quoted 4 lines · Jing Liu
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Quoted 5 lines
Quoted 5 lines
Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)
Quoted 8 lines
[...]
Quoted 3 lines
Reviewed-by Marcel Apfelbaum<[email protected]>Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?
You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
Thanks,
Marcel
Quoted 6 lines
Thanks,
JingQuoted 3 lines
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Hi Marcel,
Quoted 22 lines · Marcel Apfelbaum
Hi Jing,
Quoted 19 lines · On 08/22/2018 04:53 AM, Liu, Jing2 wrote:
Hi Marcel,
Quoted 12 lines · Marcel Apfelbaum
Quoted 9 lines · Jing Liu
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)[...]
Quoted 3 lines
Reviewed-by Marcel Apfelbaum<[email protected]>
Quoted 8 lines
Quoted 4 lines
Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
OK, got it! Thanks!
BTW, do you have some suggestion on the seabios counterpart patches?
https://patchew.org/Seabios/[email protected]/
Jing
Quoted 11 lines
Thanks,
MarcelQuoted 6 lines
Thanks,
JingQuoted 3 lines
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Hi Jing,
Quoted 30 lines · On 08/24/2018 05:27 AM, Liu, Jing2 wrote:
Hi Marcel,
Quoted 27 lines · Marcel Apfelbaum
Hi Jing,
Quoted 23 lines · On 08/22/2018 04:53 AM, Liu, Jing2 wrote:
Hi Marcel,
Quoted 12 lines · Marcel Apfelbaum
Quoted 9 lines · Jing Liu
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)[...]
Quoted 3 lines
Reviewed-by Marcel Apfelbaum<[email protected]>Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?
Quoted 4 lines
Quoted 3 lines
You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
OK, got it! Thanks!
Please ping Michael if your code is not merged in a week or so.
Quoted 3 lines
BTW, do you have some suggestion on the seabios counterpart patches?
https://patchew.org/Seabios/[email protected]/
I plan to have a look this weekend.
Thanks,
Marcel
Quoted 12 lines
Jing
Quoted 11 lines
Thanks,
MarcelQuoted 6 lines
Thanks,
JingQuoted 3 lines
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Hi Marcel,
Quoted 19 lines · Marcel Apfelbaum
Quoted 19 lines
Quoted 19 lines
Quoted 18 lines
Quoted 10 lines · Jing Liu
Quoted 9 lines
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)[...]
Quoted 3 lines
Reviewed-by Marcel Apfelbaum<[email protected]>Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
OK, got it! Thanks!
Please ping Michael if your code is not merged in a week or so.
Got it, I will check by "git pull" to see if master branch has that.
Quoted 6 lines
Quoted 3 lines
BTW, do you have some suggestion on the seabios counterpart patches?
https://patchew.org/Seabios/[email protected]/I plan to have a look this weekend.
Glad to see your comments!
Thanks very much,
Jing
Quoted 17 lines
Thanks,
MarcelQuoted 12 lines
Jing
Quoted 11 lines
Thanks,
MarcelQuoted 6 lines
Thanks,
JingQuoted 3 lines
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
In reply to Marcel ApfelbaumPing Michael :)
Thanks,
Jing
Quoted 9 lines · Marcel Apfelbaum
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines · Jing Liu
Quoted 8 lines
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)
[...]
Quoted 22 lines
Quoted 11 lines
Quoted 10 lines
Quoted 6 lines
Quoted 2 lines
Reviewed-by Marcel Apfelbaum<[email protected]>Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
OK, got it! Thanks!
Please ping Michael if your code is not merged in a week or so.
Quoted 3 lines
BTW, do you have some suggestion on the seabios counterpart patches?
https://patchew.org/Seabios/[email protected]/I plan to have a look this weekend.
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Hi Marcel and Michael,
Got no response so I would like to ask if I need do something more for this serial? :)
Thanks,
Jing
Quoted 39 lines · On 8/30/2018 10:58 AM, Liu, Jing2 wrote:
Ping Michael :)
Thanks,
JingQuoted 9 lines · Marcel Apfelbaum
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines · Jing Liu
Quoted 8 lines
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)[...]
Quoted 22 lines
Quoted 11 lines
Quoted 10 lines
Quoted 6 lines
Quoted 2 lines
Reviewed-by Marcel Apfelbaum<[email protected]>Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
OK, got it! Thanks!
Please ping Michael if your code is not merged in a week or so.
Quoted 3 lines
BTW, do you have some suggestion on the seabios counterpart patches?
https://patchew.org/Seabios/[email protected]/I plan to have a look this weekend.
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Quoted 5 lines · On 09/05/2018 05:08 AM, Liu, Jing2 wrote:
Hi Marcel and Michael,
Got no response so I would like to ask if I need do something more for this serial? :)
Hi Jing,
Maybe Michael is PTO, let's wait a few more days.
Michael, I can send a pull request for this series if you are busy. Thanks,
Marcel
Quoted 43 lines
Thanks,
JingQuoted 39 lines · On 8/30/2018 10:58 AM, Liu, Jing2 wrote:
Ping Michael :)
Thanks,
JingQuoted 9 lines · Marcel Apfelbaum
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines · Jing Liu
Quoted 8 lines
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)[...]
Quoted 22 lines
Quoted 11 lines
Quoted 10 lines
Quoted 6 lines
Quoted 2 lines
Reviewed-by Marcel Apfelbaum<[email protected]>Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
OK, got it! Thanks!
Please ping Michael if your code is not merged in a week or so.
Quoted 3 lines
BTW, do you have some suggestion on the seabios counterpart patches?
https://patchew.org/Seabios/[email protected]/I plan to have a look this weekend.
Thanks,
Marcel
Re: [Qemu-devel] [PATCH v3 2/2] hw/pci: add PCI resource reserve capability to legacy PCI bridge
Hi Marcle,
Quoted 5 lines · Marcel Apfelbaum
Quoted 2 lines · On 09/05/2018 05:08 AM, Liu, Jing2 wrote:
Hi Marcel and Michael,
Quoted 8 lines
Quoted 3 lines
Got no response so I would like to ask if I need do something more for this serial? :)
Hi Jing,
Maybe Michael is PTO, let's wait a few more days.
Thank you, I got it :)
BRs,
Jing
Quoted 49 lines
Michael, I can send a pull request for this series if you are busy. Thanks,
MarcelQuoted 43 lines
Thanks,
JingQuoted 39 lines · On 8/30/2018 10:58 AM, Liu, Jing2 wrote:
Ping Michael :)
Thanks,
JingQuoted 9 lines · Marcel Apfelbaum
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines · Jing Liu
Quoted 8 lines
Add hint to firmware (e.g. SeaBIOS) to reserve addtional BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the resource reserve capability deleting in
pci_bridge_dev_exitfn.Signed-off-by Jing Liu <[email protected]>---
hw/pci-bridge/pci_bridge_dev.c| 24 ++++++++++++++++++++++++1 file changed, 24 insertions(+)[...]
Quoted 22 lines
Quoted 11 lines
Quoted 10 lines
Quoted 6 lines
Quoted 2 lines
Reviewed-by Marcel Apfelbaum<[email protected]>Thanks for the quick reviewing and feedback.
So could I ask what I should do now, update a new version with your rb or just waiting for pushing, or else?You just need to wait until Michael adds the series to his next pull request. Nothing more to do.
OK, got it! Thanks!
Please ping Michael if your code is not merged in a week or so.
Quoted 3 lines
BTW, do you have some suggestion on the seabios counterpart patches?
https://patchew.org/Seabios/[email protected]/I plan to have a look this weekend.
Thanks,
Marcel