Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-13 Thread jerry . hoemann
On Mon, Nov 11, 2013 at 01:49:41PM +0900, HATAYAMA Daisuke wrote: > > Thanks for your testing. > > >I have seen no issues w/ the 3.0.80 dump testing on our proto. > > > >On the 2.6.32 testing on our proto, i have hit a low probability (< 5%) > >chance of the capture suffering a soft lockup hang d

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-10 Thread HATAYAMA Daisuke
(2013/11/07 4:02), jerry.hoem...@hp.com wrote: On Wed, Oct 23, 2013 at 12:01:18AM +0900, HATAYAMA Daisuke wrote: This patch set is to allow kdump 2nd kernel to wake up multiple CPUs even if 1st kernel crashs on some AP, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-07 Thread HATAYAMA Daisuke
(2013/11/08 12:30), Baoquan He wrote: Hi, Reccently people reported kexec didn't work correctly. After check, it's a regression. Since a code block which migrate current thread to cpu0 when executing "kexec -e", this can be reproduced by setting affinity to CPUn(n!=0). You can find this patch in

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-07 Thread Baoquan He
Hi, Reccently people reported kexec didn't work correctly. After check, it's a regression. Since a code block which migrate current thread to cpu0 when executing "kexec -e", this can be reproduced by setting affinity to CPUn(n!=0). You can find this patch in this link: https://lkml.org/lkml/2013/1

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-06 Thread jerry . hoemann
On Wed, Oct 23, 2013 at 12:01:18AM +0900, HATAYAMA Daisuke wrote: > This patch set is to allow kdump 2nd kernel to wake up multiple CPUs > even if 1st kernel crashs on some AP, a continueing work from: > > [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP > https://lkml.org/lkml/2

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-03 Thread HATAYAMA Daisuke
(2013/10/31 22:27), Vivek Goyal wrote: On Wed, Oct 30, 2013 at 06:58:13PM -0600, jerry.hoem...@hp.com wrote: [..] Daisuke, Are you planning on making changes to the kexec tools to automate the setting of disable_cpu_apic to the capture kernel? Or do you know someone who is planning this? I t

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-11-01 Thread jerry . hoemann
On Thu, Oct 31, 2013 at 09:27:45AM -0400, Vivek Goyal wrote: > On Wed, Oct 30, 2013 at 06:58:13PM -0600, jerry.hoem...@hp.com wrote: > > [..] > > Daisuke, > > > > Are you planning on making changes to the kexec tools to automate > > the setting of disable_cpu_apic to the capture kernel? Or do you

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-31 Thread Simon Horman
On Thu, Oct 31, 2013 at 09:27:45AM -0400, Vivek Goyal wrote: > On Wed, Oct 30, 2013 at 06:58:13PM -0600, jerry.hoem...@hp.com wrote: > > [..] > > Daisuke, > > > > Are you planning on making changes to the kexec tools to automate > > the setting of disable_cpu_apic to the capture kernel? Or do you

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-31 Thread Vivek Goyal
On Wed, Oct 30, 2013 at 06:58:13PM -0600, jerry.hoem...@hp.com wrote: [..] > Daisuke, > > Are you planning on making changes to the kexec tools to automate > the setting of disable_cpu_apic to the capture kernel? Or do you > know someone who is planning this? I think we should not make this chan

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-30 Thread HATAYAMA Daisuke
(2013/10/31 9:58), jerry.hoem...@hp.com wrote: On Wed, Oct 23, 2013 at 09:05:06AM +0900, HATAYAMA Daisuke wrote: - Rebased on top of v3.12-rc6 - Basic design has been changed. Now users need to figure out initial APIC ID of BSP in the 1st kernel and configures kernel parameter for the 2n

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-30 Thread jerry . hoemann
On Wed, Oct 23, 2013 at 09:05:06AM +0900, HATAYAMA Daisuke wrote: > >> > >>- Rebased on top of v3.12-rc6 > >> > >>- Basic design has been changed. Now users need to figure out initial > >> APIC ID of BSP in the 1st kernel and configures kernel parameter for > >> the 2nd kernel manually using di

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-30 Thread HATAYAMA Daisuke
(2013/10/30 15:06), Baoquan He wrote: On 10/30/13 at 09:44am, HATAYAMA Daisuke wrote: (2013/10/29 23:21), Baoquan He wrote: Hi, I am reviewing this patchset, and found there's a cpu0 hotplug feature posted by intel which we can borrow an idea from. In that implementation, CPU0 is waken up by n

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-29 Thread Baoquan He
On 10/30/13 at 09:44am, HATAYAMA Daisuke wrote: > (2013/10/29 23:21), Baoquan He wrote: > >Hi, > > > >I am reviewing this patchset, and found there's a cpu0 hotplug feature > >posted by intel which we can borrow an idea from. In that implementation, > >CPU0 is waken up by nmi not INIT to avoid the

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-29 Thread HATAYAMA Daisuke
(2013/10/29 23:21), Baoquan He wrote: Hi, I am reviewing this patchset, and found there's a cpu0 hotplug feature posted by intel which we can borrow an idea from. In that implementation, CPU0 is waken up by nmi not INIT to avoid the realmode bootstrap code execution. I tried it by below patch wh

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-29 Thread Baoquan He
On 10/29/13 at 10:21pm, Baoquan He wrote: > Hi, > > I am reviewing this patchset, and found there's a cpu0 hotplug feature Forget to attach the link of patch for cpu0 hotplug. http://lwn.net/Articles/475018/ In this patchset, BSP is also called CPU0. > posted by intel which we can borrow an ide

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-29 Thread Baoquan He
Hi, I am reviewing this patchset, and found there's a cpu0 hotplug feature posted by intel which we can borrow an idea from. In that implementation, CPU0 is waken up by nmi not INIT to avoid the realmode bootstrap code execution. I tried it by below patch which includes one line of change. By con

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-23 Thread Eric W. Biederman
Vivek Goyal writes: > Hi Hatayama, > > So what information should I look for to prepare disable_cpu_apic=X in > kdump script? > > Is BSP processor info exported to user space somewhere? Or assuming that > processor 0 is BSP and corresponding apicid should be disabled in kdump > kernel is good eno

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-23 Thread HATAYAMA Daisuke
(2013/10/24 0:51), Vivek Goyal wrote: On Wed, Oct 23, 2013 at 09:05:06AM +0900, HATAYAMA Daisuke wrote: [..] Do you literally mean a human at each boot will have to configure the kdump configuration files for passing disable_cpu_apic? Or do you envision the setting of disable_cpu_apic being put

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-23 Thread Vivek Goyal
On Wed, Oct 23, 2013 at 09:05:06AM +0900, HATAYAMA Daisuke wrote: [..] > >Do you literally mean a human at each boot will have to configure > >the kdump configuration files for passing disable_cpu_apic? > >Or do you envision the setting of disable_cpu_apic being put into > >the kdump initializatio

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-22 Thread HATAYAMA Daisuke
(2013/10/23 7:08), jerry.hoem...@hp.com wrote: On Wed, Oct 23, 2013 at 12:01:18AM +0900, HATAYAMA Daisuke wrote: This patch set is to allow kdump 2nd kernel to wake up multiple CPUs even if 1st kernel crashs on some AP, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if

Re: [PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-22 Thread jerry . hoemann
On Wed, Oct 23, 2013 at 12:01:18AM +0900, HATAYAMA Daisuke wrote: > This patch set is to allow kdump 2nd kernel to wake up multiple CPUs > even if 1st kernel crashs on some AP, a continueing work from: > > [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP > https://lkml.org/lkml/2

[PATCH v4 0/3] x86, apic, kexec: Add disable_cpu_apic kernel parameter

2013-10-22 Thread HATAYAMA Daisuke
This patch set is to allow kdump 2nd kernel to wake up multiple CPUs even if 1st kernel crashs on some AP, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP https://lkml.org/lkml/2013/10/16/300. In this version, basic design has changed. Now users need to