-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aarch64 GIC: adding locking for concurrently accessed resources
Some resources contained in the static gic structure (namely, the ITS command queue, the device list, and the ITS interrupt map) can be accessed concurrently by different vCPUS, for example when gic_percpu_init() is called by secondary vCPUs when they are brought up. Add a spinlock to protect these resources from concurrent access; this fixes sporadic boot failures on Aarch64 instances with more than vCPUs.
- Loading branch information
1 parent
4c77f77
commit 8ce05ef
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters