RE: [PATCH 2/2] KVM: PPC: booke/bookehv: Add guest debug support

2012-08-16 Thread Bhushan Bharat-R65777
diff --git a/arch/powerpc/include/asm/kvm.h b/arch/powerpc/include/asm/kvm.h index 3c14202..da71c84 100644 --- a/arch/powerpc/include/asm/kvm.h +++ b/arch/powerpc/include/asm/kvm.h @@ -25,6 +25,7 @@ /* Select powerpc specific features in linux/kvm.h */ #define __KVM_HAVE_SPAPR_TCE

[PATCH 3/3] KVM: PPC: BookE: Support FPU on non-hv systems

2012-08-16 Thread Alexander Graf
When running on HV aware hosts, we can not trap when the guest sets the FP bit, so we just let it do so when it wants to, because it has full access to MSR. For non-HV aware hosts with an FPU (like 440), we need to also adjust the shadow MSR though. Otherwise the guest gets an FP unavailable trap

[PATCH 1/3] KVM: PPC: Book3S HV: Fix incorrect branch in H_CEDE code

2012-08-16 Thread Alexander Graf
From: Paul Mackerras pau...@samba.org In handling the H_CEDE hypercall, if this vcpu has already been prodded (with the H_PROD hypercall, which Linux guests don't in fact use), we branch to a numeric label '1f'. Unfortunately there is another '1:' label before the one that we want to jump to.

[PATCH 2/3] KVM: PPC: Add cache flush on page map

2012-08-16 Thread Alexander Graf
When we map a page that wasn't icache cleared before, do so when first mapping it in KVM using the same information bits as the Linux mapping logic. That way we are 100% sure that any page we map does not have stale entries in the icache. Signed-off-by: Alexander Graf ag...@suse.de ---

[PULL 3.6 0/3] ppc patch queue 2012-08-16 for 3.6

2012-08-16 Thread Alexander Graf
Hi Avi, This is my patch queue for ppc patches that should go into 3.6. Please pull. * Fix memset in e500_tlb * Fix icache flush when mapping executable pages * Fix wrong branch in book3s hv code Alex The following changes since commit 439793d4b3c99e550daebd868bbd58967c93d0b3: Gleb