diff options
| author | Marc Zyngier <marc.zyngier@arm.com> | 2015-11-26 12:19:25 -0500 |
|---|---|---|
| committer | Christoffer Dall <christoffer.dall@linaro.org> | 2016-05-20 09:39:48 -0400 |
| commit | 140b086dd19771410915a924db2e635c2b51a0f4 (patch) | |
| tree | f1e99db1df02f242a00e8c347c84b8864cc26eed /include/linux/irqchip | |
| parent | 0919e84c0fc1fc73525fdcedefab89ea8460f697 (diff) | |
KVM: arm/arm64: vgic-new: Add GICv2 world switch backend
Processing maintenance interrupts and accessing the list registers
are dependent on the host's GIC version.
Introduce vgic-v2.c to contain GICv2 specific functions.
Implement the GICv2 specific code for syncing the emulation state
into the VGIC registers.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Eric Auger <eric.auger@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'include/linux/irqchip')
| -rw-r--r-- | include/linux/irqchip/arm-gic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic.h b/include/linux/irqchip/arm-gic.h index 9c940263ca23..be0d26f940af 100644 --- a/include/linux/irqchip/arm-gic.h +++ b/include/linux/irqchip/arm-gic.h | |||
| @@ -76,6 +76,7 @@ | |||
| 76 | #define GICH_LR_VIRTUALID (0x3ff << 0) | 76 | #define GICH_LR_VIRTUALID (0x3ff << 0) |
| 77 | #define GICH_LR_PHYSID_CPUID_SHIFT (10) | 77 | #define GICH_LR_PHYSID_CPUID_SHIFT (10) |
| 78 | #define GICH_LR_PHYSID_CPUID (0x3ff << GICH_LR_PHYSID_CPUID_SHIFT) | 78 | #define GICH_LR_PHYSID_CPUID (0x3ff << GICH_LR_PHYSID_CPUID_SHIFT) |
| 79 | #define GICH_LR_PRIORITY_SHIFT 23 | ||
| 79 | #define GICH_LR_STATE (3 << 28) | 80 | #define GICH_LR_STATE (3 << 28) |
| 80 | #define GICH_LR_PENDING_BIT (1 << 28) | 81 | #define GICH_LR_PENDING_BIT (1 << 28) |
| 81 | #define GICH_LR_ACTIVE_BIT (1 << 29) | 82 | #define GICH_LR_ACTIVE_BIT (1 << 29) |
