Re: cache write back barriers

2013-06-14 Thread Stefan Hajnoczi
On Thu, Jun 13, 2013 at 10:47:32AM +0200, folkert wrote: Hi, In virt-manager I saw that there's the option for cache writeback for storage devices. I'm wondering: does this also make kvm to ignore write barriers invoked by the virtual machine? No, that would be unsafe. When

Re: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:04PM -0700, David Daney wrote: Subject: [PATCH 00/31] KVM/MIPS: Implement hardware virtualization via the MIPS-VZ extensions. From: David Daney david.da...@cavium.com These patches take a somewhat different approach to MIPS virtualization via the MIPS-VZ

Re: [PATCH 17/31] MIPS: Quit exposing Kconfig symbols in uapi headers.

2013-06-14 Thread Ralf Baechle
So this one can be dropped. Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 01/31] MIPS: Move allocate_kscratch to cpu-probe.c and make it public.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:05PM -0700, David Daney wrote: Date: Fri, 7 Jun 2013 16:03:05 -0700 From: David Daney ddaney.c...@gmail.com To: linux-m...@linux-mips.org, r...@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal sanj...@kymasys.com Cc: linux-ker...@vger.kernel.org, David Daney

KVM Forum 2013 Call for Participation

2013-06-14 Thread KVM-Forum-2013-PC
= KVM Forum 2013: Call For Participation October 21-23, 2013 - Edinburgh International Conference Centre - Edinburgh, UK (All submissions must be received before midnight July 21, 2013)

Re: [PATCH 03/31] mips/kvm: Fix 32-bitisms in kvm_locore.S

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:07PM -0700, David Daney wrote: diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/kvm_locore.S index dca2aa6..e86fa2a 100644 --- a/arch/mips/kvm/kvm_locore.S +++ b/arch/mips/kvm/kvm_locore.S @@ -310,7 +310,7 @@ NESTED (MIPSX(GuestException), CALLFRAME_SIZ,

Re: [PATCH 01/31] MIPS: Move allocate_kscratch to cpu-probe.c and make it public.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 14, 2013 at 01:41:18PM +0200, Ralf Baechle wrote: Date: Fri, 14 Jun 2013 13:41:18 +0200 From: Ralf Baechle r...@linux-mips.org To: James Hogan james.ho...@imgtec.com Cc: linux-m...@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal sanj...@kymasys.com,

Re: [PATCH 04/31] mips/kvm: Add casts to avoid pointer width mismatch build failures.

2013-06-14 Thread Ralf Baechle
Cast are always a bit ugly, in particular the one double casts - but a necessary evil here. Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 05/31] mips/kvm: Use generic cache flushing functions.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:09PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com We don't know if we have the r4k specific functions available, so use universally available __flush_cache_all() instead. This takes longer as it flushes both i-cache and d-cache, but is

Re: [PATCH 06/31] mips/kvm: Rename kvm_vcpu_arch.pc to kvm_vcpu_arch.epc

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 07/31] mips/kvm: Rename VCPU_registername to KVM_VCPU_ARCH_registername

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 08/31] mips/kvm: Fix code formatting in arch/mips/kvm/kvm_locore.S

2013-06-14 Thread Ralf Baechle
Ah, here's you're taking care of my eariler complaint about the formatting of kvm_locore.S. I'd have done things in a different order to avoid the inconsistent formatting - even if that was only a temporary state. But anyway, Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe

Re: [PATCH 09/31] mips/kvm: Factor trap-and-emulate support into a pluggable implementation.

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 03/31] mips/kvm: Fix 32-bitisms in kvm_locore.S

2013-06-14 Thread Sergei Shtylyov
Hello. On 14-06-2013 17:09, Ralf Baechle wrote: diff --git a/arch/mips/kvm/kvm_locore.S b/arch/mips/kvm/kvm_locore.S index dca2aa6..e86fa2a 100644 --- a/arch/mips/kvm/kvm_locore.S +++ b/arch/mips/kvm/kvm_locore.S @@ -310,7 +310,7 @@ NESTED (MIPSX(GuestException), CALLFRAME_SIZ, ra)

Re: [PATCH] pci: Enable overrides for missing ACS capabilities

2013-06-14 Thread Alex Williamson
Bump. Comments? On Thu, 2013-05-30 at 12:40 -0600, Alex Williamson wrote: PCIe ACS (Access Control Services) is the PCIe 2.0+ feature that allows us to control whether transactions are allowed to be redirected in various subnodes of a PCIe topology. For instance, if two endpoints are below

Re: [PATCH 10/31] mips/kvm: Implement ioctls to get and set FPU registers.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:14PM -0700, David Daney wrote: From: David Daney david.da...@cavium.com The current implementation does nothing with them, but future MIPSVZ work need them. Also add the asm-offsets accessors for the fields. Just as a note, older MIPS FPUs only have fcr0 and

Re: [PATCH 11/31] MIPS: Rearrange branch.c so it can be used by kvm code.

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 12/31] MIPS: Add instruction format information for WAIT, MTC0, MFC0, et al.

2013-06-14 Thread Ralf Baechle
On Fri, Jun 07, 2013 at 04:03:16PM -0700, David Daney wrote: To: linux-m...@linux-mips.org, r...@linux-mips.org, kvm@vger.kernel.org, Sanjay Lal sanj...@kymasys.com Cc: linux-ker...@vger.kernel.org, David Daney david.da...@cavium.com Subject: [PATCH 12/31] MIPS: Add instruction format

Re: [PATCH 13/31] mips/kvm: Add accessors for MIPS VZ registers.

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 14/31] mips/kvm: Add thread_info flag to indicate operation in MIPS VZ Guest Mode.

2013-06-14 Thread Ralf Baechle
Acked-by: Ralf Baechle r...@linux-mips.org Ralf -- To unsubscribe from this list: send the line unsubscribe kvm in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: BUG: perf kvm top --callgraph not showing callgraph

2013-06-14 Thread David Ahern
[added kvm devel list and Xiao who implemented the original perf-kvm as I recall] On 6/14/13 5:11 PM, Cody P Schafer wrote: I am under the impression the limitations are these 2 snippets in arch/x86/kernel/cpu/perf_event.c: Yep, that's disabling the in-kernel callchain generation (the in-perf

[kvm-unit-test PATCH] kvmclock: serialize RDTSC

2013-06-14 Thread Marcelo Tosatti
Serialize RDTSC so its executed inside kvmclock_read section. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=922285 Signed-off-by: Marcelo Tosatti mtosa...@redhat.com diff --git a/x86/kvmclock.c b/x86/kvmclock.c index 0624da3..5b831c5 100644 --- a/x86/kvmclock.c +++ b/x86/kvmclock.c @@

Re: [PATCH v3 0/6] KVM: MMU: fast invalidate all mmio sptes

2013-06-14 Thread Takuya Yoshikawa
On Thu, 13 Jun 2013 21:08:21 -0300 Marcelo Tosatti mtosa...@redhat.com wrote: On Fri, Jun 07, 2013 at 04:51:22PM +0800, Xiao Guangrong wrote: - Where is the generation number increased? Looks like when a new slot is installed in update_memslots() because it's based on slots-generation. This

Re: Book3s_hv KVM HTAB bug

2013-06-14 Thread Paul Mackerras
On Fri, Jun 14, 2013 at 01:58:52AM +0200, Alexander Graf wrote: Yeah, sounds like this really is the problem. So what I was asking you back then was to take a look at the dynamic page reshuffling mechanisms that got introduced with CMA and transparent huge pages. I don't think that