ANDROID: trusty: Add trusty-irq driver
Get list of interrupts from secure mode and register handlers for them.
When an interrupt triggers, disable the interrupt and schedule a work
function. The work function then masks interrupts at the cpu, re-enables
the interrupt and calls into secure mode.
Edge triggered interrupts are not supported.
Original commits:
android-trusty-3.10:
8abdce02 ("trusty: Add interrupt support")
51132bfb ("trusty: Add smp support")
android-trusty-3.18:
fafd2bd5 ("trusty-irq: Add support for secure interrupt mapping")
5dde3e0b ("trusty: move async works off system workqueue")
4af79968 ("trusty: add support for parameterized NOP ops")
android-trusty-4.19:
54fcab01 ("trusty: Add support for doorbell interrupt")
android-trusty-5.4:
53809d05 ("ANDROID: trusty: Modularize trusty-irq driver")
1d7b4458 ("ANDROID: trusty: use SPDX license identifiers")
a0d2e105 ("ANDROID: trusty: Kconfig: add 'if TRUSTY' block")
2a2f4891 ("ANDROID: trusty: add missing 'static' keywords")
110d7254 ("ANDROID: trusty: remove unneeded assignments to device_driver::owner")
bd4fb2f7 ("ANDROID: trusty: make TRUSTY_IRQ and TRUSTY_LOG deselectable")
0f32db5e ("ANDROID: trusty: remove trivial function entry logging")
0e580318 ("ANDROID: trusty: avoid using BUG_ON()")
3f6ac3c6 ("ANDROID: trusty: Kconfig: add help text")
Bug: 187853933
Change-Id: I6783c8f331a19ae10877fdafd4c974c23adde93b
Signed-off-by:
Arve Hjønnevåg <arve@android.com>
Signed-off-by:
Tri Vo <trong@google.com>
Signed-off-by:
Michael Ryleev <gmar@google.com>
Signed-off-by:
Eric Biggers <ebiggers@google.com>
Loading
Please sign in to comment