diff options
author | Marc Zyngier <maz@kernel.org> | 2023-03-30 20:47:51 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-03-30 21:01:10 +0300 |
commit | 8a5eb2d210807e7dbe9ece7075533014cf4b9c27 (patch) | |
tree | 00a50fc7113a9b6c3c7fd38a3028376e2a156c2d /fs/befs/endian.h | |
parent | 33c549460ef9119eb115484e81f54521122341db (diff) | |
download | linux-8a5eb2d210807e7dbe9ece7075533014cf4b9c27.tar.xz |
KVM: arm64: timers: Move the timer IRQs into arch_timer_vm_data
Having the timer IRQs duplicated into each vcpu isn't great, and
becomes absolutely awful with NV. So let's move these into
the per-VM arch_timer_vm_data structure.
This simplifies a lot of code, but requires us to introduce a
mutex so that we can reason about userspace trying to change
an interrupt number while another vcpu is running, something
that wasn't really well handled so far.
Reviewed-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230330174800.2677007-12-maz@kernel.org
Diffstat (limited to 'fs/befs/endian.h')
0 files changed, 0 insertions, 0 deletions