Searched hist:"82 a9a4809f4cb4ce3f17da99a8150df8455fa096" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/powerpc/sysdev/ |
H A D | fsl_rio.c | diff 82a9a4809f4cb4ce3f17da99a8150df8455fa096 Thu Jun 16 14:09:17 CDT 2011 Scott Wood <scottwood@freescale.com> powerpc/e500: fix breakage with fsl_rio_mcheck_exception
The wrong MCSR bit was being used on e500mc. MCSR_BUS_RBERR only exists on e500v1/v2. Use MCSR_LD on e500mc, and remove all MCSR checking in fsl_rio_mcheck_exception as we now no longer call that function if the appropriate bit in MCSR is not set.
If RIO support was enabled at compile-time, but was never probed, just return from fsl_rio_mcheck_exception rather than dereference a NULL pointer.
TODO: There is still a remaining, though comparitively minor, issue in that this recovery mechanism will falsely engage if there's an unrelated MCSR_LD event at the same time as a RIO error.
Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | traps.c | diff 82a9a4809f4cb4ce3f17da99a8150df8455fa096 Thu Jun 16 14:09:17 CDT 2011 Scott Wood <scottwood@freescale.com> powerpc/e500: fix breakage with fsl_rio_mcheck_exception
The wrong MCSR bit was being used on e500mc. MCSR_BUS_RBERR only exists on e500v1/v2. Use MCSR_LD on e500mc, and remove all MCSR checking in fsl_rio_mcheck_exception as we now no longer call that function if the appropriate bit in MCSR is not set.
If RIO support was enabled at compile-time, but was never probed, just return from fsl_rio_mcheck_exception rather than dereference a NULL pointer.
TODO: There is still a remaining, though comparitively minor, issue in that this recovery mechanism will falsely engage if there's an unrelated MCSR_LD event at the same time as a RIO error.
Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|