diff options
author | Andre Przywara <andre.przywara@arm.com> | 2016-01-27 14:54:30 +0000 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-05-20 15:39:56 +0200 |
commit | fd59ed3be17e414aa3400f35d0f5faa01dd74185 (patch) | |
tree | 381a19dcf0d9f40f7d414af7d77fe20f4995c195 /virt/kvm/arm/vgic/vgic.h | |
parent | ed9b8cefa91695119e634979db6090d0700a21f8 (diff) | |
download | lwn-fd59ed3be17e414aa3400f35d0f5faa01dd74185.tar.gz lwn-fd59ed3be17e414aa3400f35d0f5faa01dd74185.zip |
KVM: arm/arm64: vgic-new: Add GICv3 CTLR, IIDR, TYPER handlers
As in the GICv2 emulation we handle those three registers in one
function.
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'virt/kvm/arm/vgic/vgic.h')
-rw-r--r-- | virt/kvm/arm/vgic/vgic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/virt/kvm/arm/vgic/vgic.h b/virt/kvm/arm/vgic/vgic.h index 6742b11ddd91..44c6a1bc189a 100644 --- a/virt/kvm/arm/vgic/vgic.h +++ b/virt/kvm/arm/vgic/vgic.h @@ -19,6 +19,7 @@ #define PRODUCT_ID_KVM 0x4b /* ASCII code K */ #define IMPLEMENTER_ARM 0x43b +#define INTERRUPT_ID_BITS_SPIS 10 #define VGIC_PRI_BITS 5 #define vgic_irq_is_sgi(intid) ((intid) < VGIC_NR_SGIS) |