]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: pvtime: Ensure task delay accounting is enabled
authorAndrew Jones <drjones@redhat.com>
Mon, 22 Jun 2020 14:27:10 +0000 (16:27 +0200)
committerMarc Zyngier <maz@kernel.org>
Mon, 22 Jun 2020 14:35:57 +0000 (15:35 +0100)
commit8dfdb227da048cf7d10b3f7c067da1af3bfdb015
treeca034948c837bba02bb6dc6de25458250aa1030c
parent7b884fef4edf39574f6cef1962c59964df7077b1
KVM: arm64: pvtime: Ensure task delay accounting is enabled

Ensure we're actually accounting run_delay before we claim that we'll
expose it to the guest. If we're not, then we just pretend like steal
time isn't supported in order to avoid any confusion.

Signed-off-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20200622142710.18677-1-drjones@redhat.com
arch/arm64/kvm/pvtime.c