From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGXnN-0005Fq-WF for qemu-devel@nongnu.org; Thu, 20 Feb 2014 12:52:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGXnF-0001tR-JB for qemu-devel@nongnu.org; Thu, 20 Feb 2014 12:52:25 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:39030) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGXnF-0001t1-BA for qemu-devel@nongnu.org; Thu, 20 Feb 2014 12:52:17 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 20 Feb 2014 17:52:15 -0000 From: Greg Kurz Date: Thu, 20 Feb 2014 18:52:10 +0100 Message-ID: <20140220175210.23576.10431.stgit@bahia.local> In-Reply-To: <20140217132213.25977.96973.stgit@bahia.local> References: <20140217132213.25977.96973.stgit@bahia.local> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 0/4] target-ppc: htab fixes (V2) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: agraf@suse.de, aneesh.kumar@linux.vnet.ibm.com Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On Mon, 17 Feb 2014 14:22:14 +0100 Greg Kurz wrote: > Hi, > > This is a new tentative for the patches 2/5 to 5/5 from the "target-ppc: > Add support for dumping guest memory using qemu gdb server" patchset: > > https://lists.nongnu.org/archive/html/qemu-ppc/2014-01/msg00380.html > > All patches have been rebased on the current ppc-next head (72c798d7dccc). > > To ensure proper bisectability, the following was verified for each > individual patch: > •- 32 and 64 bit build of ppc-softmmu and ppc64-softmmu (fedora 19 ppc64) > •- 64 bit pseries guest with KVM on a POWER7 host (fedora 19 ppc64) > •- 64 bit pseries guest with 64 bit TCG on a x86_64 host (fedora 19 ppc64) > •- 64 bit pseries guest with 32 bit TCG on a x86_64 host (fedora 19 ppc64) > •- 32 bit mac99 guest with 64 bit TCG on a x86_64 host (wheezy ppc) > •- 32 bit mac99 guest with 32 bit TCG on a x86_64 host (wheezy ppc) > > Alex, > > This should address all the requirements you expressed in your last mail. > Please tell me if something is missing. Alex, I have added the 32 bit build with KVM enabled to catch the remaining build breaks: target-ppc/kvm.c: In function 'kvmppc_hash64_read_pteg': target-ppc/kvm.c:1977:12: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] target-ppc/kvm.c: In function 'kvmppc_hash64_free_pteg': target-ppc/kvm.c:1990:82: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] I have folded the fix into patch 2/4. I have also fixed the SoB mess, and rebased on the current ppc-next. Hope this time, it is okay ! :) Best Regards. --- Aneesh Kumar K.V (4): target-ppc: Fix htab_mask calculation target-ppc: Fix page table lookup with kvm enabled target-ppc: Change the hpte store API target-ppc: Update ppc_hash64_store_hpte to support updating in-kernel htab hw/ppc/spapr.c | 9 ++++ hw/ppc/spapr_hcall.c | 81 ++++++++++++++++++++++--------------- target-ppc/cpu.h | 1 target-ppc/kvm.c | 94 ++++++++++++++++++++++++++++++++++++++++++- target-ppc/kvm_ppc.h | 29 +++++++++++++ target-ppc/machine.c | 11 +++-- target-ppc/misc_helper.c | 4 +- target-ppc/mmu-hash64.c | 101 +++++++++++++++++++++++++++++++++++++++------- target-ppc/mmu-hash64.h | 47 ++++++++------------- target-ppc/mmu_helper.c | 3 + 10 files changed, 294 insertions(+), 86 deletions(-) -- Greg