]> git.baikalelectronics.ru Git - kernel.git/commit
arm/arm64: KVM: vgic: Do not save GICH_HCR / ICH_HCR_EL2
authorMarc Zyngier <marc.zyngier@arm.com>
Thu, 11 Jun 2015 17:50:17 +0000 (18:50 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 17 Jun 2015 08:59:55 +0000 (09:59 +0100)
commite49349dc24576e3f5ee13945f2072a025801d371
tree5bf3859158f850815b990e6ab8c57376d4748250
parentcd49699f9483f00e9ae6294604ad8637fc0f2052
arm/arm64: KVM: vgic: Do not save GICH_HCR / ICH_HCR_EL2

The GIC Hypervisor Configuration Register is used to enable
the delivery of virtual interupts to a guest, as well as to
define in which conditions maintenance interrupts are delivered
to the host.

This register doesn't contain any information that we need to
read back (the EOIcount is utterly useless for us).

So let's save ourselves some cycles, and not save it before
writing zero to it.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/interrupts_head.S
arch/arm64/kvm/vgic-v2-switch.S
arch/arm64/kvm/vgic-v3-switch.S