{"id":808433,"url":"http://patchwork.ozlabs.org/api/1.0/patches/808433/?format=json","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.0/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/"},"msgid":"<20170831211738.17922-4-jglisse@redhat.com>","date":"2017-08-31T21:17:28","name":"[03/13] powerpc/powernv: update to new mmu_notifier semantic","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"4f056fc4567682783842a5b584ee736eb989b9d4","submitter":{"id":71451,"url":"http://patchwork.ozlabs.org/api/1.0/people/71451/?format=json","name":"Jerome Glisse","email":"jglisse@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170831211738.17922-4-jglisse@redhat.com/mbox/","series":[{"id":910,"url":"http://patchwork.ozlabs.org/api/1.0/series/910/?format=json","date":"2017-08-31T21:17:25","name":"mmu_notifier kill invalidate_page callback v2","version":1,"mbox":"http://patchwork.ozlabs.org/series/910/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/808433/checks/","tags":{},"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 ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjwKH4G2Sz9s8J\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 07:21:07 +1000 (AEST)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xjwKH2hp6zDqYP\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri,  1 Sep 2017 07:21:07 +1000 (AEST)","from mx1.redhat.com (mx1.redhat.com [209.132.183.28])\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 3xjwFY0tHgzDqXj\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri,  1 Sep 2017 07:17:53 +1000 (AEST)","from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 2BB01C056828;\n\tThu, 31 Aug 2017 21:17:51 +0000 (UTC)","from localhost.localdomain.com (ovpn-120-38.rdu2.redhat.com\n\t[10.10.120.38])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 031746C513;\n\tThu, 31 Aug 2017 21:17:49 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 2BB01C056828","Authentication-Results":["ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=jglisse@redhat.com"],"From":"jglisse@redhat.com","To":"linux-mm@kvack.org","Subject":"[PATCH 03/13] powerpc/powernv: update to new mmu_notifier semantic","Date":"Thu, 31 Aug 2017 17:17:28 -0400","Message-Id":"<20170831211738.17922-4-jglisse@redhat.com>","In-Reply-To":"<20170831211738.17922-1-jglisse@redhat.com>","References":"<20170831211738.17922-1-jglisse@redhat.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.14","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.32]); Thu, 31 Aug 2017 21:17:51 +0000 (UTC)","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.23","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":"Andrea Arcangeli <aarcange@redhat.com>, Alistair Popple\n\t<alistair@popple.id.au>, linux-kernel@vger.kernel.org, Linus Torvalds\n\t<torvalds@linux-foundation.org>, =?utf-8?b?SsOpcsO0bWUgR2xpc3Nl?=\n\t<jglisse@redhat.com>, Andrew Morton <akpm@linux-foundation.org>,\n\tlinuxppc-dev@lists.ozlabs.org, \"Kirill A . Shutemov\"\n\t<kirill.shutemov@linux.intel.com>","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>"},"content":"From: Jérôme Glisse <jglisse@redhat.com>\n\nCall to mmu_notifier_invalidate_page() are replaced by call to\nmmu_notifier_invalidate_range() and thus call are bracketed by\ncall to mmu_notifier_invalidate_range_start()/end()\n\nRemove now useless invalidate_page callback.\n\nSigned-off-by: Jérôme Glisse <jglisse@redhat.com>\nCc: linuxppc-dev@lists.ozlabs.org\nCc: Alistair Popple <alistair@popple.id.au>\nCc: Michael Ellerman <mpe@ellerman.id.au>\nCc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>\nCc: Andrew Morton <akpm@linux-foundation.org>\nCc: Linus Torvalds <torvalds@linux-foundation.org>\nCc: Andrea Arcangeli <aarcange@redhat.com>\n---\n arch/powerpc/platforms/powernv/npu-dma.c | 10 ----------\n 1 file changed, 10 deletions(-)","diff":"diff --git a/arch/powerpc/platforms/powernv/npu-dma.c b/arch/powerpc/platforms/powernv/npu-dma.c\nindex b5d960d6db3d..4c7b8591f737 100644\n--- a/arch/powerpc/platforms/powernv/npu-dma.c\n+++ b/arch/powerpc/platforms/powernv/npu-dma.c\n@@ -614,15 +614,6 @@ static void pnv_npu2_mn_change_pte(struct mmu_notifier *mn,\n \tmmio_invalidate(npu_context, 1, address, true);\n }\n \n-static void pnv_npu2_mn_invalidate_page(struct mmu_notifier *mn,\n-\t\t\t\t\tstruct mm_struct *mm,\n-\t\t\t\t\tunsigned long address)\n-{\n-\tstruct npu_context *npu_context = mn_to_npu_context(mn);\n-\n-\tmmio_invalidate(npu_context, 1, address, true);\n-}\n-\n static void pnv_npu2_mn_invalidate_range(struct mmu_notifier *mn,\n \t\t\t\t\tstruct mm_struct *mm,\n \t\t\t\t\tunsigned long start, unsigned long end)\n@@ -640,7 +631,6 @@ static void pnv_npu2_mn_invalidate_range(struct mmu_notifier *mn,\n static const struct mmu_notifier_ops nv_nmmu_notifier_ops = {\n \t.release = pnv_npu2_mn_release,\n \t.change_pte = pnv_npu2_mn_change_pte,\n-\t.invalidate_page = pnv_npu2_mn_invalidate_page,\n \t.invalidate_range = pnv_npu2_mn_invalidate_range,\n };\n \n","prefixes":["03/13"]}