Commit c458b032 authored by Fuad Tabba's avatar Fuad Tabba Committed by Quentin Perret
Browse files

FROMLIST: KVM: arm64: Add hyp_spinlock_t static initializer



Introduce a static initializer macro for 'hyp_spinlock_t' so that it is
straightforward to instantiate global locks at EL2. This will be later
utilised for locking the VM table in the hypervisor.

Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: default avatarVincent Donnefort <vdonnefort@google.com>
Signed-off-by: default avatarFuad Tabba <tabba@google.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20221020133827.5541-11-will@kernel.org


Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Bug: 233587962
Change-Id: I5055011c6eb4376922e5b06871fa4bb3528f4e8f
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent a7d9ff38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment