OpenPIC refactoring and MSI support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | openpic: Remove unused codehw/ | +0 | 3 replies | |
| 2/19 | mpic: Unify numbering schemehw/ hw/ | +43 | 4 replies | |
| 3/19 | openpic: update to proper memory apihw/ | +48 | 0 replies | |
| 4/19 | openpic: combine mpic and openpic src handlershw/ | +5 | 0 replies | |
| 5/19 | openpic: Convert subregions to memory apihw/ | +61 | 0 replies | |
| 6/19 | openpic: combine mpic and openpic irq raise functionshw/ hw/ | +19 | 0 replies | |
| 7/19 | openpic: merge mpic and openpic timer handlinghw/ | +31 | 0 replies | |
| 8/19 | openpic: combine openpic and mpic reset functionshw/ | +42 | 0 replies | |
| 9/19 | openpic: unify memory api subregionshw/ | +56 | 0 replies | |
| 10/19 | openpic: remove unused type variablehw/ | +2 | 2 replies | |
| 11/19 | openpic: convert simple reg operations to builtin bitopshw/ | +36 | 0 replies | |
| 12/19 | openpic: rename openpic_t to OpenPICStatehw/ | +34 | 0 replies | |
| 13/19 | openpic: remove irq_outhw/ hw/ hw/ +1 more | +6 | 0 replies | |
| 14/19 | openpic: convert to qdevhw/ hw/ hw/ +1 more | +180 | 6 replies | |
| 15/19 | openpic: make brr1 model specifichw/ | +4 | 0 replies | |
| 16/19 | openpic: add Shared MSI supporthw/ | +130 | 6 replies | |
| 17/19 | PPC: e500: Add MSI supporthw/ | +23 | 0 replies | |
| 18/19 | PPC: e500: Declare pci bridge as bridgehw/ | +6 | 0 replies | |
| 19/19 | MSI-X: Fix endiannesshw/ | +2 | 1 reply |
Reviews trailers per patch
2 of 19 patches have a Reviewed-by or Acked-by.
| Patch | Andreas Färber | Hervé Poussineau | Michael S. Tsirkin |
|---|---|---|---|
| 1/19 | R-b | A-b | |
| 2/19 | |||
| 3/19 | |||
| 4/19 | |||
| 5/19 | |||
| 6/19 | |||
| 7/19 | |||
| 8/19 | |||
| 9/19 | |||
| 10/19 | |||
| 11/19 | |||
| 12/19 | |||
| 13/19 | |||
| 14/19 | |||
| 15/19 | |||
| 16/19 | |||
| 17/19 | |||
| 18/19 | |||
| 19/19 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH 00/19] OpenPIC refactoring and MSI support
The OpenPIC implemtation has been a sad piece of code in the QEMU tree for a long time now. It's ugly, doesn't stick to the coding style and misses out on a few of the recent infrastructure improvements.
This patch set is a first stab at moving the OpenPIC further towards maintainable code. It cleans up the OpenPIC/MPIC code duplication that was in there (MPIC is just an implementation of the OpenPIC spec, so the naming didn't make sense). It doesn't fully clean up everything yet.
While at it, this patch set also adds support for MSI(-X) to the MPC8544 variant of the OpenPIC. I have successfully tested MSI and MSI-X with ahci and virtio-net.
Please beware that savevm support is broken after this patch set. I have quite big doubts that saving a ppc vm works at all right now though, so let's just leave it broken for now and replace it with a new version that is going to be savevm based later.
Alex
Alexander Graf (19):
openpic: Remove unused code
mpic: Unify numbering scheme
openpic: update to proper memory api
openpic: combine mpic and openpic src handlers
openpic: Convert subregions to memory api
openpic: combine mpic and openpic irq raise functions
openpic: merge mpic and openpic timer handling
openpic: combine openpic and mpic reset functions
openpic: unify memory api subregions
openpic: remove unused type variable
openpic: convert simple reg operations to builtin bitops
openpic: rename openpic_t to OpenPICState
openpic: remove irq_out
openpic: convert to qdev
openpic: make brr1 model specific
openpic: add Shared MSI support
PPC: e500: Add MSI support
PPC: e500: Declare pci bridge as bridge
MSI-X: Fix endianness
hw/msix.c | 6 +- hw/openpic.c | 1369 ++++++++++++++++++----------------------------------- hw/openpic.h | 7 +- hw/ppc/e500.c | 51 ++- hw/ppc_newworld.c | 25 +- hw/ppce500_pci.c | 6 + 6 files changed, 544 insertions(+), 920 deletions(-)