Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-23 Thread H. Peter Anvin
Andi Kleen wrote: >> >> your patch did not work. See the correction below. The mask should contain >> 1<<1 instead of 1. >> Model 10 is now also included. > > Ok thanks fixed. > For newsetup, did we agree to just go with model >= 6 or (model >= 6 && model <= 10)? Note that newsetup only does th

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread H. Peter Anvin
Claas Langbehn wrote: > Hello Andi! >> Can someone please test if this patch works? > it applies cleanly to 2.6.22-rc1-mm1 > > Could you make it also enable C7 CMPXCHG8 (cx8)? > This is because I am getting this error (as written in a diffent posting > on this mailinglist) >> This kernel requir

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread Claas Langbehn
Christian Volkmann wrote: your patch did not work. See the correction below. The mask should contain 1<<1 instead of 1. Model 10 is now also included. I can confirm that it works now. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread Claas Langbehn
Christian Volkmann wrote: Hi Andi, your patch did not work. See the correction below. The mask should contain 1<<1 instead of 1. Model 10 is now also included. I add also a patch for setup.S. It does not print the CPUID message in case the CPUID is wrong, cause %ds was not set proper. Hell

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread Dave Jones
On Sat, May 19, 2007 at 01:47:44PM +0200, Andi Kleen wrote: > On Saturday 19 May 2007 08:02, Dave Jones wrote: > > On Sat, May 19, 2007 at 07:53:16AM +0200, Andi Kleen wrote: > > > This preserves the 6 <= model <= 9 logic of the C code; this means > > > if VIA ever brings out model >= 10 it

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread Andi Kleen
On Saturday 19 May 2007 13:42, Christian Volkmann wrote: > Andi Kleen wrote: > > Can someone please test if this patch works? > > > > This preserves the 6 <= model <= 9 logic of the C code; this means > > if VIA ever brings out model >= 10 it hopefully sets this bit by default. > > Dave, do you ha

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread Andi Kleen
On Saturday 19 May 2007 08:02, Dave Jones wrote: > On Sat, May 19, 2007 at 07:53:16AM +0200, Andi Kleen wrote: > > This preserves the 6 <= model <= 9 logic of the C code; this means > > if VIA ever brings out model >= 10 it hopefully sets this bit by > > default. Dave, do you have any informati

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread Christian Volkmann
Andi Kleen wrote: > Can someone please test if this patch works? > > This preserves the 6 <= model <= 9 logic of the C code; this means > if VIA ever brings out model >= 10 it hopefully sets this bit by default. > Dave, do you have any information to the contrary? > > -Andi > Hi Andi, your p

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-19 Thread Claas Langbehn
Hello Andi! Can someone please test if this patch works? it applies cleanly to 2.6.22-rc1-mm1 Could you make it also enable C7 CMPXCHG8 (cx8)? This is because I am getting this error (as written in a diffent posting on this mailinglist) > This kernel requires the following features not prese

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-18 Thread Dave Jones
On Sat, May 19, 2007 at 07:53:16AM +0200, Andi Kleen wrote: > This preserves the 6 <= model <= 9 logic of the C code; this means > if VIA ever brings out model >= 10 it hopefully sets this bit by default. > Dave, do you have any information to the contrary? Model 10 (Esther) has the same feat

Re: 2.6.22-rc1 does not boot on VIA C3_2 cause of X86_CMPXCHG64 II

2007-05-18 Thread Andi Kleen
On Thursday 17 May 2007 02:42, Dave Jones wrote: > On Thu, May 17, 2007 at 02:09:16AM +0200, Christian wrote: > > my small VIA C3_2 box does not boot with 2.6.22-rc1. > > It even does not uncompress the kernel. > > > > The configuration as M386 M486 works. But M586 + MVIAC3_2 > > does not work