[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PATCH v4 0/4] spapr_pci: DT field fixes and PCI DT node crea
From: |
Nikunj A Dadhania |
Subject: |
[Qemu-ppc] [PATCH v4 0/4] spapr_pci: DT field fixes and PCI DT node creation in QEMU |
Date: |
Thu, 7 May 2015 12:51:50 +0530 |
The patch series creates PCI device tree(DT) nodes in QEMU. The new
hotplug code needs the device node creation in QEMU. While during
boot, nodes were created in SLOF. It makes more sense to consolidate
the code to one place for better maintainability.
Based on David's spapr-next
https://github.com/dgibson/qemu/tree/spapr-next
Needs new slof.bin:
http://patchwork.ozlabs.org/patch/469303/
Also, patches for populating ibm,loc-code was getting very complicated
with use of RTAS/HCALL
Changelog V3:
* Dropped duplicate macro patches
* Squashed Michael's drc_index changes to enumeration patch
* Use common create routine for boottime and hotplug case
* Proper error handling not depending on g_assert
* Encode vfio loc-code if getting loc-code from host fails
Changelog V2:
* Fix device tree for 64-bit encoding
* Fix the class code, was failing xhci
* Remove macro duplication
* Fix DT fields generation for boot time device (Michael Roth)
Changelog v1:
* Correct indent problems reported by checkpatch(David Gibson)
* Declare sPAPRFDT structure as local (David Gibson)
* Re-arrange code to avoid multiple indentation (Alexey Kardashevskiy)
Nikunj A Dadhania (4):
spapr_pci: encode missing 64-bit memory address space
spapr_pci: encode class code including Prog IF register
spapr_pci: enumerate and add PCI device tree
spapr_pci: populate ibm,loc-code
hw/ppc/spapr_pci.c | 283 ++++++++++++++++++++++++++++++++++++++++++++---------
1 file changed, 238 insertions(+), 45 deletions(-)
--
1.8.3.1
- [Qemu-ppc] [PATCH v4 0/4] spapr_pci: DT field fixes and PCI DT node creation in QEMU,
Nikunj A Dadhania <=
- [Qemu-ppc] [PATCH v4 1/4] spapr_pci: encode missing 64-bit memory address space, Nikunj A Dadhania, 2015/05/07
- [Qemu-ppc] [PATCH v4 2/4] spapr_pci: encode class code including Prog IF register, Nikunj A Dadhania, 2015/05/07
- [Qemu-ppc] [PATCH v4 3/4] spapr_pci: enumerate and add PCI device tree, Nikunj A Dadhania, 2015/05/07
- [Qemu-ppc] [PATCH v4 4/4] spapr_pci: populate ibm,loc-code, Nikunj A Dadhania, 2015/05/07
- Re: [Qemu-ppc] [PATCH v4 4/4] spapr_pci: populate ibm,loc-code, Alexey Kardashevskiy, 2015/05/08
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v4 4/4] spapr_pci: populate ibm, loc-code, Nikunj A Dadhania, 2015/05/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v4 4/4] spapr_pci: populate ibm, loc-code, Alexey Kardashevskiy, 2015/05/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v4 4/4] spapr_pci: populate ibm, loc-code, Nikunj A Dadhania, 2015/05/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v4 4/4] spapr_pci: populate ibm, loc-code, Nikunj A Dadhania, 2015/05/19
- Re: [Qemu-ppc] [Qemu-devel] [PATCH v4 4/4] spapr_pci: populate ibm, loc-code, Alexey Kardashevskiy, 2015/05/19