[PATCH] powerpc/85xx: Fix doorbells

Subsystems: linux for powerpc (32-bit and 64-bit), linux for powerpc embedded ppc85xx, the rest

STALE5456d

2 messages, 2 authors, 2011-10-12 · open the first message on its own page

[PATCH] powerpc/85xx: Fix doorbells

From: Matthew McClintock <hidden>
Date: 2011-10-12 00:07:04

Commit 765342526246c97600e5344c0949824d94bb51c3 made some small
changes to IPI, message_pass in smp_ops was initialized to NULL
for other platforms but not for 85xx which causes us to always
use the mpic for IPI's. This patch makes doorbells work again.

Signed-off-by: Matthew McClintock <redacted>
---
 arch/powerpc/platforms/85xx/smp.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/platforms/85xx/smp.c b/arch/powerpc/platforms/85xx/smp.c
index 5b9b901..d6e4746 100644
--- a/arch/powerpc/platforms/85xx/smp.c
+++ b/arch/powerpc/platforms/85xx/smp.c
@@ -243,6 +243,7 @@ void __init mpc85xx_smp_init(void)
 		 * If left NULL, .message_pass defaults to
 		 * smp_muxed_ipi_message_pass
 		 */
+		smp_85xx_ops.message_pass = NULL;
 		smp_85xx_ops.cause_ipi = doorbell_cause_ipi;
 	}
 
-- 
1.7.6.1

Re: [PATCH] powerpc/85xx: Fix doorbells

From: Kumar Gala <hidden>
Date: 2011-10-12 04:26:49

On Oct 11, 2011, at 7:06 PM, Matthew McClintock wrote:
Commit 765342526246c97600e5344c0949824d94bb51c3 made some small
changes to IPI, message_pass in smp_ops was initialized to NULL
for other platforms but not for 85xx which causes us to always
use the mpic for IPI's. This patch makes doorbells work again.

Signed-off-by: Matthew McClintock <redacted>
---
arch/powerpc/platforms/85xx/smp.c |    1 +
1 files changed, 1 insertions(+), 0 deletions(-)
applied (updated commit message a bit).

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help