aboutsummaryrefslogtreecommitdiff
path: root/arch/metag/tbx/tbidefr.S
diff options
context:
space:
mode:
authorJames Hogan <james.hogan@imgtec.com>2013-11-05 14:42:03 +0000
committerJames Hogan <james.hogan@imgtec.com>2013-11-06 10:40:02 +0000
commit95281171a713f4d32f1a044b937563ec7776ccfe (patch)
tree3071f6b6caa68a38348b4996dc873f2b0aa3014a /arch/metag/tbx/tbidefr.S
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff)
metag: handle low level kicks directly
Kick interrupts trigger the LWK (low level kick) signal, usually handled by the __TBIDoStdLWK() function which is the only handler inherited from the bootloader. The LWK signal is converted either to a SWK (plain software kick) or a SWS (software kick with an attached message). Linux has kick_handler() to handle SWK and call registered kick handlers (IPIs and inter-thread comms), but SWS is as far as I'm aware unused with Linux. Therefore remove that abstraction and have Linux handle LWK directly. This will reduce kick latency slightly, and reduce our dependence on the bootloader, which makes it easier to directly boot a kernel in QEMU (particularly for SMP). Signed-off-by: James Hogan <james.hogan@imgtec.com>
Diffstat (limited to 'arch/metag/tbx/tbidefr.S')
-rw-r--r--arch/metag/tbx/tbidefr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/metag/tbx/tbidefr.S b/arch/metag/tbx/tbidefr.S
index 3eb165ebf540..8f0902b22f70 100644
--- a/arch/metag/tbx/tbidefr.S
+++ b/arch/metag/tbx/tbidefr.S
@@ -20,7 +20,7 @@
/* D1Ar1:D0Ar2 -- State
* D0Ar3 -- SigNum
* D0Ar4 -- Triggers
- * D1Ar5 -- InstOrSWSId
+ * D1Ar5 -- Inst
* D0Ar6 -- pTBI (volatile)
*/
___TBIHandleDFR: