ANDROID: trusty-irq: specify IPIs in new way

Some IRQs that are received by Linux need to be intercepted by the
Trusty driver and forwarded to Trusty.  For this to work, the
device-tree node for the trusty-irq "device" needs to specify which
Linux IRQs correspond to which secure IRQs.

Some of these IRQs are IPIs ("inter-processor interrupts").  But since
IPIs previously weren't normal Linux IRQs, the Trusty kernel branches
have been carrying a patch "ANDROID: arm64: smp: Add support for custom
ipi interrupt handlers" (http://aosp/1343165) to expose specific IPIs
via a "CustomIPI" irq_chip.

This approach for specifying IPIs is being replaced with one based on
the patchset "arm/arm64: Turning IPIs into normal interrupts"
(https://lkml.kernel.org/lkml/20200901144324.1071694-1-maz@kernel.org),
which hopefully will make it into Linux 5.10.

Make the changes needed to use the new approach.

Bug: 140053385
Change-Id: Ie68af0477db4e19a67a2db3522d17480aab7e3f5
Signed-off-by: Eric Biggers <ebiggers@google.com>
1 file changed
tree: 7f823abafbacca392fa91fee00510743a2353381
  1. Documentation/
  2. drivers/
  3. include/