Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-25 Thread Wei, Jiangang
On Mon, 2016-07-25 at 16:21 +0800, Xunlei Pang wrote: > On 2016/07/25 at 11:04, Wei, Jiangang wrote: > > Hi He, > > > > Thanks for your response firstly. > > > > On Fri, 2016-07-22 at 18:40 +0800, Baoquan He wrote: > >> Hi Jiangang, > >> > >> This is very nice, should be the stuff Eric and Ingo

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-25 Thread Wei, Jiangang
On Mon, 2016-07-25 at 16:21 +0800, Xunlei Pang wrote: > On 2016/07/25 at 11:04, Wei, Jiangang wrote: > > Hi He, > > > > Thanks for your response firstly. > > > > On Fri, 2016-07-22 at 18:40 +0800, Baoquan He wrote: > >> Hi Jiangang, > >> > >> This is very nice, should be the stuff Eric and Ingo

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-25 Thread Xunlei Pang
On 2016/07/25 at 11:04, Wei, Jiangang wrote: > Hi He, > > Thanks for your response firstly. > > On Fri, 2016-07-22 at 18:40 +0800, Baoquan He wrote: >> Hi Jiangang, >> >> This is very nice, should be the stuff Eric and Ingo would like to see. >> But I have several questions: >> >> 1) Are you not

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-25 Thread Xunlei Pang
On 2016/07/25 at 11:04, Wei, Jiangang wrote: > Hi He, > > Thanks for your response firstly. > > On Fri, 2016-07-22 at 18:40 +0800, Baoquan He wrote: >> Hi Jiangang, >> >> This is very nice, should be the stuff Eric and Ingo would like to see. >> But I have several questions: >> >> 1) Are you not

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-24 Thread Wei, Jiangang
Hi He, Thanks for your response firstly. On Fri, 2016-07-22 at 18:40 +0800, Baoquan He wrote: > Hi Jiangang, > > This is very nice, should be the stuff Eric and Ingo would like to see. > But I have several questions: > > 1) Are you not going to clean up the old legacy irq mode setting code in

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-24 Thread Wei, Jiangang
Hi He, Thanks for your response firstly. On Fri, 2016-07-22 at 18:40 +0800, Baoquan He wrote: > Hi Jiangang, > > This is very nice, should be the stuff Eric and Ingo would like to see. > But I have several questions: > > 1) Are you not going to clean up the old legacy irq mode setting code in

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-22 Thread Baoquan He
Hi Jiangang, This is very nice, should be the stuff Eric and Ingo would like to see. But I have several questions: 1) Are you not going to clean up the old legacy irq mode setting code in 1st kernel? 2)I call them legacy irq mode because not only apic virtual wire mode exists, but the PIC mode

Re: [PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-22 Thread Baoquan He
Hi Jiangang, This is very nice, should be the stuff Eric and Ingo would like to see. But I have several questions: 1) Are you not going to clean up the old legacy irq mode setting code in 1st kernel? 2)I call them legacy irq mode because not only apic virtual wire mode exists, but the PIC mode

[PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-22 Thread Wei Jiangang
If we specify the 'notsc' parameter for the dump-capture kernel, and then trigger a crash(panic) by using "ALT-SysRq-c" or "echo c > /proc/sysrq-trigger", the dump-capture kernel will hang in calibrate_delay_converge() and wait for jiffies changes. serial log as follows: tsc: Fast TSC

[PATCH 3/3] x86/apic: Improved the setting of interrupt mode for bsp

2016-07-22 Thread Wei Jiangang
If we specify the 'notsc' parameter for the dump-capture kernel, and then trigger a crash(panic) by using "ALT-SysRq-c" or "echo c > /proc/sysrq-trigger", the dump-capture kernel will hang in calibrate_delay_converge() and wait for jiffies changes. serial log as follows: tsc: Fast TSC