Commit 8cb4ecec authored by Marc Zyngier's avatar Marc Zyngier Committed by Oliver Upton
Browse files

irqchip/gic: Add missing GICH_HCR control bits



The GICH_HCR description is missing a bunch of control bits that
control the maintenance interrupt. Add them.

Tested-by: default avatarFuad Tabba <tabba@google.com>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Tested-by: default avatarMark Brown <broonie@kernel.org>
Link: https://msgid.link/20251120172540.2267180-2-maz@kernel.org


Signed-off-by: default avatarOliver Upton <oupton@kernel.org>
parent dcb6fa37
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -86,7 +86,13 @@

#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)