[{"id":1449658,"web_url":"http://patchwork.ozlabs.org/comment/1449658/","msgid":"<20160908100836.GA4965@fergus.ozlabs.ibm.com>","date":"2016-09-08T10:08:36","subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","submitter":{"id":67079,"url":"http://patchwork.ozlabs.org/api/people/67079/","name":"Paul Mackerras","email":"paulus@ozlabs.org"},"content":"On Wed, Sep 07, 2016 at 04:17:09PM +1000, Paul Mackerras wrote:\n> This replaces a 2-D search through an array with a simple 8-bit table\n> lookup for determining the actual and/or base page size for a HPT entry.\n> \n> The encoding in the second doubleword of the HPTE is designed to encode\n> the actual and base page sizes without using any more bits than would be\n> needed for a 4k page number, by using between 1 and 8 low-order bits of\n> the RPN (real page number) field to encode the page sizes.  A single\n> \"large page\" bit in the first doubleword indicates that these low-order\n> bits are to be interpreted like this.\n> \n> We can determine the page sizes by using the low-order 8 bits of the RPN\n> to look up a 256-entry table.  For actual page sizes less than 1MB, some\n> of the upper bits of these 8 bits are going to be real address bits, but\n> we can cope with that by replicating the entries for those smaller page\n> sizes.\n> \n> While we're at it, let's move the hpte_page_size() and hpte_base_page_size()\n> functions from a KVM-specific header to a header for 64-bit HPT systems,\n> since this computation doesn't have anything specifically to do with KVM.\n> \n> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>\n> ---\n> v2: added more comments as suggested by Aneesh\n> \n>  arch/powerpc/include/asm/book3s/64/mmu-hash.h | 37 ++++++++++++\n>  arch/powerpc/include/asm/kvm_book3s_64.h      | 87 +++------------------------\n>  arch/powerpc/include/asm/mmu.h                |  1 +\n>  arch/powerpc/mm/hash_native_64.c              | 42 +------------\n>  arch/powerpc/mm/hash_utils_64.c               | 55 +++++++++++++++++\n\nThis of course touches two maintainers' areas.  Michael and Paolo, how\ndo you want to proceed here?  Can this just go through Michael's tree?\nOr should I make a topic branch off Linus' tree that you can both\npull, or should I split the patch into two (i.e. everything except the\nkvm_book3s_64.h change in the first patch, and the kvm_book3s_64.h\nchange in the second) and get Michael to put the first one in a topic\nbranch that I can then pull and apply the second patch onto?\n\nThanks,\nPaul.","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3sVGKT5M62z9s2Q\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  8 Sep 2016 20:09:49 +1000 (AEST)","from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3sVGKT4XkxzDsZQ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  8 Sep 2016 20:09:49 +1000 (AEST)","from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3sVGJC46B5zDsTS\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu,  8 Sep 2016 20:08:43 +1000 (AEST)","by ozlabs.org (Postfix, from userid 1003)\n\tid 3sVGJC3Rl3z9s2Q; Thu,  8 Sep 2016 20:08:43 +1000 (AEST)"],"Date":"Thu, 8 Sep 2016 20:08:36 +1000","From":"Paul Mackerras <paulus@ozlabs.org>","To":"Michael Ellerman <michael@ellerman.id.au>,\n\tPaolo Bonzini <pbonzini@redhat.com>","Subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","Message-ID":"<20160908100836.GA4965@fergus.ozlabs.ibm.com>","References":"<20160902114759.GA12433@fergus.ozlabs.ibm.com>\n\t<20160902115055.GC12433@fergus.ozlabs.ibm.com>\n\t<20160907061709.GD21443@fergus.ozlabs.ibm.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<20160907061709.GD21443@fergus.ozlabs.ibm.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.22","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org,\n\tkvm@vger.kernel.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}},{"id":1449666,"web_url":"http://patchwork.ozlabs.org/comment/1449666/","msgid":"<4ba4f3d7-eadc-5d20-534e-afc7075938fc@redhat.com>","date":"2016-09-08T10:16:00","subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","submitter":{"id":2701,"url":"http://patchwork.ozlabs.org/api/people/2701/","name":"Paolo Bonzini","email":"pbonzini@redhat.com"},"content":"On 08/09/2016 12:08, Paul Mackerras wrote:\n>> > \n>> >  arch/powerpc/include/asm/book3s/64/mmu-hash.h | 37 ++++++++++++\n>> >  arch/powerpc/include/asm/kvm_book3s_64.h      | 87 +++------------------------\n>> >  arch/powerpc/include/asm/mmu.h                |  1 +\n>> >  arch/powerpc/mm/hash_native_64.c              | 42 +------------\n>> >  arch/powerpc/mm/hash_utils_64.c               | 55 +++++++++++++++++\n> This of course touches two maintainers' areas.  Michael and Paolo, how\n> do you want to proceed here?  Can this just go through Michael's tree?\n> Or should I make a topic branch off Linus' tree that you can both\n> pull, or should I split the patch into two (i.e. everything except the\n> kvm_book3s_64.h change in the first patch, and the kvm_book3s_64.h\n> change in the second) and get Michael to put the first one in a topic\n> branch that I can then pull and apply the second patch onto?\n\nThis patch seems separate from the other two (I can't really tell since\nthere wasn't a cover letter on linuxppc-dev).  Can you place it in a\npull request for both Michael and myself?\n\nPaolo","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3sVGVN3kt0z9s3v\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  8 Sep 2016 20:17:32 +1000 (AEST)","from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3sVGVN2bJSzDsTj\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu,  8 Sep 2016 20:17:32 +1000 (AEST)","from mail-wm0-x244.google.com (mail-wm0-x244.google.com\n\t[IPv6:2a00:1450:400c:c09::244])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3sVGSk2PWJzDsTX\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu,  8 Sep 2016 20:16:06 +1000 (AEST)","by mail-wm0-x244.google.com with SMTP id l65so7094505wmf.3\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu, 08 Sep 2016 03:16:06 -0700 (PDT)","from [192.168.10.165] (94-39-180-254.adsl-ull.clienti.tiscali.it.\n\t[94.39.180.254]) by smtp.googlemail.com with ESMTPSA id\n\tl186sm8829603wmg.20.2016.09.08.03.16.01\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 08 Sep 2016 03:16:01 -0700 (PDT)"],"Authentication-Results":["ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=OQFiYilR;\n\tdkim-atps=neutral","lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=OQFiYilR;\n\tdkim-atps=neutral","lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=OQFiYilR;\n\tdkim-atps=neutral"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\n\th=sender:subject:to:references:cc:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-transfer-encoding;\n\tbh=JJQGW9O4AvvhUJ5ncs7FNcocRxcguGm2DRBEVpoem8Y=;\n\tb=OQFiYilRYCGF6B9/4Zn9uyIT2RhuJ+ggkKp9tdL+ohe9l3cogGWdawu/3PLghMy9ob\n\tqW37ZAYpRk5qsO3b0nURYRarXxJESkLpsD/0R+RC2B4qgQyOhJ56bEEV6Okd/+gGBqMJ\n\tx15ZEAL3bgMWj/z9dW7fmjj7o2AfGUW0CPRa36/j1TT+bQ/5ADhQjqj0IY+SlEiEo24b\n\tjQfc351JLJk5UYqiZtM7E2eb4M3XPGW6sIn3XDgfyM1zH6B7sYWMjNx/vORNvr1g5l4T\n\t6yiVVSR4U8kNRUGulxlWJX0Glv1VMCPz5pmd2NFjqbBkg2nBCM3yLKabDxMmLn0Y0ilC\n\tu+Aw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:sender:subject:to:references:cc:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-transfer-encoding; \n\tbh=JJQGW9O4AvvhUJ5ncs7FNcocRxcguGm2DRBEVpoem8Y=;\n\tb=K4tjoHKAQ8dhidG4VdgeUgGJixEWF7CkwbAmFADKRwpPMeVY7cnaj1rJ7HX4K5Ydbf\n\toUH4RzDKQYFYB71zwpEoYrN6v2fZlsTl5j9iG6ZJmKhH8hlDHy9OPgGy9WiFXQ1+sg6L\n\tPwG5HEkTmJKTYbwDiSNEIcn1wMoLCq88ACVh3CUHm5czTvQleL2/KOag0MIvcf1gYKrV\n\tsDGxmr++xHP/R/8bTJjK2hfwW2v9VaOMxuHnAt6IyXs0twKPWUosirKsncGRf/fA7sLF\n\t+gQKmnlZMEC9vE/7jCqWZn6/uFJAidK9YCP/W5l4H1+lqQkibwmIbU5oSb19jb2/nEey\n\tYCcQ==","X-Gm-Message-State":"AE9vXwNvqGWezy6O1tdHJwbKv+IVD/WIZv15X7B9UAh0HpnqwSByntq1Gir/UYvyfBHJbQ==","X-Received":"by 10.28.196.136 with SMTP id u130mr7848701wmf.21.1473329763032; \n\tThu, 08 Sep 2016 03:16:03 -0700 (PDT)","Subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","To":"Paul Mackerras <paulus@ozlabs.org>,\n\tMichael Ellerman <michael@ellerman.id.au>","References":"<20160902114759.GA12433@fergus.ozlabs.ibm.com>\n\t<20160902115055.GC12433@fergus.ozlabs.ibm.com>\n\t<20160907061709.GD21443@fergus.ozlabs.ibm.com>\n\t<20160908100836.GA4965@fergus.ozlabs.ibm.com>","From":"Paolo Bonzini <pbonzini@redhat.com>","Message-ID":"<4ba4f3d7-eadc-5d20-534e-afc7075938fc@redhat.com>","Date":"Thu, 8 Sep 2016 12:16:00 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101\n\tThunderbird/45.2.0","MIME-Version":"1.0","In-Reply-To":"<20160908100836.GA4965@fergus.ozlabs.ibm.com>","Content-Type":"text/plain; charset=windows-1252","Content-Transfer-Encoding":"7bit","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.22","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org,\n\tkvm@vger.kernel.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}},{"id":1451943,"web_url":"http://patchwork.ozlabs.org/comment/1451943/","msgid":"<20160912005825.GF9873@fergus.ozlabs.ibm.com>","date":"2016-09-12T00:58:25","subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","submitter":{"id":67079,"url":"http://patchwork.ozlabs.org/api/people/67079/","name":"Paul Mackerras","email":"paulus@ozlabs.org"},"content":"On Thu, Sep 08, 2016 at 12:16:00PM +0200, Paolo Bonzini wrote:\n> \n> \n> On 08/09/2016 12:08, Paul Mackerras wrote:\n> >> > \n> >> >  arch/powerpc/include/asm/book3s/64/mmu-hash.h | 37 ++++++++++++\n> >> >  arch/powerpc/include/asm/kvm_book3s_64.h      | 87 +++------------------------\n> >> >  arch/powerpc/include/asm/mmu.h                |  1 +\n> >> >  arch/powerpc/mm/hash_native_64.c              | 42 +------------\n> >> >  arch/powerpc/mm/hash_utils_64.c               | 55 +++++++++++++++++\n> > This of course touches two maintainers' areas.  Michael and Paolo, how\n> > do you want to proceed here?  Can this just go through Michael's tree?\n> > Or should I make a topic branch off Linus' tree that you can both\n> > pull, or should I split the patch into two (i.e. everything except the\n> > kvm_book3s_64.h change in the first patch, and the kvm_book3s_64.h\n> > change in the second) and get Michael to put the first one in a topic\n> > branch that I can then pull and apply the second patch onto?\n> \n> This patch seems separate from the other two (I can't really tell since\n> there wasn't a cover letter on linuxppc-dev).  Can you place it in a\n> pull request for both Michael and myself?\n\nYes, it is separate.  I have put it in a new kvm-ppc-infrastructure\nbranch, which I have merged into my kvm-ppc-next branch (since there\nare some other patches on that branch which are prerequisites for some\npatches in kvm-ppc-next).  Michael can pull kvm-ppc-infrastructure\nwhen he wants to.  I'll send a pull request for kvm-ppc-next tomorrow\nassuming today's linux-next merge doesn't cause any problems.\n\nPaul.","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3sXV1q6zFYz9s5w\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 12 Sep 2016 11:03:59 +1000 (AEST)","from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3sXV1q6BVbzDsb8\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 12 Sep 2016 11:03:59 +1000 (AEST)","from ozlabs.org (ozlabs.org [103.22.144.67])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3sXTvS6bwLzDsFG\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 12 Sep 2016 10:58:28 +1000 (AEST)","by ozlabs.org (Postfix, from userid 1003)\n\tid 3sXTvS5HBZz9sdg; Mon, 12 Sep 2016 10:58:28 +1000 (AEST)"],"Date":"Mon, 12 Sep 2016 10:58:25 +1000","From":"Paul Mackerras <paulus@ozlabs.org>","To":"Paolo Bonzini <pbonzini@redhat.com>","Subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","Message-ID":"<20160912005825.GF9873@fergus.ozlabs.ibm.com>","References":"<20160902114759.GA12433@fergus.ozlabs.ibm.com>\n\t<20160902115055.GC12433@fergus.ozlabs.ibm.com>\n\t<20160907061709.GD21443@fergus.ozlabs.ibm.com>\n\t<20160908100836.GA4965@fergus.ozlabs.ibm.com>\n\t<4ba4f3d7-eadc-5d20-534e-afc7075938fc@redhat.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<4ba4f3d7-eadc-5d20-534e-afc7075938fc@redhat.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.22","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"Michael Ellerman <michael@ellerman.id.au>, linuxppc-dev@lists.ozlabs.org,\n\tkvm-ppc@vger.kernel.org, kvm@vger.kernel.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}},{"id":1451975,"web_url":"http://patchwork.ozlabs.org/comment/1451975/","msgid":"<877fahrf8w.fsf@concordia.ellerman.id.au>","date":"2016-09-12T03:03:43","subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","submitter":{"id":4,"url":"http://patchwork.ozlabs.org/api/people/4/","name":"Michael Ellerman","email":"michael@ellerman.id.au"},"content":"Paolo Bonzini <pbonzini@redhat.com> writes:\n\n> On 08/09/2016 12:08, Paul Mackerras wrote:\n>>> > \n>>> >  arch/powerpc/include/asm/book3s/64/mmu-hash.h | 37 ++++++++++++\n>>> >  arch/powerpc/include/asm/kvm_book3s_64.h      | 87 +++------------------------\n>>> >  arch/powerpc/include/asm/mmu.h                |  1 +\n>>> >  arch/powerpc/mm/hash_native_64.c              | 42 +------------\n>>> >  arch/powerpc/mm/hash_utils_64.c               | 55 +++++++++++++++++\n>> This of course touches two maintainers' areas.  Michael and Paolo, how\n>> do you want to proceed here?  Can this just go through Michael's tree?\n>> Or should I make a topic branch off Linus' tree that you can both\n>> pull, or should I split the patch into two (i.e. everything except the\n>> kvm_book3s_64.h change in the first patch, and the kvm_book3s_64.h\n>> change in the second) and get Michael to put the first one in a topic\n>> branch that I can then pull and apply the second patch onto?\n>\n> This patch seems separate from the other two (I can't really tell since\n> there wasn't a cover letter on linuxppc-dev).\n\nYeah. I've merged 1/3 as a fix, and will take 2/3 into next.\n\n> Can you place it in a pull request for both Michael and myself?\n\nPaul and I talked about this offline, he's going to create a topic\nbranch with this in it.\n\nI'll hold off merging it until closer to the merge window, and I'll\nmerge it then if we are actually seeing conflicts between the PPC & KVM\ntrees caused by this.\n\ncheers","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3sXXj95B9Fz9s9x\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 12 Sep 2016 13:04:45 +1000 (AEST)","from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3sXXj94QNRzDsVj\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 12 Sep 2016 13:04:45 +1000 (AEST)","from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3sXXgz579rzDsMB\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 12 Sep 2016 13:03:43 +1000 (AEST)","from authenticated.ozlabs.org (localhost [127.0.0.1])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPSA id 3sXXgz4CcXz9s9x;\n\tMon, 12 Sep 2016 13:03:43 +1000 (AEST)"],"From":"Michael Ellerman <michael@ellerman.id.au>","To":"Paolo Bonzini <pbonzini@redhat.com>, Paul Mackerras <paulus@ozlabs.org>","Subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","In-Reply-To":"<4ba4f3d7-eadc-5d20-534e-afc7075938fc@redhat.com>","References":"<20160902114759.GA12433@fergus.ozlabs.ibm.com>\n\t<20160902115055.GC12433@fergus.ozlabs.ibm.com>\n\t<20160907061709.GD21443@fergus.ozlabs.ibm.com>\n\t<20160908100836.GA4965@fergus.ozlabs.ibm.com>\n\t<4ba4f3d7-eadc-5d20-534e-afc7075938fc@redhat.com>","User-Agent":"Notmuch/0.21 (https://notmuchmail.org)","Date":"Mon, 12 Sep 2016 13:03:43 +1000","Message-ID":"<877fahrf8w.fsf@concordia.ellerman.id.au>","MIME-Version":"1.0","Content-Type":"text/plain","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.22","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org,\n\tkvm@vger.kernel.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}},{"id":1452230,"web_url":"http://patchwork.ozlabs.org/comment/1452230/","msgid":"<51956245-1b7f-c2b5-5a21-d87d9113f9eb@redhat.com>","date":"2016-09-12T09:45:08","subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","submitter":{"id":2701,"url":"http://patchwork.ozlabs.org/api/people/2701/","name":"Paolo Bonzini","email":"pbonzini@redhat.com"},"content":"On 12/09/2016 05:03, Michael Ellerman wrote:\n>> > Can you place it in a pull request for both Michael and myself?\n> Paul and I talked about this offline, he's going to create a topic\n> branch with this in it.\n> \n> I'll hold off merging it until closer to the merge window, and I'll\n> merge it then if we are actually seeing conflicts between the PPC & KVM\n> trees caused by this.\n\nSounds like best of both worlds.  Thanks!\n\nPaolo","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3sXjcy2d30z9sC4\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 12 Sep 2016 19:46:42 +1000 (AEST)","from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3sXjcy1W0RzDsNC\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 12 Sep 2016 19:46:42 +1000 (AEST)","from mail-wm0-x243.google.com (mail-wm0-x243.google.com\n\t[IPv6:2a00:1450:400c:c09::243])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3sXjbH0dBkzDqjx\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 12 Sep 2016 19:45:15 +1000 (AEST)","by mail-wm0-x243.google.com with SMTP id b187so12766546wme.0\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 12 Sep 2016 02:45:14 -0700 (PDT)","from [192.168.10.150] (94-39-180-254.adsl-ull.clienti.tiscali.it.\n\t[94.39.180.254]) by smtp.googlemail.com with ESMTPSA id\n\tgf4sm17025632wjb.47.2016.09.12.02.45.10\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 12 Sep 2016 02:45:10 -0700 (PDT)"],"Authentication-Results":["ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=XyQtwzb9;\n\tdkim-atps=neutral","lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=XyQtwzb9;\n\tdkim-atps=neutral","lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com header.b=XyQtwzb9;\n\tdkim-atps=neutral"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\n\th=sender:subject:to:references:cc:from:message-id:date:user-agent\n\t:mime-version:in-reply-to:content-transfer-encoding;\n\tbh=r78p1XK4PFQYFAhXWu7lm4Y95cWaSPo7lJfsbEaQJbI=;\n\tb=XyQtwzb9apGz8zUA/AuEKvByC0GKi27Uwy5CenZW7nxiYO4oH/QIpPDp2Mfm3PX/aR\n\twRpgi+1bbzDrLlM2CFuG5Hl/DISREMnjlEWEiYNdbjxRRevE3qrpivMWWSeMnqZCNna9\n\tzNiQiYAiX1oPcwtDl30Kbf5H8450zuB3rviMOIWlQxFuAo8Xg6nsl2WNsDEHMxiMS1cX\n\tH5g9JrpIoysXHoXcCYVKdS2nBYkjsC8YqwESB0k0FSSJOUnEscR79OXc6nGvV3Hcixvm\n\tsfB+PHNDCyldpdUkuAEj+626CtYgJX7vCl0OSuLkqBpcvsk4hjY8y2STva29MHmblyBh\n\tBWRQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:sender:subject:to:references:cc:from:message-id\n\t:date:user-agent:mime-version:in-reply-to:content-transfer-encoding; \n\tbh=r78p1XK4PFQYFAhXWu7lm4Y95cWaSPo7lJfsbEaQJbI=;\n\tb=MWYBFs90y9qCYF58/JDikU5iaih+tcCixTKOfgzzaZIeNvlwKnaYKIqEpT1Kwesxk0\n\tI22lNrBBeOmeBv6V8NRQbuXANbdqhHTSQFcSS1vvroKordzJK+62kKBnQezJHgvw6f9D\n\tLuXkjM2x9G/K007/aP7M7y/NrAaaql26931K7ZdKlxP6U+r3Uu46de54Wrx9C0oudMiO\n\tcRTvM9Cci7tGs158V5O+uLn6dL4Ea2EtmcEuZE+pNSE4By33UaxW2YjJyDF13YuqmlXA\n\tR7Lic74TNsLzhK5hVEu+Ii7qksTAPqgDA1Rxk62l52bUduC1n6JgBkBfX9KkBvwtvaKq\n\tPNXQ==","X-Gm-Message-State":"AE9vXwNwIrPZIMzca6G9Zzvva7i3erElahw6JfnFzU15JgyeYecJsn1SBSE/RvVWMJfchw==","X-Received":"by 10.28.148.18 with SMTP id w18mr9867809wmd.44.1473673512040;\n\tMon, 12 Sep 2016 02:45:12 -0700 (PDT)","Subject":"Re: [PATCH v2 3/3] powerpc/mm: Speed up computation of base and\n\tactual page size for a HPTE","To":"Michael Ellerman <michael@ellerman.id.au>,\n\tPaul Mackerras <paulus@ozlabs.org>","References":"<20160902114759.GA12433@fergus.ozlabs.ibm.com>\n\t<20160902115055.GC12433@fergus.ozlabs.ibm.com>\n\t<20160907061709.GD21443@fergus.ozlabs.ibm.com>\n\t<20160908100836.GA4965@fergus.ozlabs.ibm.com>\n\t<4ba4f3d7-eadc-5d20-534e-afc7075938fc@redhat.com>\n\t<877fahrf8w.fsf@concordia.ellerman.id.au>","From":"Paolo Bonzini <pbonzini@redhat.com>","Message-ID":"<51956245-1b7f-c2b5-5a21-d87d9113f9eb@redhat.com>","Date":"Mon, 12 Sep 2016 11:45:08 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101\n\tThunderbird/45.2.0","MIME-Version":"1.0","In-Reply-To":"<877fahrf8w.fsf@concordia.ellerman.id.au>","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.22","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org,\n\tkvm@vger.kernel.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}}]