Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch/arm64: Optimized SGI to avoid VM exit.
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 <[email protected]>
- Loading branch information