diff options
| author | Marc Zyngier <maz@kernel.org> | 2025-09-29 17:04:53 +0100 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2025-10-13 14:42:41 +0100 |
| commit | 892f7c38ba3b7de19b3dffb8e148d5fbf1228f20 (patch) | |
| tree | 2031b610cd1a7ad4e58b22802873b59f11f717c4 /rust/kernel/generated_arch_static_branch_asm.rs.S | |
| parent | c3be3a48fb18f9d243fac452e0be41469bb246b4 (diff) | |
KVM: arm64: Fix WFxT handling of nested virt
The spec for WFxT indicates that the parameter to the WFxT instruction
is relative to the reading of CNTVCT_EL0. This means that the implementation
needs to take the execution context into account, as CNTVOFF_EL2
does not always affect readings of CNTVCT_EL0 (such as when HCR_EL2.E2H
is 1 and that we're in host context).
This also rids us of the last instance of KVM_REG_ARM_TIMER_CNT
outside of the userspace interaction code.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/generated_arch_static_branch_asm.rs.S')
0 files changed, 0 insertions, 0 deletions
