]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit4642019dc4457486223e1fb75a6a4cba6e0e903a
tree5bf3859158f850815b990e6ab8c57376d4748250
parentf5a202db12b42aef9543029934681df019d7b749
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