diff options
| author | Fuad Tabba <fuad.tabba@linux.dev> | 2026-09-29 12:58:00 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-09-30 09:18:05 +0100 |
| commit | 00e309933879cbf181a95a0bd02384715a381cff (patch) | |
| tree | fb355521800c41eb3fe2f785ffeb9e45a49ed04b /tools/perf/scripts/python | |
| parent | 2ce80f62403200f0a59f898dd9cd2ccf756a5a1a (diff) | |
| download | linux-next-00e309933879cbf181a95a0bd02384715a381cff.tar.gz linux-next-00e309933879cbf181a95a0bd02384715a381cff.zip | |
KVM: arm64: selftests: Check ID regs are immutable after a failed run
Add a set_id_regs case covering ID register immutability when a vCPU's
first KVM_RUN fails after finalization but before
KVM_ARCH_FLAG_HAS_RAN_ONCE is set. The test provokes such a failure with
a PMUv3-enabled vCPU whose PMU is left uninitialized, then checks that
KVM_SET_ONE_REG on the feature and implementation ID registers, and
KVM_CREATE_DEVICE for a vGIC, are all rejected with -EBUSY.
Assisted-by: LLM
[Fixed for latest tag standard -- broonie]
Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev>
Link: https://patch.msgid.link/20260805064740.3013538-1-fuad.tabba@linux.dev
Acked-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Tested-by: Lorenzo Stoakes (ARM) <ljs@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Oliver Upton <oupton@kernel.org>
Link: https://patch.msgid.link/20260929-kvm-arm64-idreg-final-v4-3-75296dde994d@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
