Ops based MSI Implementation
Status from this message: This is a note to let you know that I've just added the patch titled
Get series with b4
b4 am 1169714047.65693.647693675533.qpush@cradleVersions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | Replace pci_msi_quirk with calls to pci_no_msi()drivers/ drivers/ drivers/ +1 more | +4 | 1 reply | |
| 2/16 | Remove pci_scan_msi_device()arch/ drivers/ drivers/ +1 more | +0 | 1 reply | |
| 3/16 | Combine pci_(save|restore)_msi/msix_statedrivers/ drivers/ drivers/ | +26 | 1 reply | |
| 4/16 | Abstract MSI suspenddrivers/ drivers/ drivers/ | +14 | 13 replies | |
| 5/16 | Ops based MSI implementationdrivers/ drivers/ drivers/ +3 more | +429 | 4 replies | |
| 6/16 | Add bare metal MSI enable & disable routinesdrivers/ drivers/ include/ | +100 | 1 reply | |
| 7/16 | Rip out the existing powerpc msi stubsarch/ include/ | +0 | 0 replies | |
| 8/16 | Enable MSI on Powerpcdrivers/ include/ include/ | +29 | 0 replies | |
| 9/16 | RTAS MSI implementationdrivers/ drivers/ include/ | +275 | 0 replies | |
| 10/16 | Add a pci_irq_fixup for MSI via RTASdrivers/ | +21 | 0 replies | |
| 11/16 | Activate MSI via RTAS on pseriesarch/ | +2 | 0 replies | |
| 12/16 | Tell firmware we support MSIarch/ | +7 | 0 replies | |
| 13/16 | MPIC MSI allocatorarch/ arch/ arch/ +2 more | +217 | 0 replies | |
| 14/16 | MPIC MSI backenddrivers/ drivers/ include/ | +194 | 22 replies | |
| 15/16 | Enable MSI mappings for MPICarch/ | +47 | 0 replies | |
| 16/16 | Activate MSI for the MPIC backend on U3arch/ | +4 | 0 replies |
Reviews trailers per patch
None of the 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ingo Molnar |
|---|---|
| Series | A-b A-b A-b A-b A-b A-b A-b |
| 1/16 | |
| 2/16 | |
| 3/16 | |
| 4/16 | |
| 5/16 | |
| 6/16 | |
| 7/16 | |
| 8/16 | |
| 9/16 | |
| 10/16 | |
| 11/16 | |
| 12/16 | |
| 13/16 | |
| 14/16 | |
| 15/16 | |
| 16/16 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC/PATCH 0/16] Ops based MSI Implementation
OK, here's a first cut at moving ops based MSI into the generic code. I'm posting this now to make sure I'm not heading off into the weeds.
The fifth patch contain the guts of it, I've included the MPIC and RTAS backends as examples. In fact they actually work.
In order to smoothly merge this with the old MSI code, the two will need to coexist in the tree for at least a few commits, so I've added (invisible) Kconfig symbols to allow that.
I plan to merge the Intel code by:
* copying it into drivers/pci/msi/intel.c with zero changes.
* providing a minimal shim to connect the ops code to the intel code.
* at this point the code should be functional but ugly as hell.
* via a longish series of patches, adapt the intel code to better match the new ops code.
* this should allow us to bisect through to find any mistakes.
If people think that's crazy and or stupid please let me know :)
TBD are:
* suspend / resume hooks in the ops - this shouldn't be too tricky with the power management API cleaned up a touch.
* working out why the hell msi_remove_pci_irq_vectors() is a special case ?
cheers