diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-04-01 11:36:05 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-04-01 15:42:26 +0100 |
| commit | 848fa8373a53b0e5d871560743e13278da56fabc (patch) | |
| tree | dcc06c37053d4def25ca6a140c61080aa797b9d5 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | a4a645584793dbbb4e5a1a876800654a8883326e (diff) | |
KVM: arm64: vgic-v5: Correctly set dist->ready once initialised
kvm_vgic_map_resources() targetting a v5 model results in vgic->dist_ready
never being set. This doesn't result in anything really bad, only
some more heavy locking as we go and re-init something for no good reason.
Rejig the code to correctly set the ready flag in all non-failing
cases.
Reviewed-by: Sascha Bischoff <sascha.bischoff@arm.com>
Fixes: f4d37c7c35769 ("KVM: arm64: gic-v5: Create and initialise vgic_v5")
Link: https://sashiko.dev/#/patchset/20260319154937.3619520-1-sascha.bischoff%40arm.com
Link: https://patch.msgid.link/20260401103611.357092-11-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
