Return-Path: Received: from e38.co.us.ibm.com ([32.97.110.159]:42100 "EHLO e38.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752765AbbJPDxv (ORCPT ); Thu, 15 Oct 2015 23:53:51 -0400 Received: from localhost by e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 15 Oct 2015 21:53:50 -0600 Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 55CB81FF0041 for ; Thu, 15 Oct 2015 21:42:00 -0600 (MDT) Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t9G3qSwg9240862 for ; Thu, 15 Oct 2015 20:52:28 -0700 Received: from d03av02.boulder.ibm.com (localhost [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t9G3rlBP024498 for ; Thu, 15 Oct 2015 21:53:48 -0600 From: Stewart Smith To: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, thuth@redhat.com, stable@vger.kernel.org, paulus@samba.org, dgibson@redhat.com, jstancek@redhat.com Subject: Re: [PATCH] PPC: fix LOGMPP instruction opcode and inline asm In-Reply-To: <1444961451.28419.0.camel@ellerman.id.au> References: <1444958435-18808-1-git-send-email-stewart@linux.vnet.ibm.com> <1444961451.28419.0.camel@ellerman.id.au> Date: Fri, 16 Oct 2015 14:53:35 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: stable-owner@vger.kernel.org List-ID: Michael Ellerman writes: > On Fri, 2015-10-16 at 12:20 +1100, Stewart Smith wrote: >> Back in 9678cda when we started using the Micro Partition Prefetch Engine >> in POWER8 for KVM, there were two mistakes introduced from the original >> patch used for investigation and microbenchmarks. >> >> One mistake was that the opcode was constructed incorrectly, putting >> the register in the wrong field in the opcode, meaning that we were >> asking the chip to read the memory address from some other register than >> what we intended - probably r0. > > Where is the logmpp instruction documented? BookIV Section 5.1 - although I think this is now meant to all be in the "P8 User Manual".