diff options
| author | Ben Horgan <[email protected]> | 2025-07-09 09:38:07 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2025-07-09 12:19:24 +0000 |
| commit | 2265c08ec393ef1f5ef5019add0ab1e3a7ee0b79 (patch) | |
| tree | aeaa0b5290038ac7260cda47696c1c1e0b1da870 /rust/helpers/task.c | |
| parent | KVM: arm64: Remove kvm_arch_vcpu_run_map_fp() (diff) | |
| download | kernel-2265c08ec393ef1f5ef5019add0ab1e3a7ee0b79.tar.gz kernel-2265c08ec393ef1f5ef5019add0ab1e3a7ee0b79.zip | |
KVM: arm64: Fix enforcement of upper bound on MDCR_EL2.HPMN
Previously, u64_replace_bits() was used to no effect as the return value
was ignored. Convert to u64p_replace_bits() so the value is updated in
place.
Reviewed-by: Zenghui Yu <[email protected]>
Signed-off-by: Ben Horgan <[email protected]>
Fixes: efff9dd2fee7 ("KVM: arm64: Handle out-of-bound write to MDCR_EL2.HPMN")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions
