]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Add standard hypervisor firmware register
authorRaghavendra Rao Ananta <rananta@google.com>
Mon, 2 May 2022 23:38:47 +0000 (23:38 +0000)
committerMarc Zyngier <maz@kernel.org>
Tue, 3 May 2022 20:30:19 +0000 (21:30 +0100)
commit0663e8e0e654c31a57119e8f2d68428560d1b159
tree0b64d4ac6022a692625b6c49676d780eb08d1b47
parent26dc25ee56350678bbda19b7dce029393933329a
KVM: arm64: Add standard hypervisor firmware register

Introduce the firmware register to hold the standard hypervisor
service calls (owner value 5) as a bitmap. The bitmap represents
the features that'll be enabled for the guest, as configured by
the user-space. Currently, this includes support only for
Paravirtualized time, represented by bit-0.

Signed-off-by: Raghavendra Rao Ananta <rananta@google.com>
Reviewed-by: Gavin Shan <gshan@redhat.com>
[maz: tidy-up bitmap values]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220502233853.1233742-4-rananta@google.com
arch/arm64/include/asm/kvm_host.h
arch/arm64/include/uapi/asm/kvm.h
arch/arm64/kvm/hypercalls.c