]> www.infradead.org Git - users/jedix/linux-maple.git/commit
irqchip/gic-v3: Make distributor priorities variables
authorMark Rutland <mark.rutland@arm.com>
Mon, 17 Jun 2024 11:18:39 +0000 (12:18 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 24 Jun 2024 17:16:44 +0000 (18:16 +0100)
commita6156e70316b322b61739468e465bfb1345b7ae2
treeebeac9658dff5888f3b1a7042aaba5e95df68980
parente95c64a7fb7185383a0edfd6c21477567bee4c26
irqchip/gic-v3: Make distributor priorities variables

In subsequent patches the GICv3 driver will choose the regular interrupt
priority at boot time.

In preparation for using dynamic priorities, place the priorities in
variables and update the code to pass these as parameters. Users of
GICD_INT_DEF_PRI_X4 are modified to replicate the priority byte using
REPEAT_BYTE_U32().

There should be no functional change as a result of this patch.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Alexandru Elisei <alexandru.elisei@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will@kernel.org>
Reviewed-by: Marc Zyngier <maz@kernel.org>
Tested-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240617111841.2529370-4-mark.rutland@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
drivers/irqchip/irq-gic-common.c
drivers/irqchip/irq-gic-common.h
drivers/irqchip/irq-gic-v3-its.c
drivers/irqchip/irq-gic-v3.c
drivers/irqchip/irq-gic.c
drivers/irqchip/irq-hip04.c
include/linux/irqchip/arm-gic-common.h
include/linux/irqchip/arm-gic-v3.h