summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorHuacai Chen <chenhuacai@loongson.cn>2025-11-20 14:42:05 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-01-11 15:21:10 +0100
commita32eddf2bb52caa5ebab4c5e50bd9f45162d8c13 (patch)
treee5a28309add898397a71771c96ad682e91121af6 /samples
parente9b3a97e852a480b63698d6109f0d6a174e6b04b (diff)
LoongArch: Mask all interrupts during kexec/kdump
[ Upstream commit 863a320dc6fd7c855f47da4bb82a8de2d9102ea2 ] If the default state of the interrupt controllers in the first kernel don't mask any interrupts, it may cause the second kernel to potentially receive interrupts (which were previously allocated by the first kernel) immediately after a CPU becomes online during its boot process. These interrupts cannot be properly routed, leading to bad IRQ issues. This patch calls machine_kexec_mask_interrupts() to mask all interrupts during the kexec/kdump process. Signed-off-by: Tianyang Zhang <zhangtianyang@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions