Re: [PATCH 02/27] Pass PVR in sregs

2009-10-10 Thread Alexander Graf
Am 09.10.2009 um 23:00 schrieb Hollis Blanchard holl...@us.ibm.com: On Tue, 2009-09-29 at 10:17 +0200, Alexander Graf wrote: Right now sregs is unused on PPC, so we can use it for initialization of the CPU. KVM on BookE always virtualizes the host CPU. On Book3s we go a step further and

Re: [PATCH 25/27] Fix trace.h

2009-10-10 Thread Benjamin Herrenschmidt
On Fri, 2009-10-09 at 14:42 -0700, Hollis Blanchard wrote: After much digging, I managed to actually enable CONFIG_TRACEPOINTS. However, I still don't get any build errors from this code. Maybe you could paste the full gcc output? Another option is to be a bit more ppc-ish and call it IAR

Re: [PATCH 16/27] Add desktop PowerPC specific emulation

2009-10-10 Thread Benjamin Herrenschmidt
On Fri, 2009-10-09 at 13:57 -0700, Hollis Blanchard wrote: +#ifdef CONFIG_PPC64 +#ifdef DEBUG_EMUL + printk(KERN_INFO mtDEC: %x\n, vcpu-arch.dec); +#endif + /* POWER4+ triggers a dec interrupt if the value is 0 */ + if (vcpu-arch.dec 0x8000) { +