Hi all,
我现在有ca53 linux & optee,请问一个外部中断来了!gic是否先判断这个是security or non-security的中断??如果是security会被派送到哪呢??(BL31??) 如果是non-security就直接派送给linux ??
另外,VBAR_EL3是bl31初始化的??然后bl31跟optee都用这个??
对于有trustzone的情况下中断如何处理还不太清楚!哪份文档描述比较清楚??
thx
Hi Wayling
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/products/architecture/cpu-architecture/a-profile/docs/ihi0069/a/arm-generic-interrupt-controller-architecture-specification-gic-architecture-version-30-and-version-40
Here is the TrustZone training course if you want to learn more.
https://developer.arm.com/support/training/arm-trustzone-for-armv8-a-online-introduction
Best Regards
Jett Zhou