diff options
| author | Marc Zyngier <marc.zyngier@arm.com> | 2016-12-20 10:11:47 -0500 |
|---|---|---|
| committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-08-31 10:31:33 -0400 |
| commit | d7276b80e752acaaf30f04e62d0e986b5bced2df (patch) | |
| tree | f1f2f622a57a7031d5fc420f5a1793f03780767c /include/linux/irqchip | |
| parent | de29faa0d8ac925534749bc56d539bf936ce122b (diff) | |
irqchip/gic-v3-its: Add GICv4 ITS command definitions
Add the new GICv4 ITS command definitions, most of them, being
defined in terms of their physical counterparts.
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'include/linux/irqchip')
| -rw-r--r-- | include/linux/irqchip/arm-gic-v3.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/irqchip/arm-gic-v3.h b/include/linux/irqchip/arm-gic-v3.h index af8c55105fc2..7c6fd8f3e36c 100644 --- a/include/linux/irqchip/arm-gic-v3.h +++ b/include/linux/irqchip/arm-gic-v3.h | |||
| @@ -348,6 +348,18 @@ | |||
| 348 | #define GITS_CMD_SYNC 0x05 | 348 | #define GITS_CMD_SYNC 0x05 |
| 349 | 349 | ||
| 350 | /* | 350 | /* |
| 351 | * GICv4 ITS specific commands | ||
| 352 | */ | ||
| 353 | #define GITS_CMD_GICv4(x) ((x) | 0x20) | ||
| 354 | #define GITS_CMD_VINVALL GITS_CMD_GICv4(GITS_CMD_INVALL) | ||
| 355 | #define GITS_CMD_VMAPP GITS_CMD_GICv4(GITS_CMD_MAPC) | ||
| 356 | #define GITS_CMD_VMAPTI GITS_CMD_GICv4(GITS_CMD_MAPTI) | ||
| 357 | #define GITS_CMD_VMOVI GITS_CMD_GICv4(GITS_CMD_MOVI) | ||
| 358 | #define GITS_CMD_VSYNC GITS_CMD_GICv4(GITS_CMD_SYNC) | ||
| 359 | /* VMOVP is the odd one, as it doesn't have a physical counterpart */ | ||
| 360 | #define GITS_CMD_VMOVP GITS_CMD_GICv4(2) | ||
| 361 | |||
| 362 | /* | ||
| 351 | * ITS error numbers | 363 | * ITS error numbers |
| 352 | */ | 364 | */ |
| 353 | #define E_ITS_MOVI_UNMAPPED_INTERRUPT 0x010107 | 365 | #define E_ITS_MOVI_UNMAPPED_INTERRUPT 0x010107 |
