bus: omap_l3_noc: Add information about the context of operation
authorNishanth Menon <nm@ti.com>
Wed, 16 Apr 2014 22:23:33 +0000 (17:23 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 May 2014 19:34:15 +0000 (14:34 -0500)
commitcf52b2ecd719ca7acb19c0fd74bcfcce9dc6a362
tree5294ac9612de61175f949b89ea7e5c01f9737b93
parent7f9de02d603c439890c4c94631a326c73e2b5b4c
bus: omap_l3_noc: Add information about the context of operation

L3 error may be triggered using Debug interface (example JTAG) or
due to other errors, for example an opcode fetch (due to function
pointer or stack corruption) or a data access (due to some other
failure). NOC registers contain additional information to help aid
debug information.

With this, we can enhance the error information to more detailed form:
"
L3 Custom Error: MASTER MPU TARGET L4PER2 (Read): Data Access in User mode
during Functional access
"

Signed-off-by: Nishanth Menon <nm@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Darren Etheridge <detheridge@ti.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
drivers/bus/omap_l3_noc.c
drivers/bus/omap_l3_noc.h