]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqchip/gic: Add missing GICH_HCR control bits
authorMarc Zyngier <maz@kernel.org>
Thu, 20 Nov 2025 17:24:51 +0000 (17:24 +0000)
committerOliver Upton <oupton@kernel.org>
Mon, 24 Nov 2025 22:29:11 +0000 (14:29 -0800)
The GICH_HCR description is missing a bunch of control bits that
control the maintenance interrupt. Add them.

Tested-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Mark Brown <broonie@kernel.org>
Link: https://msgid.link/20251120172540.2267180-2-maz@kernel.org
Signed-off-by: Oliver Upton <oupton@kernel.org>
include/linux/irqchip/arm-gic.h

index 2223f95079ce8bfae42c86153ad8bc3ad05f2b2f..d45fa19f9e470708c252b76736781735ec4fef35 100644 (file)
 
 #define GICH_HCR_EN                    (1 << 0)
 #define GICH_HCR_UIE                   (1 << 1)
+#define GICH_HCR_LRENPIE               (1 << 2)
 #define GICH_HCR_NPIE                  (1 << 3)
+#define GICH_HCR_VGrp0EIE              (1 << 4)
+#define GICH_HCR_VGrp0DIE              (1 << 5)
+#define GICH_HCR_VGrp1EIE              (1 << 6)
+#define GICH_HCR_VGrp1DIE              (1 << 7)
+#define GICH_HCR_EOICOUNT              GENMASK(31, 27)
 
 #define GICH_LR_VIRTUALID              (0x3ff << 0)
 #define GICH_LR_PHYSID_CPUID_SHIFT     (10)