潮声隔雨深 · 2020年02月13日

ARMv8-a trustzone如何处理中断

我现在有ca53 linux & optee,请问一个外部中断来了!gic是否先判断这个是security or non-security的中断??如果是security会被派送到哪呢??(BL31??) 如果是non-security就直接派送给linux ??

另外,VBAR_EL3是bl31初始化的??然后bl31跟optee都用这个??

对于有trustzone的情况下中断如何处理还不太清楚!哪份文档描述比较清楚??

1 个回答 得票排序 · 时间排序
一知半解 · 2020年02月13日

According to ARMv8 exception model with TrustZone support, the BL31 is running at EL3 which is belong to secure world.Normally, for the Trust OS(eg. optee) are runing Secure EL1. VBAR_EL3 is only used in EL3 for secure monitor.

There are different support method for interrupt grouping and routing for different GIC architecture.

For GICv2, you can find below GICv2 Architecture documents for further information:

developer.arm.com/.../arm-generic-interrupt-controller-architecture-version-20-architecture-specification

For GICv3, you can find below GICv3 Architecture documents for further information:

https://developer.arm.com/pro...

Here is the TrustZone training course if you want to learn more.

https://developer.arm.com/sup...

你的回答