Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-20 Thread b...@redhat.com
On 07/20/16 at 08:32am, Thomas Gleixner wrote: > On Wed, 20 Jul 2016, b...@redhat.com wrote: > > On 07/20/16 at 03:54am, Wei, Jiangang wrote: > > > > > In fact, Eric and Ingo suggested that "it should be fixed in the bootup > > > path of the dump kernel, not the crash kernel reboot path", which

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-20 Thread b...@redhat.com
On 07/20/16 at 08:32am, Thomas Gleixner wrote: > On Wed, 20 Jul 2016, b...@redhat.com wrote: > > On 07/20/16 at 03:54am, Wei, Jiangang wrote: > > > > > In fact, Eric and Ingo suggested that "it should be fixed in the bootup > > > path of the dump kernel, not the crash kernel reboot path", which

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-20 Thread Thomas Gleixner
On Wed, 20 Jul 2016, b...@redhat.com wrote: > On 07/20/16 at 03:54am, Wei, Jiangang wrote: > > > In fact, Eric and Ingo suggested that "it should be fixed in the bootup > > path of the dump kernel, not the crash kernel reboot path", which is > > convincing and reasonable. > > Well this patch

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-20 Thread Thomas Gleixner
On Wed, 20 Jul 2016, b...@redhat.com wrote: > On 07/20/16 at 03:54am, Wei, Jiangang wrote: > > > In fact, Eric and Ingo suggested that "it should be fixed in the bootup > > path of the dump kernel, not the crash kernel reboot path", which is > > convincing and reasonable. > > Well this patch

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-20 Thread b...@redhat.com
On 07/20/16 at 03:54am, Wei, Jiangang wrote: > Hi Baoquan He, > > Well, Indeed there‘s a relationship between the dump-capture hangs in > calibrate_delay_converge() and the interrupt mode. > > but there‘s no essential difference between your patches and mine that > calls disable_IO_APIC() again.

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-20 Thread b...@redhat.com
On 07/20/16 at 03:54am, Wei, Jiangang wrote: > Hi Baoquan He, > > Well, Indeed there‘s a relationship between the dump-capture hangs in > calibrate_delay_converge() and the interrupt mode. > > but there‘s no essential difference between your patches and mine that > calls disable_IO_APIC() again.

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-19 Thread b...@redhat.com
Hi Jiangang, On 07/20/16 at 03:54am, Wei, Jiangang wrote: > Hi Baoquan He, > > Well, Indeed there‘s a relationship between the dump-capture hangs in > calibrate_delay_converge() and the interrupt mode. > > but there‘s no essential difference between your patches and mine that > calls

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-19 Thread b...@redhat.com
Hi Jiangang, On 07/20/16 at 03:54am, Wei, Jiangang wrote: > Hi Baoquan He, > > Well, Indeed there‘s a relationship between the dump-capture hangs in > calibrate_delay_converge() and the interrupt mode. > > but there‘s no essential difference between your patches and mine that > calls

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-19 Thread Wei, Jiangang
Hi Baoquan He, Well, Indeed there‘s a relationship between the dump-capture hangs in calibrate_delay_converge() and the interrupt mode. but there‘s no essential difference between your patches and mine that calls disable_IO_APIC() again. Actually, disable_IO_APIC will set APIC to virtual wire

Re: [PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-19 Thread Wei, Jiangang
Hi Baoquan He, Well, Indeed there‘s a relationship between the dump-capture hangs in calibrate_delay_converge() and the interrupt mode. but there‘s no essential difference between your patches and mine that calls disable_IO_APIC() again. Actually, disable_IO_APIC will set APIC to virtual wire

[PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-19 Thread Baoquan He
Wei Jiangang reported kdump kernel always hang when "notsc" is specified in boot parameter. After debugging I found there's no timer interrupt in the current kexec/kdump kernel. This is caused by commit 522e66464467 ("x86/apic: Disable I/O APIC before shutdown of the local APIC"). Originally Eric

[PATCH 0/3] Enable legacy irq mode before jump to kexec/kdump kernel

2016-07-19 Thread Baoquan He
Wei Jiangang reported kdump kernel always hang when "notsc" is specified in boot parameter. After debugging I found there's no timer interrupt in the current kexec/kdump kernel. This is caused by commit 522e66464467 ("x86/apic: Disable I/O APIC before shutdown of the local APIC"). Originally Eric