irqchip/gic-v3-its: Give the percpu rdist struct its own flags field
authorValentin Schneider <valentin.schneider@arm.com>
Wed, 27 Oct 2021 15:15:04 +0000 (16:15 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 16 Dec 2021 13:21:11 +0000 (13:21 +0000)
commitc0cdc89072a3e1ae3981437f385de14b7bba8fd8
tree644f876a78667db9a39a6477ac05bdc217357010
parent0fcfb00b28c0b7884635dacf38e46d60bf3d4eb1
irqchip/gic-v3-its: Give the percpu rdist struct its own flags field

Later patches will require tracking some per-rdist status. Reuse the bytes
"lost" to padding within the __percpu rdist struct as a flags field, and
re-encode ->lpi_enabled within said flags.

No change in functionality intended.

Signed-off-by: Valentin Schneider <valentin.schneider@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211027151506.2085066-2-valentin.schneider@arm.com
drivers/irqchip/irq-gic-v3-its.c
include/linux/irqchip/arm-gic-v3.h