summaryrefslogtreecommitdiffstats
path: root/kernel/irq/settings.h
diff options
context:
space:
mode:
authorMaulik Shah <mkshah@codeaurora.org>2020-09-28 10:02:04 +0530
committerMarc Zyngier <maz@kernel.org>2020-10-06 11:26:41 +0100
commitd7bc63fa20b8a3b0d0645bed1887848c65c01529 (patch)
tree8a1fefca84dd5f7284faf200f402f423fc499cf0 /kernel/irq/settings.h
parent299d7890792e75065b906f83fcb0ca92e5c8c072 (diff)
downloadlinux-d7bc63fa20b8a3b0d0645bed1887848c65c01529.tar.gz
linux-d7bc63fa20b8a3b0d0645bed1887848c65c01529.tar.bz2
linux-d7bc63fa20b8a3b0d0645bed1887848c65c01529.zip
irqchip/qcom-pdc: Reset PDC interrupts during init
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@chromium.org> Signed-off-by: Maulik Shah <mkshah@codeaurora.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Tested-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Stephen Boyd <swboyd@chromium.org> Reviewed-by: Douglas Anderson <dianders@chromium.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/1601267524-20199-7-git-send-email-mkshah@codeaurora.org
Diffstat (limited to 'kernel/irq/settings.h')
0 files changed, 0 insertions, 0 deletions