Re: [PATCH 11/15] purgatory: Core purgatory functionality

2014-08-11 Thread Vivek Goyal
On Mon, Aug 11, 2014 at 11:08:48AM -0700, H. Peter Anvin wrote: > On 08/11/2014 11:02 AM, Vivek Goyal wrote: > > > > Hi hpa, > > > > I took it because kexec-tools uses it and in one of the committs Eric > > gave following reasoning. > > > > On x86_64 use -mcmodel=large so that the code is bu

Re: [PATCH 11/15] purgatory: Core purgatory functionality

2014-08-11 Thread Vivek Goyal
On Mon, Aug 11, 2014 at 11:08:48AM -0700, H. Peter Anvin wrote: > On 08/11/2014 11:02 AM, Vivek Goyal wrote: > > > > Hi hpa, > > > > I took it because kexec-tools uses it and in one of the committs Eric > > gave following reasoning. > > > > On x86_64 use -mcmodel=large so that the code is bu

Re: [PATCH 11/15] purgatory: Core purgatory functionality

2014-08-11 Thread H. Peter Anvin
On 08/11/2014 11:02 AM, Vivek Goyal wrote: > > Hi hpa, > > I took it because kexec-tools uses it and in one of the committs Eric > gave following reasoning. > > On x86_64 use -mcmodel=large so that the code is built without > any 32bit assumptions. -mcmodel=medium and -mcmodel=small >

Re: [PATCH 11/15] purgatory: Core purgatory functionality

2014-08-11 Thread Vivek Goyal
On Mon, Aug 11, 2014 at 10:51:10AM -0700, H. Peter Anvin wrote: > On 08/11/2014 10:40 AM, Shaun Ruffell wrote: > > FYI, it looks like the following patch (committed in > > 8fc5b4d4121c95482b2583) adds a new requirement to use at least gcc > > 4.4 to build the kernel? > > Well, to build the kernel

Re: [PATCH 11/15] purgatory: Core purgatory functionality

2014-08-11 Thread H. Peter Anvin
On 08/11/2014 10:40 AM, Shaun Ruffell wrote: > FYI, it looks like the following patch (committed in > 8fc5b4d4121c95482b2583) adds a new requirement to use at least gcc > 4.4 to build the kernel? Well, to build the kernel with that particular new functionality enabled, yes. However... > The abov

Re: [PATCH 11/15] purgatory: Core purgatory functionality

2014-08-11 Thread Shaun Ruffell
FYI, it looks like the following patch (committed in 8fc5b4d4121c95482b2583) adds a new requirement to use at least gcc 4.4 to build the kernel? On Thu, Jun 26, 2014 at 04:33:40PM -0400, Vivek Goyal wrote: > Create a stand alone relocatable object purgatory which runs between two > kernels. This n

[PATCH 11/15] purgatory: Core purgatory functionality

2014-06-26 Thread Vivek Goyal
Create a stand alone relocatable object purgatory which runs between two kernels. This name, concept and some code has been taken from kexec-tools. Idea is that this code runs after a crash and it runs in minimal environment. So keep it separate from rest of the kernel and in long term we will have