Thread (7 messages) 7 messages, 4 authors, 2010-11-11

RE: [PATCH 3/4][v2] fsl_rio: move machine_check handler into machine_check_e500 & machine_check_e500mc

From: Bounine, Alexandre <hidden>
Date: 2010-11-11 14:29:48
Also in: lkml

Kumar Gala [off-list ref] wrote:
quoted
@@ -527,8 +535,12 @@ int machine_check_e500(struct pt_regs *regs)
=20
To deal w/Alex's comment do:
=20
machine_check_e500(...) {
=20
	int ret =3D 0;
=20
=20
quoted
		printk("Bus - Write Address Error\n");
	if (reason & MCSR_BUS_IBERR)
		printk("Bus - Instruction Data Error\n");
-	if (reason & MCSR_BUS_RBERR)
+	if (reason & MCSR_BUS_RBERR) {
		printk("Bus - Read Data Bus Error\n");
+#ifdef CONFIG_RAPIDIO
+		fsl_rio_mcheck_exception(regs);
+#endif
=20
make this like 'ret =3D fsl_rio...
=20
Please, place it in the beginning of the machine_check_e500[mc](...) as
well to avoid any 'printk' if RIO exception was handled properly.

Alex.=20
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help