Re: [PATCH v2 0/2] x86/apic/kexec: Legacy irq setting fixs in kdump kernel

From: Dou Liyang
Date: Thu Feb 01 2018 - 23:04:48 EST


Hi Baoquan,

At 01/25/2018 10:11 PM, Baoquan He wrote:
This is v2 post.

In v2, no code change, just improve change log of patch 1 and 2.

And drop the old patch 3 in v1, a clean up patch. The current
x86_io_apic_ops.disable() hook is still needed by irq remapping.

Baoquan He (2):

Test these patches in both 32bit and 64bit of x86 arches. feel free to
add my Tested-by.

Tested-by: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx>

Thanks,
dou.

x86/apic/kexec: Enable legacy irq mode before jump to kexec/kdump
kernel
x86/apic: Set up through-local-APIC on boot CPU's LINT0 if 'noapic'
specified

arch/x86/include/asm/io_apic.h | 3 ++-
arch/x86/kernel/apic/apic.c | 2 +-
arch/x86/kernel/apic/io_apic.c | 12 ++++--------
arch/x86/kernel/crash.c | 2 +-
arch/x86/kernel/machine_kexec_32.c | 15 +++++----------
arch/x86/kernel/machine_kexec_64.c | 15 +++++----------
arch/x86/kernel/reboot.c | 2 +-
7 files changed, 19 insertions(+), 32 deletions(-)