Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-28 Thread Joonsoo Kim
On Thu, Jan 24, 2013 at 08:52:32PM -0800, Greg Kroah-Hartman wrote: > On Thu, Jan 24, 2013 at 09:21:52PM -0700, Bjorn Helgaas wrote: > > On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman > > wrote: > > > On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: > > >> [+cc Greg for driver

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-28 Thread Joonsoo Kim
On Thu, Jan 24, 2013 at 08:52:32PM -0800, Greg Kroah-Hartman wrote: On Thu, Jan 24, 2013 at 09:21:52PM -0700, Bjorn Helgaas wrote: On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: [+cc

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2013 at 09:21:52PM -0700, Bjorn Helgaas wrote: > On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman > wrote: > > On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: > >> [+cc Greg for driver core] > >> > >> On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: >

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Bjorn Helgaas
On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman wrote: > On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: >> [+cc Greg for driver core] >> >> On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: >> > Hello, Bjorn. >> > >> > On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: > [+cc Greg for driver core] > > On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: > > Hello, Bjorn. > > > > On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn Helgaas wrote: > > > On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Bjorn Helgaas
[+cc Greg for driver core] On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: > Hello, Bjorn. > > On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn Helgaas wrote: > > On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim wrote: > > > During early boot phase, PCI bus subsystem is not yet

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Joonsoo Kim
Hello, Bjorn. On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn Helgaas wrote: > On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim wrote: > > During early boot phase, PCI bus subsystem is not yet initialized. > > If panic is occured in early boot phase and panic_timeout is set, > > code flow go into

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Bjorn Helgaas
On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim wrote: > During early boot phase, PCI bus subsystem is not yet initialized. > If panic is occured in early boot phase and panic_timeout is set, > code flow go into emergency_restart() and hit mach_reboot_fixups(), then > encounter another panic. When

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Bjorn Helgaas
On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim js1...@gmail.com wrote: During early boot phase, PCI bus subsystem is not yet initialized. If panic is occured in early boot phase and panic_timeout is set, code flow go into emergency_restart() and hit mach_reboot_fixups(), then encounter another

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Joonsoo Kim
Hello, Bjorn. On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn Helgaas wrote: On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim js1...@gmail.com wrote: During early boot phase, PCI bus subsystem is not yet initialized. If panic is occured in early boot phase and panic_timeout is set, code flow

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Bjorn Helgaas
[+cc Greg for driver core] On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: Hello, Bjorn. On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn Helgaas wrote: On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim js1...@gmail.com wrote: During early boot phase, PCI bus subsystem is not yet

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: [+cc Greg for driver core] On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: Hello, Bjorn. On Thu, Jan 24, 2013 at 10:45:13AM -0700, Bjorn Helgaas wrote: On Fri, Dec 28, 2012 at 6:50 AM, Joonsoo Kim

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Bjorn Helgaas
On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: [+cc Greg for driver core] On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo Kim wrote: Hello, Bjorn. On Thu, Jan 24, 2013 at 10:45:13AM

Re: [PATCH] x86, reboot: skip reboot_fixups in early boot phase

2013-01-24 Thread Greg Kroah-Hartman
On Thu, Jan 24, 2013 at 09:21:52PM -0700, Bjorn Helgaas wrote: On Thu, Jan 24, 2013 at 9:14 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Thu, Jan 24, 2013 at 07:59:01PM -0700, Bjorn Helgaas wrote: [+cc Greg for driver core] On Fri, Jan 25, 2013 at 10:13:03AM +0900, Joonsoo

[PATCH] x86, reboot: skip reboot_fixups in early boot phase

2012-12-28 Thread Joonsoo Kim
During early boot phase, PCI bus subsystem is not yet initialized. If panic is occured in early boot phase and panic_timeout is set, code flow go into emergency_restart() and hit mach_reboot_fixups(), then encounter another panic. When second panic, we can't hold a panic_lock, so code flow go into

[PATCH] x86, reboot: skip reboot_fixups in early boot phase

2012-12-28 Thread Joonsoo Kim
During early boot phase, PCI bus subsystem is not yet initialized. If panic is occured in early boot phase and panic_timeout is set, code flow go into emergency_restart() and hit mach_reboot_fixups(), then encounter another panic. When second panic, we can't hold a panic_lock, so code flow go into