[PATCH v2] irqchip/gic-v5: Preserve ICC_CR0_EL1 state

Marc Zyngier maz at kernel.org
Mon Sep 7 10:50:14 PDT 2026


On Mon, 07 Sep 2026 17:49:50 +0100,
Sascha Bischoff <Sascha.Bischoff at arm.com> wrote:
> 
> In addition to EN, ICC_CR0_EL1 contains other fields, such as LINK and
> LINK_IDLE. The driver only needs to modify EN, and must preserve the
> values of all other fields when enabling or disabling the CPU
> interface.
> 
> Define the missing LINK and LINK_IDLE fields, and use read-modify-write
> accesses to update EN without affecting the rest of ICC_CR0_EL1.
> 
> Fixes: 7ec80fb3f025 ("irqchip/gic-v5: Add GICv5 PPI support")
> Reported-by: Sashiko <sashiko-bot at kernel.org>
> Closes: https://lore.kernel.org/r/20260807121703.D4B7A1F00A3A@smtp.kernel.org
> Signed-off-by: Sascha Bischoff <sascha.bischoff at arm.com>

Reviewed-by: Marc Zyngier <maz at kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.



More information about the linux-arm-kernel mailing list