diff options
Diffstat (limited to 'arch/arm64/include/uapi/asm/kvm.h')
| -rw-r--r-- | arch/arm64/include/uapi/asm/kvm.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm64/include/uapi/asm/kvm.h b/arch/arm64/include/uapi/asm/kvm.h index c154c0b7eb60..d26832022127 100644 --- a/arch/arm64/include/uapi/asm/kvm.h +++ b/arch/arm64/include/uapi/asm/kvm.h | |||
| @@ -188,8 +188,14 @@ struct kvm_arch_memory_slot { | |||
| 188 | #define KVM_ARM_IRQ_CPU_IRQ 0 | 188 | #define KVM_ARM_IRQ_CPU_IRQ 0 |
| 189 | #define KVM_ARM_IRQ_CPU_FIQ 1 | 189 | #define KVM_ARM_IRQ_CPU_FIQ 1 |
| 190 | 190 | ||
| 191 | /* Highest supported SPI, from VGIC_NR_IRQS */ | 191 | /* |
| 192 | * This used to hold the highest supported SPI, but it is now obsolete | ||
| 193 | * and only here to provide source code level compatibility with older | ||
| 194 | * userland. The highest SPI number can be set via KVM_DEV_ARM_VGIC_GRP_NR_IRQS. | ||
| 195 | */ | ||
| 196 | #ifndef __KERNEL__ | ||
| 192 | #define KVM_ARM_IRQ_GIC_MAX 127 | 197 | #define KVM_ARM_IRQ_GIC_MAX 127 |
| 198 | #endif | ||
| 193 | 199 | ||
| 194 | /* One single KVM irqchip, ie. the VGIC */ | 200 | /* One single KVM irqchip, ie. the VGIC */ |
| 195 | #define KVM_NR_IRQCHIPS 1 | 201 | #define KVM_NR_IRQCHIPS 1 |
