Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-19 Thread Daniel Drake
On Fri, Jan 18, 2013 at 8:35 PM, H. Peter Anvin wrote: > Can we simply disable paging before mucking with CR4? The other option > that I can see is to always enable PSE and PGE, since they are simply > features opt-ins that don't do any harm if unused. At the same time, > though, entering the

Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-19 Thread Daniel Drake
On Fri, Jan 18, 2013 at 8:35 PM, H. Peter Anvin h...@linux.intel.com wrote: Can we simply disable paging before mucking with CR4? The other option that I can see is to always enable PSE and PGE, since they are simply features opt-ins that don't do any harm if unused. At the same time,

Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread Mitch Bradley
On 1/18/2013 4:35 PM, H. Peter Anvin wrote: > On 01/18/2013 05:05 PM, Mitch Bradley wrote: >> >> >> On 1/18/2013 2:42 PM, H. Peter Anvin wrote: >>> On 01/18/2013 04:40 PM, Andres Salomon wrote: Bad news on this patch; I've been told that it breaks booting on an XO-1.5. Does anyone

Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread H. Peter Anvin
On 01/18/2013 05:05 PM, Mitch Bradley wrote: > > > On 1/18/2013 2:42 PM, H. Peter Anvin wrote: >> On 01/18/2013 04:40 PM, Andres Salomon wrote: >>> Bad news on this patch; I've been told that it breaks booting on an >>> XO-1.5. Does anyone from OLPC know why yet? >> >> What are the settings of

Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread Mitch Bradley
On 1/18/2013 2:42 PM, H. Peter Anvin wrote: > On 01/18/2013 04:40 PM, Andres Salomon wrote: >> Bad news on this patch; I've been told that it breaks booting on an >> XO-1.5. Does anyone from OLPC know why yet? > > What are the settings of CR0 and CR4 on kernel entry on XO-1.5? CR0 is

Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread Mitch Bradley
On 1/18/2013 2:42 PM, H. Peter Anvin wrote: On 01/18/2013 04:40 PM, Andres Salomon wrote: Bad news on this patch; I've been told that it breaks booting on an XO-1.5. Does anyone from OLPC know why yet? What are the settings of CR0 and CR4 on kernel entry on XO-1.5? CR0 is 0x8011 CR4

Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread H. Peter Anvin
On 01/18/2013 05:05 PM, Mitch Bradley wrote: On 1/18/2013 2:42 PM, H. Peter Anvin wrote: On 01/18/2013 04:40 PM, Andres Salomon wrote: Bad news on this patch; I've been told that it breaks booting on an XO-1.5. Does anyone from OLPC know why yet? What are the settings of CR0 and CR4 on

Re: [Techteam] [RFC PATCH] x86-32: Start out eflags and cr4 clean

2013-01-18 Thread Mitch Bradley
On 1/18/2013 4:35 PM, H. Peter Anvin wrote: On 01/18/2013 05:05 PM, Mitch Bradley wrote: On 1/18/2013 2:42 PM, H. Peter Anvin wrote: On 01/18/2013 04:40 PM, Andres Salomon wrote: Bad news on this patch; I've been told that it breaks booting on an XO-1.5. Does anyone from OLPC know why