[PATCH 14/39] KVM: PPC: Pass program interrupt flags to the guest
From: Alexander Graf <agraf(a)suse.de> When we need to reinject a program interrupt into the guest, we also need to reinject the corresponding flags into the guest. Signed-off-by: Alexander Graf <agraf(a)suse.de> Reported-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Avi Kivity <avi(a)redhat.c... 13 Feb 2010 03:53
x86-64, rwsem: Avoid store forwarding hazzard in __downgrade_write
On 02/12/2010 11:13 PM, Avi Kivity wrote: +#ifndef CONFIG_X86_64 + "i" (-RWSEM_WAITING_BIAS) +#else + "r" (-RWSEM_WAITING_BIAS) #endif + : "memory", "cc"); Using an "er" constraint here should work on both architectures. -hpa -- H. Peter Anvin, Intel Open Source Tech... 13 Feb 2010 03:53
[PATCH 17/39] KVM: VMX: trace clts and lmsw instructions as cr accesses
clts writes cr0.ts; lmsw writes cr0[0:15] - record that in ftrace. Signed-off-by: Avi Kivity <avi(a)redhat.com> --- arch/x86/kvm/vmx.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 9b197b2..7c7b2ee 100644 --- a/arch/x86/kvm/vmx.c +++... 13 Feb 2010 03:53
[linux-2.6 linux-next] Can't "git pull"
Hello. I can't "git pull" for linux-2.6 and linux-next tree. Other trees seems to be OK. Is this temporary problem? $ cd ~/linux-2.6/ $ git pull origin master fatal: http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git/info/refs not found: did you run git update-server-info on the server? $ ... 13 Feb 2010 03:53
[PATCH 13/39] KVM: PPC: Fix HID5 setting code
From: Alexander Graf <agraf(a)suse.de> The code to unset HID5.dcbz32 is broken. This patch makes it do the right rotate magic. Signed-off-by: Alexander Graf <agraf(a)suse.de> Reported-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Avi Kivity <avi(a)redhat.com> --- arch/powerpc/kvm/book3s_64_... 13 Feb 2010 03:53
[PATCH 24/39] KVM: SVM: Initialize fpu_active in init_vmcb()
init_vmcb() sets up the intercepts as if the fpu is active, so initialize it there. This avoids an INIT from setting up intercepts inconsistent with fpu_active. Acked-by: Joerg Roedel <joerg.roedel(a)amd.com> Signed-off-by: Avi Kivity <avi(a)redhat.com> --- arch/x86/kvm/svm.c | 3 ++- 1 files changed, 2 inser... 13 Feb 2010 03:53
[PATCH 02/39] KVM: x86: Moving PT_*_LEVEL to mmu.h
From: Sheng Yang <sheng(a)linux.intel.com> We can use them in x86.c and vmx.c now... Signed-off-by: Sheng Yang <sheng(a)linux.intel.com> Signed-off-by: Marcelo Tosatti <mtosatti(a)redhat.com> --- arch/x86/kvm/mmu.c | 4 ---- arch/x86/kvm/mmu.h | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) di... 13 Feb 2010 03:52
[PATCH 15/39] KVM: PPC: Pass through program interrupts
From: Alexander Graf <agraf(a)suse.de> When we get a program interrupt in guest kernel mode, we try to emulate the instruction. If that doesn't fail, we report to the user and try again - at the exact same instruction pointer. So if the guest kernel really does trigger an invalid instruction, we loop forever. ... 13 Feb 2010 03:52
[PATCH 05/39] KVM: Fix the explanation of write_emulated
From: Takuya Yoshikawa <yoshikawa.takuya(a)oss.ntt.co.jp> The explanation of write_emulated is confused with that of read_emulated. This patch fix it. Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya(a)oss.ntt.co.jp> Signed-off-by: Marcelo Tosatti <mtosatti(a)redhat.com> --- arch/x86/include/asm/kvm_emulate.h | ... 13 Feb 2010 03:52
[PATCH 21/39] KVM: VMX: Give the guest ownership of cr0.ts when the fpu is active
If the guest fpu is loaded, there is nothing interesing about cr0.ts; let the guest play with it as it will. This makes context switches between fpu intensive guest processes faster, as we won't trap the clts and cr0 write instructions. [marcelo: fix cr0 read shadow update on fpu deactivation; kills F8 install] ... 13 Feb 2010 03:52