[PATCH 0/3] irqchip/gic-v3-its: Fix LPI pending table handling vs PREEMPT_RT

From: Valentin Schneider
Date: Fri Oct 22 2021 - 06:33:30 EST


Hi folks,

This is my take at fixing [1]. Reading about the LPI tables situation was
entertaining.

Tested against kexec on an Ampere eMAG. Seems to be working fine atop
5.15-rc6. On the other hand, I can only issue one kexec from 5.15-rc6-rt12 - if
I then issue another one on the new kernel, I get tasks hanging. That is true
even without my patches and without CONFIG_PREEMPT_RT.

[1]: http://lore.kernel.org/r/20210810134127.1394269-3-valentin.schneider@xxxxxxx

Cheers,
Valentin

Valentin Schneider (3):
irqchip/gic-v3-its: Give the percpu rdist struct its own flags field
irqchip/gic-v3-its: Postpone LPI pending table freeing and memreserve
irqchip/gic-v3-its: Limit memreserve cpuhp state lifetime

drivers/irqchip/irq-gic-v3-its.c | 108 ++++++++++++++++++++++++-----
include/linux/irqchip/arm-gic-v3.h | 3 +-
2 files changed, 94 insertions(+), 17 deletions(-)

--
2.25.1