Commit cc45963c authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: nv: Publish emulated timer interrupt state in the in-memory state



With FEAT_NV2, the EL0 timer state is entirely stored in memory,
meaning that the hypervisor can only provide a very poor emulation.

The only thing we can really do is to publish the interrupt state
in the guest view of CNT{P,V}_CTL_EL0, and defer everything else
to the next exit.

Only FEAT_ECV will allow us to fix it, at the cost of extra trapping.

Suggested-by: default avatarChase Conklin <chase.conklin@arm.com>
Suggested-by: default avatarGanapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Acked-by: default avatarOliver Upton <oliver.upton@linux.dev>
Link: https://lore.kernel.org/r/20241217142321.763801-4-maz@kernel.org


Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent 4bad3068
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment