bus: omap_l3_noc: add information about the type of operation
authorNishanth Menon <nm@ti.com>
Wed, 16 Apr 2014 20:47:28 +0000 (15:47 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 5 May 2014 19:34:09 +0000 (14:34 -0500)
commit7f9de02d603c439890c4c94631a326c73e2b5b4c
tree5b25fc0501b25a98cd7d81d6ad02db1f6ae6df79
parent2100b595b756db29a0b71de49c3bf73ae76c679b
bus: omap_l3_noc: add information about the type of operation

Today we get error such as
L3 Custom Error: MASTER MPU TARGET L4PER2

But since the actual instruction triggerring the error Vs the point
at which we report error may not be aligned, it makes sense to try
and provide additional information - example the type of operation
that was attempted to being performed can help narrow the debug down
further.

This helps provide log such as:
L3 Custom Error: MASTER MPU TARGET L4PER2 (Read)

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