Skip to content

Commit 6d4c447

Browse files
Zenghui YuMarc Zyngier
authored andcommitted
irqchip/gic-v3: Remove unused register definition
[maz: The GICv3 spec has evolved quite a bit since the draft the Linux driver was written against, and some register definitions are simply gone] As per the GICv3 specification, GIC{D,R}_SEIR are not assigned and the locations (0x0068) are actually Reserved. GICR_MOV{LPI,ALL}R are two IMP DEF registers and might be defined by some specific micro-architecture. As they're not used anywhere in the kernel, just drop all of them. Signed-off-by: Zenghui Yu <[email protected]> [maz: added context explaination] Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 95bf930 commit 6d4c447

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/irqchip/arm-gic-v3.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#define GICD_CLRSPI_NSR 0x0048
2020
#define GICD_SETSPI_SR 0x0050
2121
#define GICD_CLRSPI_SR 0x0058
22-
#define GICD_SEIR 0x0068
2322
#define GICD_IGROUPR 0x0080
2423
#define GICD_ISENABLER 0x0100
2524
#define GICD_ICENABLER 0x0180
@@ -119,14 +118,11 @@
119118
#define GICR_WAKER 0x0014
120119
#define GICR_SETLPIR 0x0040
121120
#define GICR_CLRLPIR 0x0048
122-
#define GICR_SEIR GICD_SEIR
123121
#define GICR_PROPBASER 0x0070
124122
#define GICR_PENDBASER 0x0078
125123
#define GICR_INVLPIR 0x00A0
126124
#define GICR_INVALLR 0x00B0
127125
#define GICR_SYNCR 0x00C0
128-
#define GICR_MOVLPIR 0x0100
129-
#define GICR_MOVALLR 0x0110
130126
#define GICR_IDREGS GICD_IDREGS
131127
#define GICR_PIDR2 GICD_PIDR2
132128

0 commit comments

Comments
 (0)