All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
@ 2010-11-18  6:57 Shaohui Xie
  2010-11-30 20:48 ` Bounine, Alexandre
  2011-05-20 13:53 ` [PATCH 2/2][v3] rapidio, powerpc/85xx: " Kumar Gala
  0 siblings, 2 replies; 10+ messages in thread
From: Shaohui Xie @ 2010-11-18  6:57 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: Shaohui Xie, Kumar Gala, Alexandre Bounine, akpm

The sRIO controller reports errors to the core with one signal, it uses
register EPWISR to provides the core quick access to where the error occurred.
The EPWISR indicates that there are 4 interrupts sources, port1, port2, message
unit and port write receive, but the sRIO driver does not support port2
for now, still the handler takes care of port2.
Currently the handler only clear error status without any recovery.

Signed-off-by: Shaohui Xie <b21989@freescale.com>
Cc: Li Yang <leoli@freescale.com>
Cc: Kumar Gala <kumar.gala@freescale.com>
Cc: Roy Zang <tie-fei.zang@freescale.com>
Cc: Alexandre Bounine <alexandre.bounine@idt.com>
---
updated to 37-rc2
 arch/powerpc/sysdev/fsl_rio.c |   85 +++++++++++++++++++++++++++++++++++++----
 1 files changed, 77 insertions(+), 8 deletions(-)

diff --git a/arch/powerpc/sysdev/fsl_rio.c b/arch/powerpc/sysdev/fsl_rio.c
index ddbcd16..d036df9 100644
--- a/arch/powerpc/sysdev/fsl_rio.c
+++ b/arch/powerpc/sysdev/fsl_rio.c
@@ -10,7 +10,7 @@
  * - Added Port-Write message handling
  * - Added Machine Check exception handling
  *
- * Copyright (C) 2007, 2008 Freescale Semiconductor, Inc.
+ * Copyright (C) 2007, 2008, 2010 Freescale Semiconductor, Inc.
  * Zhang Wei <wei.zhang@freescale.com>
  *
  * Copyright 2005 MontaVista Software, Inc.
@@ -47,15 +47,33 @@
 #define IRQ_RIO_RX(m)		(((struct rio_priv *)(m->priv))->rxirq)
 #define IRQ_RIO_PW(m)		(((struct rio_priv *)(m->priv))->pwirq)
 
+#define IPWSR_CLEAR		0x98
+#define OMSR_CLEAR		0x1cb3
+#define IMSR_CLEAR		0x491
+#define IDSR_CLEAR		0x91
+#define ODSR_CLEAR		0x1c00
+#define LTLEECSR_ENABLE_ALL	0xFFC000FC
+#define ESCSR_CLEAR		0x07120204
+
+#define RIO_PORT1_EDCSR		0x0640
+#define RIO_PORT2_EDCSR		0x0680
+#define RIO_PORT1_IECSR		0x10130
+#define RIO_PORT2_IECSR		0x101B0
+#define RIO_IM0SR		0x13064
+#define RIO_IM1SR		0x13164
+#define RIO_OM0SR		0x13004
+#define RIO_OM1SR		0x13104
+
 #define RIO_ATMU_REGS_OFFSET	0x10c00
 #define RIO_P_MSG_REGS_OFFSET	0x11000
 #define RIO_S_MSG_REGS_OFFSET	0x13000
 #define RIO_GCCSR		0x13c
 #define RIO_ESCSR		0x158
+#define RIO_PORT2_ESCSR		0x178
 #define RIO_CCSR		0x15c
 #define RIO_LTLEDCSR		0x0608
-#define  RIO_LTLEDCSR_IER	0x80000000
-#define  RIO_LTLEDCSR_PRT	0x01000000
+#define RIO_LTLEDCSR_IER	0x80000000
+#define RIO_LTLEDCSR_PRT	0x01000000
 #define RIO_LTLEECSR		0x060c
 #define RIO_EPWISR		0x10010
 #define RIO_ISR_AACR		0x10120
@@ -88,7 +106,10 @@
 #define RIO_IPWSR_PWD		0x00000008
 #define RIO_IPWSR_PWB		0x00000004
 
-#define RIO_EPWISR_PINT		0x80000000
+/* EPWISR Error match value */
+#define RIO_EPWISR_PINT1	0x80000000
+#define RIO_EPWISR_PINT2	0x40000000
+#define RIO_EPWISR_MU		0x00000002
 #define RIO_EPWISR_PW		0x00000001
 
 #define RIO_MSG_DESC_SIZE	32
@@ -1066,6 +1087,40 @@ static int fsl_rio_doorbell_init(struct rio_mport *mport)
 	return rc;
 }
 
+static void port_error_handler(struct rio_mport *port, int offset)
+{
+	/*XXX: Error recovery is not implemented, we just clear errors */
+	out_be32((u32 *)(rio_regs_win + RIO_LTLEDCSR), 0);
+
+	if (offset == 0) {
+		out_be32((u32 *)(rio_regs_win + RIO_PORT1_EDCSR), 0);
+		out_be32((u32 *)(rio_regs_win + RIO_PORT1_IECSR), 0);
+		out_be32((u32 *)(rio_regs_win + RIO_ESCSR), ESCSR_CLEAR);
+	} else {
+		out_be32((u32 *)(rio_regs_win + RIO_PORT2_EDCSR), 0);
+		out_be32((u32 *)(rio_regs_win + RIO_PORT2_IECSR), 0);
+		out_be32((u32 *)(rio_regs_win + RIO_PORT2_ESCSR), ESCSR_CLEAR);
+	}
+}
+
+static void msg_unit_error_handler(struct rio_mport *port)
+{
+	struct rio_priv *priv = port->priv;
+
+	/*XXX: Error recovery is not implemented, we just clear errors */
+	out_be32((u32 *)(rio_regs_win + RIO_LTLEDCSR), 0);
+
+	out_be32((u32 *)(rio_regs_win + RIO_IM0SR), IMSR_CLEAR);
+	out_be32((u32 *)(rio_regs_win + RIO_IM1SR), IMSR_CLEAR);
+	out_be32((u32 *)(rio_regs_win + RIO_OM0SR), OMSR_CLEAR);
+	out_be32((u32 *)(rio_regs_win + RIO_OM1SR), OMSR_CLEAR);
+
+	out_be32(&priv->msg_regs->odsr, ODSR_CLEAR);
+	out_be32(&priv->msg_regs->dsr, IDSR_CLEAR);
+
+	out_be32(&priv->msg_regs->pwsr, IPWSR_CLEAR);
+}
+
 /**
  * fsl_rio_port_write_handler - MPC85xx port write interrupt handler
  * @irq: Linux interrupt number
@@ -1146,10 +1201,22 @@ fsl_rio_port_write_handler(int irq, void *dev_instance)
 	}
 
 pw_done:
-	if (epwisr & RIO_EPWISR_PINT) {
+	if (epwisr & RIO_EPWISR_PINT1) {
+		tmp = in_be32(priv->regs_win + RIO_LTLEDCSR);
+		pr_debug("RIO_LTLEDCSR = 0x%x\n", tmp);
+		port_error_handler(port, 0);
+	}
+
+	if (epwisr & RIO_EPWISR_PINT2) {
+		tmp = in_be32(priv->regs_win + RIO_LTLEDCSR);
+		pr_debug("RIO_LTLEDCSR = 0x%x\n", tmp);
+		port_error_handler(port, 1);
+	}
+
+	if (epwisr & RIO_EPWISR_MU) {
 		tmp = in_be32(priv->regs_win + RIO_LTLEDCSR);
 		pr_debug("RIO_LTLEDCSR = 0x%x\n", tmp);
-		out_be32(priv->regs_win + RIO_LTLEDCSR, 0);
+		msg_unit_error_handler(port);
 	}
 
 	return IRQ_HANDLED;
@@ -1260,12 +1327,14 @@ static int fsl_rio_port_write_init(struct rio_mport *mport)
 
 
 	/* Hook up port-write handler */
-	rc = request_irq(IRQ_RIO_PW(mport), fsl_rio_port_write_handler, 0,
-			 "port-write", (void *)mport);
+	rc = request_irq(IRQ_RIO_PW(mport), fsl_rio_port_write_handler,
+			IRQF_SHARED, "port-write", (void *)mport);
 	if (rc < 0) {
 		pr_err("MPC85xx RIO: unable to request inbound doorbell irq");
 		goto err_out;
 	}
+	/* Enable Error Interrupt */
+	out_be32((u32 *)(rio_regs_win + RIO_LTLEECSR), LTLEECSR_ENABLE_ALL);
 
 	INIT_WORK(&priv->pw_work, fsl_pw_dpc);
 	spin_lock_init(&priv->pw_fifo_lock);
-- 
1.6.4

^ permalink raw reply related	[flat|nested] 10+ messages in thread

* RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2010-11-18  6:57 [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO Shaohui Xie
@ 2010-11-30 20:48 ` Bounine, Alexandre
  2010-12-03  3:29   ` Xie Shaohui-B21989
  2011-05-20 13:53 ` [PATCH 2/2][v3] rapidio, powerpc/85xx: " Kumar Gala
  1 sibling, 1 reply; 10+ messages in thread
From: Bounine, Alexandre @ 2010-11-30 20:48 UTC (permalink / raw)
  To: Shaohui Xie, linuxppc-dev; +Cc: akpm, Kumar Gala

Applies correctly now. Lab tested on 8548/RIO setup.

Alex.=20

> -----Original Message-----
> From: Shaohui Xie [mailto:b21989@freescale.com]
> Sent: Thursday, November 18, 2010 1:58 AM
> To: linuxppc-dev@lists.ozlabs.org
> Cc: akpm@linux-foundation.org; Shaohui Xie; Li Yang; Kumar Gala; Roy
Zang; Bounine, Alexandre
> Subject: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
handler for sRIO.
>=20
> The sRIO controller reports errors to the core with one signal, it
uses
> register EPWISR to provides the core quick access to where the error
occurred.
> The EPWISR indicates that there are 4 interrupts sources, port1,
port2, message
> unit and port write receive, but the sRIO driver does not support
port2
> for now, still the handler takes care of port2.
> Currently the handler only clear error status without any recovery.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2010-11-30 20:48 ` Bounine, Alexandre
@ 2010-12-03  3:29   ` Xie Shaohui-B21989
  2010-12-03 18:04     ` Bounine, Alexandre
  0 siblings, 1 reply; 10+ messages in thread
From: Xie Shaohui-B21989 @ 2010-12-03  3:29 UTC (permalink / raw)
  To: Bounine, Alexandre, linuxppc-dev
  Cc: akpm, Gala Kumar-B11780, Li Yang-R58472, Zang Roy-R61911

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

Hi Alex,

 

May I ask when would these patches be applied to mainline?

 

 

Best Regards, 
Shaohui Xie 

 

From: Bounine, Alexandre [mailto:Alexandre.Bounine@idt.com] 
Sent: Wednesday, December 01, 2010 4:49 AM
To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org
Cc: akpm@linux-foundation.org; Li Yang-R58472; Gala Kumar-B11780; Zang
Roy-R61911
Subject: RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
handler for sRIO.

 

Applies correctly now. Lab tested on 8548/RIO setup.

Alex.

> -----Original Message-----
> From: Shaohui Xie [mailto:b21989@freescale.com]
> Sent: Thursday, November 18, 2010 1:58 AM
> To: linuxppc-dev@lists.ozlabs.org
> Cc: akpm@linux-foundation.org; Shaohui Xie; Li Yang; Kumar Gala; Roy
Zang; Bounine, Alexandre
> Subject: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
handler for sRIO.
>
> The sRIO controller reports errors to the core with one signal, it
uses
> register EPWISR to provides the core quick access to where the error
occurred.
> The EPWISR indicates that there are 4 interrupts sources, port1,
port2, message
> unit and port write receive, but the sRIO driver does not support
port2
> for now, still the handler takes care of port2.
> Currently the handler only clear error status without any recovery.


[-- Attachment #2: Type: text/html, Size: 7931 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2010-12-03  3:29   ` Xie Shaohui-B21989
@ 2010-12-03 18:04     ` Bounine, Alexandre
  2011-05-20  4:28       ` Kumar Gala
  0 siblings, 1 reply; 10+ messages in thread
From: Bounine, Alexandre @ 2010-12-03 18:04 UTC (permalink / raw)
  To: Xie Shaohui-B21989, linuxppc-dev
  Cc: akpm, Zang Roy-R61911, Gala Kumar-B11780, Li Yang-R58472

[-- Attachment #1: Type: text/plain, Size: 1942 bytes --]

I think they should follow the previous two that are in Kumar's tree.

Probably Kumar may give you a better timeline estimate for this.   

 

Alex.

 

From: linuxppc-dev-bounces+alexandre.bounine=idt.com@lists.ozlabs.org
[mailto:linuxppc-dev-bounces+alexandre.bounine=idt.com@lists.ozlabs.org]
On Behalf Of Xie Shaohui-B21989
Sent: Thursday, December 02, 2010 10:29 PM
To: Bounine, Alexandre; linuxppc-dev@lists.ozlabs.org
Cc: akpm@linux-foundation.org; Gala Kumar-B11780; Li Yang-R58472; Zang
Roy-R61911
Subject: RE: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
handler for sRIO.

 

Hi Alex,

 

May I ask when would these patches be applied to mainline?

 

 

Best Regards, 
Shaohui Xie 

 

From: Bounine, Alexandre [mailto:Alexandre.Bounine@idt.com] 
Sent: Wednesday, December 01, 2010 4:49 AM
To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org
Cc: akpm@linux-foundation.org; Li Yang-R58472; Gala Kumar-B11780; Zang
Roy-R61911
Subject: RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
handler for sRIO.

 

Applies correctly now. Lab tested on 8548/RIO setup.

Alex.

> -----Original Message-----
> From: Shaohui Xie [mailto:b21989@freescale.com]
> Sent: Thursday, November 18, 2010 1:58 AM
> To: linuxppc-dev@lists.ozlabs.org
> Cc: akpm@linux-foundation.org; Shaohui Xie; Li Yang; Kumar Gala; Roy
Zang; Bounine, Alexandre
> Subject: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
handler for sRIO.
>
> The sRIO controller reports errors to the core with one signal, it
uses
> register EPWISR to provides the core quick access to where the error
occurred.
> The EPWISR indicates that there are 4 interrupts sources, port1,
port2, message
> unit and port write receive, but the sRIO driver does not support
port2
> for now, still the handler takes care of port2.
> Currently the handler only clear error status without any recovery.


[-- Attachment #2: Type: text/html, Size: 9298 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2010-12-03 18:04     ` Bounine, Alexandre
@ 2011-05-20  4:28       ` Kumar Gala
  2011-05-20 12:14         ` Bounine, Alexandre
  0 siblings, 1 reply; 10+ messages in thread
From: Kumar Gala @ 2011-05-20  4:28 UTC (permalink / raw)
  To: Bounine, Alexandre
  Cc: Li Yang-R58472, Xie Shaohui-B21989, Zang Roy-R61911, akpm,
	linuxppc-dev, Gala Kumar-B11780

Alex,

What are we doing with this patch?

- k

On Dec 3, 2010, at 12:04 PM, Bounine, Alexandre wrote:

> I think they should follow the previous two that are in Kumar=92s =
tree.
> Probably Kumar may give you a better timeline estimate for this.  =20
>=20
> Alex.
>=20
> From: linuxppc-dev-bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org =
[mailto:linuxppc-dev-bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org]=
 On Behalf Of Xie Shaohui-B21989
> Sent: Thursday, December 02, 2010 10:29 PM
> To: Bounine, Alexandre; linuxppc-dev@lists.ozlabs.org
> Cc: akpm@linux-foundation.org; Gala Kumar-B11780; Li Yang-R58472; Zang =
Roy-R61911
> Subject: RE: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt =
handler for sRIO.
>=20
> Hi Alex,
>=20
> May I ask when would these patches be applied to mainline?
>=20
>=20
> Best Regards,=20
> Shaohui Xie
>=20
> From: Bounine, Alexandre [mailto:Alexandre.Bounine@idt.com]=20
> Sent: Wednesday, December 01, 2010 4:49 AM
> To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org
> Cc: akpm@linux-foundation.org; Li Yang-R58472; Gala Kumar-B11780; Zang =
Roy-R61911
> Subject: RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt =
handler for sRIO.
>=20
> Applies correctly now. Lab tested on 8548/RIO setup.
>=20
> Alex.
>=20
>> -----Original Message-----
>> From: Shaohui Xie [mailto:b21989@freescale.com]
>> Sent: Thursday, November 18, 2010 1:58 AM
>> To: linuxppc-dev@lists.ozlabs.org
>> Cc: akpm@linux-foundation.org; Shaohui Xie; Li Yang; Kumar Gala; Roy
> Zang; Bounine, Alexandre
>> Subject: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
> handler for sRIO.
>>=20
>> The sRIO controller reports errors to the core with one signal, it
> uses
>> register EPWISR to provides the core quick access to where the error
> occurred.
>> The EPWISR indicates that there are 4 interrupts sources, port1,
> port2, message
>> unit and port write receive, but the sRIO driver does not support
> port2
>> for now, still the handler takes care of port2.
>> Currently the handler only clear error status without any recovery.
>=20
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2011-05-20  4:28       ` Kumar Gala
@ 2011-05-20 12:14         ` Bounine, Alexandre
  2011-05-20 12:42           ` Kumar Gala
  0 siblings, 1 reply; 10+ messages in thread
From: Bounine, Alexandre @ 2011-05-20 12:14 UTC (permalink / raw)
  To: Kumar Gala
  Cc: Li Yang-R58472, Xie Shaohui-B21989, Zang Roy-R61911,
	Gala Kumar-B11780, linuxppc-dev, akpm

Kumar,

Are you planning to release support for dual-port SRIO controller?
If yes, it may be just merged into it (unless dual-port implementation
already has it).

Alex.

> -----Original Message-----
> From: =
linuxppc-dev-bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org
> [mailto:linuxppc-dev-
> bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org] On Behalf Of =
Kumar
> Gala
> Sent: Friday, May 20, 2011 12:29 AM
> To: Bounine, Alexandre
> Cc: Li Yang-R58472; Xie Shaohui-B21989; Zang Roy-R61911; akpm@linux-
> foundation.org; linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780
> Subject: Re: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
> handler for sRIO.
>=20
> Alex,
>=20
> What are we doing with this patch?
>=20
> - k
>=20
> On Dec 3, 2010, at 12:04 PM, Bounine, Alexandre wrote:
>=20
> > I think they should follow the previous two that are in Kumar's
tree.
> > Probably Kumar may give you a better timeline estimate for this.
> >
> > Alex.
> >
> > From:
linuxppc-dev-bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org
> [mailto:linuxppc-dev-
> bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org] On Behalf Of Xie
> Shaohui-B21989
> > Sent: Thursday, December 02, 2010 10:29 PM
> > To: Bounine, Alexandre; linuxppc-dev@lists.ozlabs.org
> > Cc: akpm@linux-foundation.org; Gala Kumar-B11780; Li Yang-R58472;
> Zang Roy-R61911
> > Subject: RE: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
> handler for sRIO.
> >
> > Hi Alex,
> >
> > May I ask when would these patches be applied to mainline?
> >
> >
> > Best Regards,
> > Shaohui Xie
> >
> > From: Bounine, Alexandre [mailto:Alexandre.Bounine@idt.com]
> > Sent: Wednesday, December 01, 2010 4:49 AM
> > To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org
> > Cc: akpm@linux-foundation.org; Li Yang-R58472; Gala Kumar-B11780;
> Zang Roy-R61911
> > Subject: RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
> handler for sRIO.
> >
> > Applies correctly now. Lab tested on 8548/RIO setup.
> >
> > Alex.
> >
> >> -----Original Message-----
> >> From: Shaohui Xie [mailto:b21989@freescale.com]
> >> Sent: Thursday, November 18, 2010 1:58 AM
> >> To: linuxppc-dev@lists.ozlabs.org
> >> Cc: akpm@linux-foundation.org; Shaohui Xie; Li Yang; Kumar Gala;
Roy
> > Zang; Bounine, Alexandre
> >> Subject: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
> > handler for sRIO.
> >>
> >> The sRIO controller reports errors to the core with one signal, it
> > uses
> >> register EPWISR to provides the core quick access to where the
error
> > occurred.
> >> The EPWISR indicates that there are 4 interrupts sources, port1,
> > port2, message
> >> unit and port write receive, but the sRIO driver does not support
> > port2
> >> for now, still the handler takes care of port2.
> >> Currently the handler only clear error status without any recovery.
> >
> > _______________________________________________
> > Linuxppc-dev mailing list
> > Linuxppc-dev@lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/linuxppc-dev
>=20
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2011-05-20 12:14         ` Bounine, Alexandre
@ 2011-05-20 12:42           ` Kumar Gala
  2011-05-20 13:18             ` Bounine, Alexandre
  0 siblings, 1 reply; 10+ messages in thread
From: Kumar Gala @ 2011-05-20 12:42 UTC (permalink / raw)
  To: Bounine, Alexandre
  Cc: Li Yang-R58472, Xie Shaohui-B21989, Zang Roy-R61911,
	Gala Kumar-B11780, linuxppc-dev, akpm

Any reason for me not to apply this and send it upstream for now?

- k

On May 20, 2011, at 7:14 AM, Bounine, Alexandre wrote:

> Kumar,
> 
> Are you planning to release support for dual-port SRIO controller?
> If yes, it may be just merged into it (unless dual-port implementation
> already has it).
> 
> Alex.
> 
>> -----Original Message-----
>> From: linuxppc-dev-bounces+alexandre.bounine=idt.com@lists.ozlabs.org
>> [mailto:linuxppc-dev-
>> bounces+alexandre.bounine=idt.com@lists.ozlabs.org] On Behalf Of Kumar
>> Gala
>> Sent: Friday, May 20, 2011 12:29 AM
>> To: Bounine, Alexandre
>> Cc: Li Yang-R58472; Xie Shaohui-B21989; Zang Roy-R61911; akpm@linux-
>> foundation.org; linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780
>> Subject: Re: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
>> handler for sRIO.
>> 
>> Alex,
>> 
>> What are we doing with this patch?
>> 
>> - k
>> 
>> On Dec 3, 2010, at 12:04 PM, Bounine, Alexandre wrote:
>> 
>>> I think they should follow the previous two that are in Kumar's
> tree.
>>> Probably Kumar may give you a better timeline estimate for this.
>>> 
>>> Alex.
>>> 
>>> From:
> linuxppc-dev-bounces+alexandre.bounine=idt.com@lists.ozlabs.org
>> [mailto:linuxppc-dev-
>> bounces+alexandre.bounine=idt.com@lists.ozlabs.org] On Behalf Of Xie
>> Shaohui-B21989
>>> Sent: Thursday, December 02, 2010 10:29 PM
>>> To: Bounine, Alexandre; linuxppc-dev@lists.ozlabs.org
>>> Cc: akpm@linux-foundation.org; Gala Kumar-B11780; Li Yang-R58472;
>> Zang Roy-R61911
>>> Subject: RE: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
>> handler for sRIO.
>>> 
>>> Hi Alex,
>>> 
>>> May I ask when would these patches be applied to mainline?
>>> 
>>> 
>>> Best Regards,
>>> Shaohui Xie
>>> 
>>> From: Bounine, Alexandre [mailto:Alexandre.Bounine@idt.com]
>>> Sent: Wednesday, December 01, 2010 4:49 AM
>>> To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org
>>> Cc: akpm@linux-foundation.org; Li Yang-R58472; Gala Kumar-B11780;
>> Zang Roy-R61911
>>> Subject: RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
>> handler for sRIO.
>>> 
>>> Applies correctly now. Lab tested on 8548/RIO setup.
>>> 
>>> Alex.
>>> 
>>>> -----Original Message-----
>>>> From: Shaohui Xie [mailto:b21989@freescale.com]
>>>> Sent: Thursday, November 18, 2010 1:58 AM
>>>> To: linuxppc-dev@lists.ozlabs.org
>>>> Cc: akpm@linux-foundation.org; Shaohui Xie; Li Yang; Kumar Gala;
> Roy
>>> Zang; Bounine, Alexandre
>>>> Subject: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
>>> handler for sRIO.
>>>> 
>>>> The sRIO controller reports errors to the core with one signal, it
>>> uses
>>>> register EPWISR to provides the core quick access to where the
> error
>>> occurred.
>>>> The EPWISR indicates that there are 4 interrupts sources, port1,
>>> port2, message
>>>> unit and port write receive, but the sRIO driver does not support
>>> port2
>>>> for now, still the handler takes care of port2.
>>>> Currently the handler only clear error status without any recovery.
>>> 
>>> _______________________________________________
>>> Linuxppc-dev mailing list
>>> Linuxppc-dev@lists.ozlabs.org
>>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>> 
>> _______________________________________________
>> Linuxppc-dev mailing list
>> Linuxppc-dev@lists.ozlabs.org
>> https://lists.ozlabs.org/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2011-05-20 12:42           ` Kumar Gala
@ 2011-05-20 13:18             ` Bounine, Alexandre
  2011-05-20 13:42               ` 答复: [PATCH 2/2][v3] rapidio,powerpc/85xx: " Li Yang-R58472
  0 siblings, 1 reply; 10+ messages in thread
From: Bounine, Alexandre @ 2011-05-20 13:18 UTC (permalink / raw)
  To: Kumar Gala
  Cc: Li Yang-R58472, Xie Shaohui-B21989, Zang Roy-R61911,
	Gala Kumar-B11780, linuxppc-dev, akpm

Not at all. I tested it earlier and it works for me on 8548 platform.

> -----Original Message-----
> From: Kumar Gala [mailto:galak@kernel.crashing.org]
> Sent: Friday, May 20, 2011 8:42 AM
> To: Bounine, Alexandre
> Cc: Li Yang-R58472; Xie Shaohui-B21989; Zang Roy-R61911; akpm@linux-
> foundation.org; linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780
> Subject: Re: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
> handler for sRIO.
>=20
> Any reason for me not to apply this and send it upstream for now?
>=20
> - k
>=20
> On May 20, 2011, at 7:14 AM, Bounine, Alexandre wrote:
>=20
> > Kumar,
> >
> > Are you planning to release support for dual-port SRIO controller?
> > If yes, it may be just merged into it (unless dual-port
> implementation
> > already has it).
> >
> > Alex.
> >
> >> -----Original Message-----
> >> From: linuxppc-dev-
> bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org
> >> [mailto:linuxppc-dev-
> >> bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org] On Behalf Of
> Kumar
> >> Gala
> >> Sent: Friday, May 20, 2011 12:29 AM
> >> To: Bounine, Alexandre
> >> Cc: Li Yang-R58472; Xie Shaohui-B21989; Zang Roy-R61911;
akpm@linux-
> >> foundation.org; linuxppc-dev@lists.ozlabs.org; Gala Kumar-B11780
> >> Subject: Re: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
> >> handler for sRIO.
> >>
> >> Alex,
> >>
> >> What are we doing with this patch?
> >>
> >> - k
> >>
> >> On Dec 3, 2010, at 12:04 PM, Bounine, Alexandre wrote:
> >>
> >>> I think they should follow the previous two that are in Kumar's
> > tree.
> >>> Probably Kumar may give you a better timeline estimate for this.
> >>>
> >>> Alex.
> >>>
> >>> From:
> > linuxppc-dev-bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org
> >> [mailto:linuxppc-dev-
> >> bounces+alexandre.bounine=3Didt.com@lists.ozlabs.org] On Behalf Of
Xie
> >> Shaohui-B21989
> >>> Sent: Thursday, December 02, 2010 10:29 PM
> >>> To: Bounine, Alexandre; linuxppc-dev@lists.ozlabs.org
> >>> Cc: akpm@linux-foundation.org; Gala Kumar-B11780; Li Yang-R58472;
> >> Zang Roy-R61911
> >>> Subject: RE: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt
> >> handler for sRIO.
> >>>
> >>> Hi Alex,
> >>>
> >>> May I ask when would these patches be applied to mainline?
> >>>
> >>>
> >>> Best Regards,
> >>> Shaohui Xie
> >>>
> >>> From: Bounine, Alexandre [mailto:Alexandre.Bounine@idt.com]
> >>> Sent: Wednesday, December 01, 2010 4:49 AM
> >>> To: Xie Shaohui-B21989; linuxppc-dev@lists.ozlabs.org
> >>> Cc: akpm@linux-foundation.org; Li Yang-R58472; Gala Kumar-B11780;
> >> Zang Roy-R61911
> >>> Subject: RE: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error
interrupt
> >> handler for sRIO.
> >>>
> >>> Applies correctly now. Lab tested on 8548/RIO setup.
> >>>
> >>> Alex.
> >>>
> >>>> -----Original Message-----
> >>>> From: Shaohui Xie [mailto:b21989@freescale.com]
> >>>> Sent: Thursday, November 18, 2010 1:58 AM
> >>>> To: linuxppc-dev@lists.ozlabs.org
> >>>> Cc: akpm@linux-foundation.org; Shaohui Xie; Li Yang; Kumar Gala;
> > Roy
> >>> Zang; Bounine, Alexandre
> >>>> Subject: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt
> >>> handler for sRIO.
> >>>>
> >>>> The sRIO controller reports errors to the core with one signal,
it
> >>> uses
> >>>> register EPWISR to provides the core quick access to where the
> > error
> >>> occurred.
> >>>> The EPWISR indicates that there are 4 interrupts sources, port1,
> >>> port2, message
> >>>> unit and port write receive, but the sRIO driver does not support
> >>> port2
> >>>> for now, still the handler takes care of port2.
> >>>> Currently the handler only clear error status without any
> recovery.
> >>>
> >>> _______________________________________________
> >>> Linuxppc-dev mailing list
> >>> Linuxppc-dev@lists.ozlabs.org
> >>> https://lists.ozlabs.org/listinfo/linuxppc-dev
> >>
> >> _______________________________________________
> >> Linuxppc-dev mailing list
> >> Linuxppc-dev@lists.ozlabs.org
> >> https://lists.ozlabs.org/listinfo/linuxppc-dev

^ permalink raw reply	[flat|nested] 10+ messages in thread

* 答复: [PATCH 2/2][v3] rapidio,powerpc/85xx: Error interrupt handler for sRIO.
  2011-05-20 13:18             ` Bounine, Alexandre
@ 2011-05-20 13:42               ` Li Yang-R58472
  0 siblings, 0 replies; 10+ messages in thread
From: Li Yang-R58472 @ 2011-05-20 13:42 UTC (permalink / raw)
  To: Bounine, Alexandre, Kumar Gala
  Cc: akpm, linuxppc-dev, Zang Roy-R61911, Xie Shaohui-B21989,
	Gala Kumar-B11780

SGkgQWxleCwKCkp1c3QgZm9yIHlvdXIgaW5mb3JtYXRpb24gYXMgeW91IG1lbnRpb25lZCBhYm91
dCBpdC4gIFRoZSBkdWFsIHBvcnQgc3VwcG9ydCBpcyBiZWluZyB3b3JrZWQgb24sIGJ1dCBub3Qg
bGlrZWx5IHRvIGJlIHJlYWR5IGluIHRoaXMgbWVyZ2Ugd2luZG93LgoKLSBMZW8KCl9fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18Kt6K8/sjLOiBCb3VuaW5lLCBBbGV4YW5k
cmUgW0FsZXhhbmRyZS5Cb3VuaW5lQGlkdC5jb21dCreiy83KsbzkOiAyMDExxOo11MIyMMjVIDIx
OjE4CrW9OiBLdW1hciBHYWxhCkNjOiBMaSBZYW5nLVI1ODQ3MjsgWGllIFNoYW9odWktQjIxOTg5
OyBaYW5nIFJveS1SNjE5MTE7IGFrcG1AbGludXgtZm91bmRhdGlvbi5vcmc7IGxpbnV4cHBjLWRl
dkBsaXN0cy5vemxhYnMub3JnOyBHYWxhIEt1bWFyLUIxMTc4MArW98ziOiBSRTogW1BBVENIIDIv
Ml1bdjNdIHJhcGlkaW8scG93ZXJwYy84NXh4OiBFcnJvciBpbnRlcnJ1cHQgaGFuZGxlciBmb3Ig
c1JJTy4KCk5vdC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y5vcmcK
PiA+PiBodHRwczovL2xpc3RzLm96bGFicy5vcmcvbGlzdGluZm8vbGludXhwcGMtZGV2CgoK

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO.
  2010-11-18  6:57 [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO Shaohui Xie
  2010-11-30 20:48 ` Bounine, Alexandre
@ 2011-05-20 13:53 ` Kumar Gala
  1 sibling, 0 replies; 10+ messages in thread
From: Kumar Gala @ 2011-05-20 13:53 UTC (permalink / raw)
  To: Shaohui Xie; +Cc: Alexandre Bounine, akpm, linuxppc-dev


On Nov 18, 2010, at 12:57 AM, Shaohui Xie wrote:

> The sRIO controller reports errors to the core with one signal, it =
uses
> register EPWISR to provides the core quick access to where the error =
occurred.
> The EPWISR indicates that there are 4 interrupts sources, port1, =
port2, message
> unit and port write receive, but the sRIO driver does not support =
port2
> for now, still the handler takes care of port2.
> Currently the handler only clear error status without any recovery.
>=20
> Signed-off-by: Shaohui Xie <b21989@freescale.com>
> Cc: Li Yang <leoli@freescale.com>
> Cc: Kumar Gala <kumar.gala@freescale.com>
> Cc: Roy Zang <tie-fei.zang@freescale.com>
> Cc: Alexandre Bounine <alexandre.bounine@idt.com>
> ---
> updated to 37-rc2
> arch/powerpc/sysdev/fsl_rio.c |   85 =
+++++++++++++++++++++++++++++++++++++----
> 1 files changed, 77 insertions(+), 8 deletions(-)

applied to merge

- k=

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-05-20 13:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18  6:57 [PATCH 2/2][v3] rapidio, powerpc/85xx: Error interrupt handler for sRIO Shaohui Xie
2010-11-30 20:48 ` Bounine, Alexandre
2010-12-03  3:29   ` Xie Shaohui-B21989
2010-12-03 18:04     ` Bounine, Alexandre
2011-05-20  4:28       ` Kumar Gala
2011-05-20 12:14         ` Bounine, Alexandre
2011-05-20 12:42           ` Kumar Gala
2011-05-20 13:18             ` Bounine, Alexandre
2011-05-20 13:42               ` 答复: [PATCH 2/2][v3] rapidio,powerpc/85xx: " Li Yang-R58472
2011-05-20 13:53 ` [PATCH 2/2][v3] rapidio, powerpc/85xx: " Kumar Gala

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.