irqchip/gic-v3-its: Fix reprogramming of redistributors on CPU hotplug
authorMarc Zyngier <[email protected]>
Fri, 22 Jun 2018 09:52:54 +0000 (10:52 +0100)
committerThomas Gleixner <[email protected]>
Fri, 22 Jun 2018 12:22:02 +0000 (14:22 +0200)
commit82f499c8811149069ec958b72a86643a7a289b25
tree1c4ff0204266f6094dca4fa1cfd671728266cd10
parent205e065d91d72e6afad112ea84f0ca60b30bf5ab
irqchip/gic-v3-its: Fix reprogramming of redistributors on CPU hotplug

Enabling LPIs was made a lot stricter recently, by checking that they are
disabled before enabling them. By doing so, the CPU hotplug case was missed
altogether, which leaves LPIs enabled on hotplug off (expecting the CPU to
eventually come back), and won't write a different value anyway on hotplug
on.

So skip that check if that particular case is detected

Fixes: 6eb486b66a30 ("irqchip/gic-v3: Ensure GICR_CTLR.EnableLPI=0 is observed before enabling")
Reported-by: Sumit Garg <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Sumit Garg <[email protected]>
Cc: Jason Cooper <[email protected]>
Cc: Alexandre Belloni <[email protected]>
Cc: Yang Yingliang <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
drivers/irqchip/irq-gic-v3-its.c