Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/809914/?format=api
{ "id": 809914, "url": "http://patchwork.ozlabs.org/api/1.2/patches/809914/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504583864-8169-1-git-send-email-alistair@popple.id.au/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/1.2/projects/2/?format=api", "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/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<1504583864-8169-1-git-send-email-alistair@popple.id.au>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1504583864-8169-1-git-send-email-alistair@popple.id.au/", "date": "2017-09-05T03:57:43", "name": "[1/2] powerpc/npu: Use flush_all_mm() instead of flush_tlb_mm()", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "b48d26b3f9accc19aec3425a588f9d4197f99a94", "submitter": { "id": 24781, "url": "http://patchwork.ozlabs.org/api/1.2/people/24781/?format=api", "name": "Alistair Popple", "email": "alistair@popple.id.au" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504583864-8169-1-git-send-email-alistair@popple.id.au/mbox/", "series": [ { "id": 1483, "url": "http://patchwork.ozlabs.org/api/1.2/series/1483/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=1483", "date": "2017-09-05T03:57:43", "name": "[1/2] powerpc/npu: Use flush_all_mm() instead of flush_tlb_mm()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1483/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/809914/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/809914/checks/", "tags": {}, "related": [], "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 3xmXyv46KWz9sNr\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 5 Sep 2017 13:59:19 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xmXyv2RLdzDrJW\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 5 Sep 2017 13:59:19 +1000 (AEST)", "from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xmXxM4btSzDqYK\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 5 Sep 2017 13:57:59 +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 3xmXxM11gSz9sNr;\n\tTue, 5 Sep 2017 13:57:59 +1000 (AEST)" ], "From": "Alistair Popple <alistair@popple.id.au>", "To": "linuxppc-dev@lists.ozlabs.org", "Subject": "[PATCH 1/2] powerpc/npu: Use flush_all_mm() instead of\n\tflush_tlb_mm()", "Date": "Tue, 5 Sep 2017 13:57:43 +1000", "Message-Id": "<1504583864-8169-1-git-send-email-alistair@popple.id.au>", "X-Mailer": "git-send-email 2.1.4", "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": "andrew.donnellan@au1.ibm.com, arbab@linux.vnet.ibm.com,\n\tfbarrat@linux.vnet.ibm.com, Alistair Popple <alistair@popple.id.au>", "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": "With the optimisations introduced by commit a46cc7a908 (\"powerpc/mm/radix:\nImprove TLB/PWC flushes\"), flush_tlb_mm() no longer flushes the page walk\ncache with radix. Switch to using flush_all_mm() to ensure the pwc and tlb\nare properly flushed on the nmmu.\n\nSigned-off-by: Alistair Popple <alistair@popple.id.au>\n---\n\nMichael,\n\nThis depends on Frederic's series:\n\nhttp://patchwork.ozlabs.org/patch/809343/\nhttp://patchwork.ozlabs.org/patch/809344/\n\nThanks.\n\nAlistair\n\narch/powerpc/platforms/powernv/npu-dma.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/arch/powerpc/platforms/powernv/npu-dma.c b/arch/powerpc/platforms/powernv/npu-dma.c\nindex 2cb6cbe..2fff9a65 100644\n--- a/arch/powerpc/platforms/powernv/npu-dma.c\n+++ b/arch/powerpc/platforms/powernv/npu-dma.c\n@@ -549,7 +549,7 @@ static void mmio_invalidate(struct npu_context *npu_context, int va,\n \t * Unfortunately the nest mmu does not support flushing specific\n \t * addresses so we have to flush the whole mm.\n \t */\n-\tflush_tlb_mm(npu_context->mm);\n+\tflush_all_mm(npu_context->mm);\n \n \t/*\n \t * Loop over all the NPUs this process is active on and launch\n", "prefixes": [ "1/2" ] }