Re: [PATCH] i386: Decouple PAE from CONFIG_CMPXCHG64

2007-07-18 Thread H. Peter Anvin
Andi Kleen wrote: >> >> No processors that support KVM exist that also do not support CMPXCHG64, >> so no additional check is necessary. This setup allows for a single kernel >> that will boot on i486 and also support KVM if available. > > The CONFIG should only control the early CPUID checks, wh

Re: [PATCH] i386: Decouple PAE from CONFIG_CMPXCHG64

2007-07-18 Thread Andi Kleen
On Wed, Jul 18, 2007 at 07:34:47PM +0300, Avi Kivity wrote: > Commit 9d9bbd4d247a674deb43565582151acdc22e90d1 makes CONFIG_CMPXCHG64 > dependent on CONFIG_HIGHMEM64G, but KVM guest SMP support now also > requires CMPXCHG64 while not being tied to PAE. So the effect of that patch > is to disable KV

[PATCH] i386: Decouple PAE from CONFIG_CMPXCHG64

2007-07-18 Thread Avi Kivity
Commit 9d9bbd4d247a674deb43565582151acdc22e90d1 makes CONFIG_CMPXCHG64 dependent on CONFIG_HIGHMEM64G, but KVM guest SMP support now also requires CMPXCHG64 while not being tied to PAE. So the effect of that patch is to disable KVM on non-PAE configs. Untangle those dependencies by: - having KVM