diff options
author | Marc Zyngier <maz@kernel.org> | 2023-03-30 18:47:54 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-03-30 19:01:10 +0100 |
commit | 476fcd4b7bb54ac959b683f30d0cf305c3e11f3c (patch) | |
tree | 3bd9f1a6d37837cb7cf118b21af6dcccab464a09 /Documentation/virt | |
parent | e9adde432bf7371f1c83f67d9f8d75b95810f124 (diff) | |
download | linux-476fcd4b7bb54ac959b683f30d0cf305c3e11f3c.tar.gz linux-476fcd4b7bb54ac959b683f30d0cf305c3e11f3c.tar.bz2 linux-476fcd4b7bb54ac959b683f30d0cf305c3e11f3c.zip |
KVM: arm64: timers: Abstract the number of valid timers per vcpu
We so far have a pretty fixed number of timers to take care of.
This is about to change as NV brings another two into the
picture, and we must be careful not to try and emulate non-valid
timers in a given VM.
For this, abstract the number of timers for a given vcpu behind
an accessor, which helpfully returns a constant for now.
Reviewed-by: Colton Lewis <coltonlewis@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230330174800.2677007-15-maz@kernel.org
Diffstat (limited to 'Documentation/virt')
0 files changed, 0 insertions, 0 deletions