]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm64: Enable the EL1 physical timer for AArch32 guests
authorJérémy Fanguède <j.fanguede@virtualopensystems.com>
Thu, 8 Feb 2018 11:57:19 +0000 (12:57 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Mon, 26 Feb 2018 09:48:02 +0000 (10:48 +0100)
commitdab231d2f88c7d0f66f25bc906acbd79394673e4
tree13aebc430e865c289abc1cdcecb47bb7ba1c180a
parent4423bed035e35d65e24d37d3ebbe261536d150e6
KVM: arm64: Enable the EL1 physical timer for AArch32 guests

Some 32bits guest OS can use the CNTP timer, however KVM does not
handle the accesses, injecting a fault instead.

Use the proper handlers to emulate the EL1 Physical Timer (CNTP)
register accesses of AArch32 guests.

Signed-off-by: Jérémy Fanguède <j.fanguede@virtualopensystems.com>
Signed-off-by: Alvise Rigo <a.rigo@virtualopensystems.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/kvm/sys_regs.c