]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7eea500226ae9b4a572c8430d8647aad099c1cd6
tree644f876a78667db9a39a6477ac05bdc217357010
parenta2200a1a728925ec7975c22ebe5470181f223449
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