1
0
Fork 0
alistair23-linux/drivers/bus
Afzal Mohammed 2100b595b7 bus: omap_l3_noc: ignore masked out unclearable targets
Errors that cannot be cleared (determined by reading REGERR register)
are currently handled by masking it. Documentation states that REGERR
"Checks which application/debug error sources are active" - it does not
indicate that this is "interrupt status" - masked out status represented
eventually in the irq line to MPU.
For example:

Lets say module 0 bit 8(0x100) was unclearable, we do the mask it from
generating further errors. However in the following cases:
a) bit 9 of Module 0
OR
b) any bit of Module 1+
occur, the interrupt handler wrongly assumes that the raw interrupt
status of module 0 bit 8 is the root cause of the interrupt, and
returns. This causes unhandled interrupt and resultant infinite
interrupts.

Fix this scenario by storing the events we masked out and masking raw
status with masked ones before identifying and handling the error.

Reported-by: Vaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: Afzal Mohammed <afzal@ti.com>
Tested-by: Vaibhav Hiremath <hvaibhav@gmail.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
2014-05-05 14:34:03 -05:00
..
Kconfig drivers: bus: imx-weim: Add support for i.MX1/21/25/27/31/35/50/51/53 2013-08-16 12:59:44 +08:00
Makefile ARM SoC device tree changes 2013-07-02 14:23:01 -07:00
arm-cci.c drivers: bus: fix CCI driver kcalloc call parameters swap 2014-01-31 15:15:13 -08:00
imx-weim.c drivers: bus: imx-weim: Add support for i.MX1/21/25/27/31/35/50/51/53 2013-08-16 12:59:44 +08:00
mvebu-mbus.c bus: mvebu-mbus: Remove deprecated comment 2013-11-24 16:39:41 +00:00
omap-ocp2scp.c ARM: OMAP2+: Remove omap4 ocp2scp pdata 2013-05-30 13:09:31 -07:00
omap_l3_noc.c bus: omap_l3_noc: ignore masked out unclearable targets 2014-05-05 14:34:03 -05:00
omap_l3_noc.h bus: omap_l3_noc: ignore masked out unclearable targets 2014-05-05 14:34:03 -05:00
omap_l3_smx.c drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00
omap_l3_smx.h drivers: bus: Move the OMAP interconnect driver to drivers/bus/ 2012-09-19 16:53:26 +02:00