diff --git a/tools/kdump-tools/debian/deb_patches/0003-kdump-tools-disable-AER-to-fix-kdump-hung-issue.patch b/tools/kdump-tools/debian/deb_patches/0003-kdump-tools-disable-AER-to-fix-kdump-hung-issue.patch new file mode 100644 index 000000000..529f39bf0 --- /dev/null +++ b/tools/kdump-tools/debian/deb_patches/0003-kdump-tools-disable-AER-to-fix-kdump-hung-issue.patch @@ -0,0 +1,29 @@ +From 88e8f23536d60aa163c72ffdbe453315c5102d3c Mon Sep 17 00:00:00 2001 +From: Peng Zhang +Date: Thu, 15 Dec 2022 00:09:32 -0800 +Subject: [PATCH] kdump-tools: disable AER to fix kdump hung issue + +We don't need pci AER functionality enabled in the kdump kernel, +and it causes some boards to hang in certain situations. So just +disable it. + +Signed-off-by: Peng Zhang +--- + rules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/debian/rules b/debian/rules +index 72b7d6d..b428331 100755 +--- a/debian/rules ++++ b/debian/rules +@@ -14,7 +14,7 @@ ifeq ($(DEB_HOST_ARCH),arm64) + else ifeq ($(DEB_HOST_ARCH),ppc64el) + KDUMP_CMDLINE_APPEND += maxcpus=1 irqpoll noirqdistrib nousb + else +- KDUMP_CMDLINE_APPEND += nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0 ++ KDUMP_CMDLINE_APPEND += nr_cpus=1 irqpoll nousb ata_piix.prefer_ms_hyperv=0 pci=noaer + endif + + %: +-- +2.34.1 diff --git a/tools/kdump-tools/debian/deb_patches/series b/tools/kdump-tools/debian/deb_patches/series index 504891a73..86396910e 100644 --- a/tools/kdump-tools/debian/deb_patches/series +++ b/tools/kdump-tools/debian/deb_patches/series @@ -1,2 +1,3 @@ 0001-kdump-tools-add-vmlinuz-and-initrd.img-soft-link.patch 0002-kdump-tools-adapt-check_secure_boot-checking.patch +0003-kdump-tools-disable-AER-to-fix-kdump-hung-issue.patch