Hi, On Sat, Aug 22, 2020 at 9:18 AM Maulik Shah <mkshah@xxxxxxxxxxxxxx> wrote: > > Kexec can directly boot into a new kernel without going to complete > reboot. This can leave the previous kernel's configuration for PDC > interrupts as is. > > Clear previous kernel's configuration during init by setting interrupts > in enable bank to zero. The IRQs specified in qcom,pdc-ranges property > are the only ones that can be used by the new kernel so clear only those > IRQs. The remaining ones may be in use by a different kernel and should > not be set by new kernel. > > Suggested-by: Stephen Boyd <swboyd@xxxxxxxxxxxx> > Signed-off-by: Maulik Shah <mkshah@xxxxxxxxxxxxxx> > --- > drivers/irqchip/qcom-pdc.c | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>