Detailed Explanation of ARMv8/ARMv9 Interrupts – Preface

Detailed Explanation of ARMv8/ARMv9 Interrupts - Preface

1. Preface Learning with questions, some thoughts on exceptions/interrupts: (1) In a large system like the one below, when the CPU is running in OP-TEE OS, and suddenly an interrupt (like a Bluetooth interrupt) that needs to be handled by the Linux Kernel arrives, what is the software and hardware flow at this moment? (2) … Read more

Understanding Armv8/Armv9 TrustZone Technology

Understanding Armv8/Armv9 TrustZone Technology

Click the blue "Arm Selected" at the top left and select "Set as Star" 1. Background With the development of the times and the advancement of technology, the trend for security needs has become increasingly evident. ARM has been continuously adjusting and updating its new architectures, many of which are related to security. Below are … Read more

Detailed Explanation of ARMv8/ARMv9 Interrupts – OP-TEE Runtime and REE Interrupts

Detailed Explanation of ARMv8/ARMv9 Interrupts - OP-TEE Runtime and REE Interrupts

Click the blue "Arm Selected" in the top left corner and select "Set as Star" Environment: Linux kernel 4.4, (SCR.IRQ=0, SCR.FIQ=1) OP-TEE 3.6 (SCR.IRQ=0, SCR.FIQ=0) ARMV8GICV3 When the CPU is in the secure side and a non-secure interrupt arrives, depending on SCR.NS=0 / the interrupt in the non-secure group 1 group, the CPU interface will … Read more