mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
f7abf7446f
In the virtualized environment, each time an SGI is sent, the value of IGROUPR0 needs to be read once. Since the GIC Redistributor is a purely emulated device, each read of IGROUPR0 will cause a VM exit, causing serious performance degradation. This patch replaces the read with the value previously set in `gicv3_cpuif_init`, and we assume that this value has not been modified after initialization. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>