Skip to content

Powerpc MSI Implementation

Michael Ellerman linuxppc-dev 1 version Applied

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 1162884080.585336.70559261997.qpush@cradle

Versions newest first

  1. v1 Latest7 patches 31 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7Add #defines for Hypertransport MSI fieldsinclude/linux/pci_regs.h+7 -01 reply
2/7Make some MSI-X #defines genericdrivers/pci/msi.h include/linux/pci_regs.h+6 -81 reply
3/7Rip out the existing powerpc msi stubsarch/powerpc/kernel/irq.c include/asm-powerpc/machdep.h+0 -330 replies
4/7Powerpc MSI implementationarch/powerpc/kernel/msi.c include/asm-powerpc/machdep.h include/asm-powerpc/msi.h +1 more+502 -015 replies
5/7RTAS MSI implementationarch/powerpc/kernel/msi-rtas.c include/asm-powerpc/msi.h+271 -02 replies
6/7MPIC MSI backendarch/powerpc/kernel/msi-mpic.c include/asm-powerpc/msi.h+140 -05 replies
7/7Enable MSI on Powerpcarch/powerpc/kernel/Makefile arch/powerpc/platforms/maple/setup.c arch/powerpc/platforms/powermac/pic.c +3 more+19 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC/PATCH 0/7] Powerpc MSI Implementation

Another cut at a Powerpc MSI implementation. This is working with the MPIC backend, still haven't tested the RTAS backend.

Things I remember changing since last time:
* Fixed a few bugs pointed out by Jake.
* We discover the MPIC magic address via the PCI config space rather than hard coding it.
* We reuse pdev->irq in the MPIC backend for now. This is nasty but works.
* Moved msi_info into the pci_dev. This is ugly, but not sure where else we can put it, pci_dn is no longer an option.
* Added a place holder msi_info->msix_base pointer.
* Still haven't implement raw MSIX enabled, todo.
* Removed the msi_info->priv. No on was using it, can always put it back.
* Added lots of debugging in anticipation of getting some firware to test on.
...

cheers