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

2013-06-19 Thread Ralf Baechle
FYI, Since you intend to resubmit anyway I just dropped the entire series from patchwork. 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

[PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 4 arch/x86/include/asm/kvm_host.h | 5 + arch/x86/kvm/mmu.c| 7 --- 3 files changed, 13 insertions(+), 3

[PATCH 6/7] KVM: MMU: document fast invalidate all pages

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 23 +++ arch/x86/include/asm/kvm_host.h | 5 + 2 files changed, 28 insertions(+) diff --git

[PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 25 + 1 file changed, 25 insertions(+) diff --git a/Documentation/virtual/kvm/mmu.txt

[PATCH 0/7] KVM: MMU: update mmu documentation

2013-06-19 Thread Xiao Guangrong
As Paolo pointed out that this is the time to update the documentation, this patchest does it to let mmu.txt matches with the current mmu implementation Xiao Guangrong (7): KVM: MMU: update the documentation for reverse mapping of parent_pte KVM: MMU: document clear_spte_count KVM: MMU:

[PATCH 4/7] KVM: MMU: document mmio page fault

2013-06-19 Thread Xiao Guangrong
Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/virtual/kvm/mmu.txt

[PATCH 5/7] KVM: MMU: document fast page fault in

2013-06-19 Thread Xiao Guangrong
Document fast page fault to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/virtual/kvm/mmu.txt b/Documentation/virtual/kvm/mmu.txt index

[PATCH 3/7] KVM: MMU: document write_flooding_count

2013-06-19 Thread Xiao Guangrong
Document write_flooding_count to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 8 arch/x86/include/asm/kvm_host.h | 5 + 2 files changed, 13 insertions(+) diff --git

[PATCH 1/7] KVM: MMU: update the documentation for reverse mapping of parent_pte

2013-06-19 Thread Xiao Guangrong
Update the document to match the current reverse mapping of parent_pte Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/virtual/kvm/mmu.txt

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun 19, 2013 at 12:44 AM, Gleb Natapov g...@redhat.com wrote: Send code in a form of a patch. On Wed, Jun 19, 2013 at 12:14:13AM +0800, 李春奇 Arthur Chunqi Li wrote: extern u8 insn_page[], insn_page_end[];

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alexander Graf
On 19.06.2013, at 06:59, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 13:05 +0930, Rusty Russell wrote: symbol_get() won't try to load a module; it'll just fail. This is what you want, since they must have vfio in the kernel to get a valid fd... Ok, cool. I suppose what we want

Re: [PATCH] kvm api doc: fix section numbers

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 03:42, Alexey Kardashevskiy ha scritto: Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- Documentation/virtual/kvm/api.txt |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/virtual/kvm/api.txt

Re: [PATCH 1/7] KVM: MMU: update the documentation for reverse mapping of parent_pte

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Update the document to match the current reverse mapping of parent_pte Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-)

Re: [PATCH v2 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO

2013-06-19 Thread Gleb Natapov
On Tue, Jun 18, 2013 at 10:59:37AM -0700, Nakajima, Jun wrote: On Tue, Jun 18, 2013 at 8:16 AM, Gleb Natapov g...@redhat.com wrote: On Tue, Jun 18, 2013 at 04:05:08PM +0200, Paolo Bonzini wrote: Il 05/06/2013 10:42, Gleb Natapov ha scritto: These patches add an emulated MSR_PLATFORM_INFO

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

2013-06-19 Thread Paolo Bonzini
Il 10/06/2013 19:03, Gleb Natapov ha scritto: On Mon, Jun 10, 2013 at 10:43:52PM +0900, Takuya Yoshikawa wrote: On Mon, 10 Jun 2013 16:39:37 +0800 Xiao Guangrong xiaoguangrong.e...@gmail.com wrote: On 06/10/2013 03:56 PM, Gleb Natapov wrote: On Fri, Jun 07, 2013 at 04:51:22PM +0800, Xiao

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

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:08 PM, Paolo Bonzini wrote: Il 10/06/2013 19:03, Gleb Natapov ha scritto: On Mon, Jun 10, 2013 at 10:43:52PM +0900, Takuya Yoshikawa wrote: On Mon, 10 Jun 2013 16:39:37 +0800 Xiao Guangrong xiaoguangrong.e...@gmail.com wrote: On 06/10/2013 03:56 PM, Gleb Natapov wrote: On

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:32 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt While reviewing the docs, I looked at the code. Why can't this happen? CPU 1: __get_spte_lockless CPU 2: __update_clear_spte_slow

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 13:53, Xiao Guangrong ha scritto: On 06/19/2013 07:32 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt While reviewing the docs, I looked at the code. Why can't this happen? CPU 1:

Re: [PATCH 3/7] KVM: MMU: document write_flooding_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document write_flooding_count to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 8 arch/x86/include/asm/kvm_host.h | 5 + 2 files

Re: [PATCH 4/7] KVM: MMU: document mmio page fault

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 5/7] KVM: MMU: document fast page fault in

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document fast page fault to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun 19, 2013 at 12:44 AM, Gleb Natapov g...@redhat.com wrote: Send code in a form of a patch. On Wed, Jun 19, 2013 at 12:14:13AM +0800, 李春奇

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 08:18:29PM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun 19, 2013 at 12:44 AM, Gleb Natapov g...@redhat.com wrote: Send code

Re: [PATCH 6/7] KVM: MMU: document fast invalidate all pages

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 23 +++ arch/x86/include/asm/kvm_host.h | 5 + 2 files

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:55 PM, Paolo Bonzini wrote: Il 19/06/2013 13:53, Xiao Guangrong ha scritto: On 06/19/2013 07:32 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt While reviewing the docs, I looked at the code. Why

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
On Wed, Jun 19, 2013 at 8:26 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun 19, 2013 at 08:18:29PM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun 19, 2013 at 09:26:59AM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 08:30:33PM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun 19, 2013 at 8:26 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun 19, 2013 at 08:18:29PM +0800, 李春奇 Arthur Chunqi Li wrote: On Wed, Jun 19, 2013 at 5:31 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun

Re: [PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 25 + 1 file changed, 25 insertions(+) diff --git

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:40 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt Edits inline, please ack. Good to me. Thank you very much for bearing my poor English. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 14:25, Xiao Guangrong ha scritto: On 06/19/2013 07:55 PM, Paolo Bonzini wrote: Il 19/06/2013 13:53, Xiao Guangrong ha scritto: On 06/19/2013 07:32 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt While

Re: [PATCH 3/7] KVM: MMU: document write_flooding_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 07:58 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document write_flooding_count to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 8

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

2013-06-19 Thread Don Dutile
On 06/18/2013 10:52 PM, Bjorn Helgaas wrote: On Tue, Jun 18, 2013 at 5:03 PM, Don Dutileddut...@redhat.com wrote: On 06/18/2013 06:22 PM, Alex Williamson wrote: On Tue, 2013-06-18 at 15:31 -0600, Bjorn Helgaas wrote: On Tue, Jun 18, 2013 at 12:20 PM, Alex Williamson

Re: [PATCH 4/7] KVM: MMU: document mmio page fault

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:10 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 11 +-- 1 file changed, 9

Re: [PATCH 5/7] KVM: MMU: document fast page fault in

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:13 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document fast page fault to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 3 +++ 1 file changed, 3

Re: [PATCHv1] kvm guest: fix uninitialized kvmclock read by KVM guest

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 00:21, Marcelo Tosatti ha scritto: On Sat, Jun 15, 2013 at 10:01:45PM +0400, Eugene Batalov wrote: Due to unintialized kvmclock read KVM guest is hanging on SMP boot stage. If unintialized memory contains fatal garbage then hang reproduction is 100%. Unintialized memory is

Re: [PATCH 6/7] KVM: MMU: document fast invalidate all pages

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:25 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 23 +++

Re: [PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:35 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it to Documentation/virtual/kvm/mmu.txt Signed-off-by: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com --- Documentation/virtual/kvm/mmu.txt | 25 + 1 file changed,

Re: [PATCHv1] kvm guest: fix uninitialized kvmclock read by KVM guest

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 15:20, Batalov Eugene ha scritto: I've missed this detail. It looks like Igor's patch doesn't bring secondary cpus kvm_clocksource behavior back to one before the regression, Before the regression per_cpu variables are used to allocate kvm_pv_clock areas. To to usage of percpu

Re: [PATCH 2/7] KVM: MMU: document clear_spte_count

2013-06-19 Thread Xiao Guangrong
On 06/19/2013 08:41 PM, Paolo Bonzini wrote: Il 19/06/2013 14:25, Xiao Guangrong ha scritto: On 06/19/2013 07:55 PM, Paolo Bonzini wrote: Il 19/06/2013 13:53, Xiao Guangrong ha scritto: On 06/19/2013 07:32 PM, Paolo Bonzini wrote: Il 19/06/2013 11:09, Xiao Guangrong ha scritto: Document it

Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with entry failed, hardware error 0x80000021

2013-06-19 Thread Gleb Natapov
On Sun, Jun 16, 2013 at 02:25:04AM +0200, Stefan Pietsch wrote: On 13.06.2013 16:59, Stefan Pietsch wrote: On 13.06.2013 15:42, Paolo Bonzini wrote: Il 13/06/2013 07:57, Stefan Pietsch ha scritto: git bisect tells me: 79fd50c67f91136add9726fb7719b57a66c6f763 is the first bad commit

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
I found the final reason! The initial use of init_ram is also used by test_rip_relative(), which will cause conflict. I changed it and everything runs well. On Wed, Jun 19, 2013 at 8:32 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun 19, 2013 at 08:30:33PM +0800, 李春奇 Arthur Chunqi Li wrote:

Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with entry failed, hardware error 0x80000021

2013-06-19 Thread Stefan Pietsch
On 19.06.2013 15:41, Gleb Natapov wrote: On Sun, Jun 16, 2013 at 02:25:04AM +0200, Stefan Pietsch wrote: first bad commit: [25391454e73e3156202264eb3c473825afe4bc94] KVM: VMX: don't clobber segment AR of unusable segments. 25391454e73e3156202264eb3c473825afe4bc94

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 10:01:40PM +0800, 李春奇 Arthur Chunqi Li wrote: I found the final reason! The initial use of init_ram is also used by test_rip_relative(), which will cause conflict. I changed it and everything runs well. Not sure what you mean. Your version of test_movabs does not use

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
I use insn_ram as what the origin/master done before. I don't know how to describe it clearly, I will commit a patch later and you can get to know from my codes. Arthur On Wed, Jun 19, 2013 at 10:13 PM, Gleb Natapov g...@redhat.com wrote: On Wed, Jun 19, 2013 at 10:01:40PM +0800, 李春奇 Arthur

Re: Bug#707257: linux-image-3.8-1-686-pae: KVM crashes with entry failed, hardware error 0x80000021

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 04:12:04PM +0200, Stefan Pietsch wrote: On 19.06.2013 15:41, Gleb Natapov wrote: On Sun, Jun 16, 2013 at 02:25:04AM +0200, Stefan Pietsch wrote: first bad commit: [25391454e73e3156202264eb3c473825afe4bc94] KVM: VMX: don't clobber segment AR of unusable segments.

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Benjamin Herrenschmidt
On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: Alex, any objection ? Which Alex? :) Heh, mostly Williamson in this specific case but your input is still welcome :-) I think validate works, it keeps iteration logic out of the kernel which is a good thing. There still needs to be

[PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Arthur Chunqi Li
Add a function trap_emulator to run an instruction in emulator. Set inregs first (%rax is invalid because it is used as return address), put instruction codec in alt_insn and call func with alt_insn_length. Get results in outregs. Signed-off-by: Arthur Chunqi Li yzt...@gmail.com ---

[PATCH 2/2] kvm-unit-tests: Change two cases to use trap_emulator

2013-06-19 Thread Arthur Chunqi Li
Change two functions (test_mmx_movq_mf and test_movabs) using unified trap_emulator. Signed-off-by: Arthur Chunqi Li yzt...@gmail.com --- x86/emulator.c | 62 ++-- 1 file changed, 11 insertions(+), 51 deletions(-) diff --git a/x86/emulator.c

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread 李春奇
Hi Gleb, This version can set %rsp before trapping into emulator, because insn_page and alt_insn_page is statically defined and their relative position to (save) is fixed during execution. In this way, test case of test_mmx_movq_mf needs to pre-define its own stack, this change is in the next

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alex Williamson
On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: Alex, any objection ? Which Alex? :) Heh, mostly Williamson in this specific case but your input is still welcome :-) I think validate works, it keeps

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Wed, Jun 19, 2013 at 11:07:18PM +0800, 李春奇 Arthur Chunqi Li wrote: Hi Gleb, This version can set %rsp before trapping into emulator, because insn_page and alt_insn_page is statically defined and their relative position to (save) is fixed during execution. The position of the code is not

[GIT PULL] KVM fixes for 3.10-rc7

2013-06-19 Thread Paolo Bonzini
Linus, the following changes since commit 77293e215edef7871a39de4b326f777bc39278ca: Merge branch 'fixes-3.10' of git://git.infradead.org/users/willy/linux-nvme (2013-06-11 23:07:21 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus

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

2013-06-19 Thread Paolo Bonzini
Il 07/06/2013 10:51, Xiao Guangrong ha scritto: Changelog: V3: All of these changes are from Gleb's review: 1) rename RET_MMIO_PF_EMU to RET_MMIO_PF_EMULATE. 2) smartly adjust kvm generation number in kvm_current_mmio_generatio() to avoid kvm_memslots-generation overflow. V2:

Re: [PATCH 0/7] KVM: MMU: update mmu documentation

2013-06-19 Thread Paolo Bonzini
Il 19/06/2013 11:09, Xiao Guangrong ha scritto: As Paolo pointed out that this is the time to update the documentation, this patchest does it to let mmu.txt matches with the current mmu implementation Xiao Guangrong (7): KVM: MMU: update the documentation for reverse mapping of parent_pte

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gmail
在 2013-6-20,0:03,Gleb Natapov g...@redhat.com 写道: On Wed, Jun 19, 2013 at 11:07:18PM +0800, 李春奇 Arthur Chunqi Li wrote: Hi Gleb, This version can set %rsp before trapping into emulator, because insn_page and alt_insn_page is statically defined and their relative position to (save) is fixed

Re: [PATCH v2 0/2] kvm: x86: Emulate MSR_PLATFORM_INFO

2013-06-19 Thread Bandan Das
Gleb Natapov g...@redhat.com writes: On Tue, Jun 18, 2013 at 11:29:27AM -0400, Bandan Das wrote: Gleb Natapov g...@redhat.com writes: On Tue, Jun 18, 2013 at 04:05:08PM +0200, Paolo Bonzini wrote: Il 05/06/2013 10:42, Gleb Natapov ha scritto: These patches add an emulated

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alexey Kardashevskiy
On 06/20/2013 01:49 AM, Alex Williamson wrote: On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: Alex, any objection ? Which Alex? :) Heh, mostly Williamson in this specific case but your input is still welcome :-)

Re: [PATCH 7/7] KVM: MMU: document fast invalidate all mmio sptes

2013-06-19 Thread Rob Landley
On 06/19/2013 04:09:25 AM, Xiao Guangrong wrote: Document it to Documentation/virtual/kvm/mmu.txt Why break a change to a single documentation file into 7 pieces. Are we going to bisect the documentation? Rob-- To unsubscribe from this list: send the line unsubscribe kvm in the body of a

Re: [PATCH 1/2] kvm-unit-tests: Add a func to run instruction in emulator

2013-06-19 Thread Gleb Natapov
On Thu, Jun 20, 2013 at 01:48:39AM +0800, Gmail wrote: 在 2013-6-20,0:03,Gleb Natapov g...@redhat.com 写道: On Wed, Jun 19, 2013 at 11:07:18PM +0800, 李春奇 Arthur Chunqi Li wrote: Hi Gleb, This version can set %rsp before trapping into emulator, because insn_page and alt_insn_page is

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alexander Graf
On 19.06.2013, at 06:59, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 13:05 +0930, Rusty Russell wrote: symbol_get() won't try to load a module; it'll just fail. This is what you want, since they must have vfio in the kernel to get a valid fd... Ok, cool. I suppose what we want

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Benjamin Herrenschmidt
On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: Alex, any objection ? Which Alex? :) Heh, mostly Williamson in this specific case but your input is still welcome :-) I think validate works, it keeps iteration logic out of the kernel which is a good thing. There still needs to be

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alex Williamson
On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: Alex, any objection ? Which Alex? :) Heh, mostly Williamson in this specific case but your input is still welcome :-) I think validate works, it keeps

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alexey Kardashevskiy
On 06/20/2013 01:49 AM, Alex Williamson wrote: On Thu, 2013-06-20 at 00:50 +1000, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 11:58 +0200, Alexander Graf wrote: Alex, any objection ? Which Alex? :) Heh, mostly Williamson in this specific case but your input is still welcome :-)