[PATCH 7/7] Activate MSI for the MPIC backend on U3
Michael Ellerman
michael at ellerman.id.au
Thu Jan 11 22:25:25 EST 2007
If we have a U3 and it's the primary, enable MSIs via HT.
Signed-off-by: Michael Ellerman <michael at ellerman.id.au>
---
arch/powerpc/sysdev/mpic.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Index: msi/arch/powerpc/sysdev/mpic.c
===================================================================
--- msi.orig/arch/powerpc/sysdev/mpic.c
+++ msi/arch/powerpc/sysdev/mpic.c
@@ -1171,8 +1171,10 @@ void __init mpic_init(struct mpic *mpic)
/* Do the HT PIC fixups on U3 broken mpic */
DBG("MPIC flags: %x\n", mpic->flags);
- if ((mpic->flags & MPIC_BROKEN_U3) && (mpic->flags & MPIC_PRIMARY))
- mpic_scan_ht_pics(mpic);
+ if ((mpic->flags & MPIC_BROKEN_U3) && (mpic->flags & MPIC_PRIMARY)) {
+ mpic_scan_ht_pics(mpic);
+ mpic_htmsi_init(mpic);
+ }
for (i = 0; i < mpic->num_sources; i++) {
/* start with vector = source number, and masked */
More information about the Linuxppc-dev
mailing list