diff options
| author | 2026-03-19 15:50:28 +0000 | |
|---|---|---|
| committer | 2026-03-19 16:25:55 +0000 | |
| commit | cbd8c958be54abdf2c0f9b9c3eac971428b9d4b1 (patch) | |
| tree | 6e0d12c3994c22a3c844c8b510c0607fa5b01ac3 /scripts/Makefile.thinlto | |
| parent | KVM: arm64: vgic: Rework vgic_is_v3() and add vgic_host_has_gicvX() (diff) | |
KVM: arm64: Return early from kvm_finalize_sys_regs() if guest has run
If the guest has already run, we have no business finalizing the
system register state - it is too late. Therefore, check early and
bail if the VM has already run.
This change also stops kvm_init_nv_sysregs() from being called once
the RM has run once. Although this looks like a behavioural change,
the function returns early once it has been called the first time.
Signed-off-by: Sascha Bischoff <sascha.bischoff@arm.com>
Link: https://patch.msgid.link/20260319154937.3619520-4-sascha.bischoff@arm.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
