Commit 9a006940 authored by Andre Przywara's avatar Andre Przywara Committed by Will Deacon
Browse files

arm/gic: move GICv2M gadget size into private header



The header files in arm/aarch*/include/asm/ are directly copied from
Linux, so we can't just put our own definitions in there.
Move the GICv2M MMIO frame size into a more private header, to avoid
breaking the build once the header files are synced from Linux.
Signed-off-by: Andre Przywara's avatarAndre Przywara <andre.przywara@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent a43b08e8
......@@ -84,8 +84,6 @@ struct kvm_regs {
#define KVM_VGIC_V2_DIST_SIZE 0x1000
#define KVM_VGIC_V2_CPU_SIZE 0x2000
#define KVM_VGIC_V2M_SIZE 0x1000
/* Supported VGICv3 address types */
#define KVM_VGIC_V3_ADDR_TYPE_DIST 2
#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3
......
......@@ -84,8 +84,6 @@ struct kvm_regs {
#define KVM_VGIC_V2_DIST_SIZE 0x1000
#define KVM_VGIC_V2_CPU_SIZE 0x2000
#define KVM_VGIC_V2M_SIZE 0x1000
/* Supported VGICv3 address types */
#define KVM_VGIC_V3_ADDR_TYPE_DIST 2
#define KVM_VGIC_V3_ADDR_TYPE_REDIST 3
......
......@@ -21,6 +21,8 @@
#define GIC_MAX_CPUS 8
#define GIC_MAX_IRQ 255
#define KVM_VGIC_V2M_SIZE 0x1000
enum irqchip_type {
IRQCHIP_GICV2,
IRQCHIP_GICV2M,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment