From patchwork Thu Dec 6 00:40:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 204042 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 559E32C014C for ; Thu, 6 Dec 2012 11:41:24 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753632Ab2LFAlX (ORCPT ); Wed, 5 Dec 2012 19:41:23 -0500 Received: from cantor2.suse.de ([195.135.220.15]:35615 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046Ab2LFAlW (ORCPT ); Wed, 5 Dec 2012 19:41:22 -0500 Received: from relay1.suse.de (unknown [195.135.220.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id C913CA3B99; Thu, 6 Dec 2012 01:41:20 +0100 (CET) From: Alexander Graf To: Marcelo Tosatti Cc: Gleb Natapov , kvm-ppc , KVM list Subject: [PULL 00/28] ppc patch queue 2012-12-06 Date: Thu, 6 Dec 2012 01:40:49 +0100 Message-Id: <1354754477-15472-1-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.6.0.2 Sender: kvm-ppc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm-ppc@vger.kernel.org Hi Marcelo / Gleb, This is my current patch queue for ppc. Please pull. Major changes this time around include: - Book3S PR: Multiple fixes for POWER7 hosts - Book3S HV: Prepare for full state exposure (live migration) - Add eventfd support - BookE: Add final bits for 64bit BookE support Alex The following changes since commit 45e3cc7d9fe69844cd12d51c511e1e98d156bbe1: Jan Kiszka (1): KVM: x86: Fix uninitialized return code are available in the git repository at: git://github.com/agraf/linux-2.6.git for-upstream Alexander Graf (3): KVM: Distangle eventfd code from irqchip KVM: PPC: Support eventfd KVM: PPC: Make EPCR a valid field for booke64 and bookehv Michael Ellerman (1): MAINTAINERS: Add git tree link for PPC KVM Mihai Caraman (11): KVM: PPC: e500: Silence bogus GCC warning in tlb code KVM: PPC: booke: Fix get_tb() compile error on 64-bit KVM: PPC: bookehv: Remove GET_VCPU macro from exception handler KVM: PPC: bookehv64: Add support for interrupt handling KVM: PPC: e500: Add emulation helper for getting instruction ea KVM: PPC: Mask ea's high 32-bits in 32/64 instr emulation KVM: PPC: e500: Mask MAS2 EPN high 32-bits in 32/64 tlbwe emulation KVM: PPC: booke: Extend MAS2 EPN mask for 64-bit KVM: PPC: bookehv: Add guest computation mode for irq delivery KVM: PPC: bookehv: Add EPCR support in mtspr/mfspr emulation KVM: PPC: booke: Get/set guest EPCR register using ONE_REG interface Paul Mackerras (13): KVM: PPC: Book3S HV: Restructure HPT entry creation code KVM: PPC: Book3S HV: Fix bug causing loss of page dirty state KVM: PPC: Book3S HV: Add a mechanism for recording modified HPTEs KVM: PPC: Book3S HV: Make a HPTE removal function available KVM: PPC: Book3S HV: Provide a method for userspace to read and write the HPT KVM: PPC: Book3S HV: Reset reverse-map chains when resetting the HPT KVM: PPC: Book3S HV: Report correct HPT entry index when reading HPT KVM: PPC: Book3S HV: Don't give the guest RW access to RO pages KVM: PPC: Book3S PR: Emulate PURR, SPURR and DSCR registers KVM: PPC: Book3S PR: Fix VSX handling KVM: PPC: Book3S PR: MSR_DE doesn't exist on Book 3S KVM: PPC: Book3S HV: Improve handling of local vs. global TLB invalidations KVM: PPC: Book3S HV: Handle guest-caused machine checks on POWER7 without panicking Documentation/virtual/kvm/api.txt | 55 ++++ MAINTAINERS | 1 + arch/powerpc/include/asm/kvm_book3s.h | 10 +- arch/powerpc/include/asm/kvm_book3s_64.h | 31 ++ arch/powerpc/include/asm/kvm_booke_hv_asm.h | 25 ++ arch/powerpc/include/asm/kvm_host.h | 13 +- arch/powerpc/include/asm/kvm_ppc.h | 23 ++ arch/powerpc/include/asm/mmu-book3e.h | 2 +- arch/powerpc/include/asm/mmu-hash64.h | 10 + arch/powerpc/include/asm/reg.h | 1 + arch/powerpc/include/uapi/asm/kvm.h | 27 ++ arch/powerpc/kernel/asm-offsets.c | 4 +- arch/powerpc/kvm/Kconfig | 1 + arch/powerpc/kvm/Makefile | 5 +- arch/powerpc/kvm/book3s_64_mmu_hv.c | 407 ++++++++++++++++++++++++++- arch/powerpc/kvm/book3s_emulate.c | 16 +- arch/powerpc/kvm/book3s_exports.c | 3 - arch/powerpc/kvm/book3s_hv.c | 32 ++- arch/powerpc/kvm/book3s_hv_ras.c | 144 ++++++++++ arch/powerpc/kvm/book3s_hv_rm_mmu.c | 139 ++++++++-- arch/powerpc/kvm/book3s_hv_rmhandlers.S | 131 +++++---- arch/powerpc/kvm/book3s_pr.c | 114 ++++---- arch/powerpc/kvm/book3s_rmhandlers.S | 3 - arch/powerpc/kvm/booke.c | 36 +++- arch/powerpc/kvm/booke.h | 1 + arch/powerpc/kvm/booke_emulate.c | 14 +- arch/powerpc/kvm/bookehv_interrupts.S | 145 +++++++++- arch/powerpc/kvm/e500.h | 8 +- arch/powerpc/kvm/e500_emulate.c | 14 +- arch/powerpc/kvm/e500_tlb.c | 38 +-- arch/powerpc/kvm/powerpc.c | 34 +++- include/linux/kvm_host.h | 12 +- include/uapi/linux/kvm.h | 3 + virt/kvm/eventfd.c | 6 + 34 files changed, 1279 insertions(+), 229 deletions(-) create mode 100644 arch/powerpc/kvm/book3s_hv_ras.c --- To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html