Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/800955/?format=api
{ "id": 800955, "url": "http://patchwork.ozlabs.org/api/patches/800955/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170813013346.14002-6-npiggin@gmail.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/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": "<20170813013346.14002-6-npiggin@gmail.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170813013346.14002-6-npiggin@gmail.com/", "date": "2017-08-13T01:33:43", "name": "[v2,6/9] powerpc/64s/radix: Do not allocate SLB shadow structures", "commit_ref": "b68b1d7487195d17bdd7e06f183acfb896eafcc7", "pull_url": null, "state": "accepted", "archived": false, "hash": "e9a1a5027751d84ccbcc25293d921e22ffeaf5e2", "submitter": { "id": 69518, "url": "http://patchwork.ozlabs.org/api/people/69518/?format=api", "name": "Nicholas Piggin", "email": "npiggin@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170813013346.14002-6-npiggin@gmail.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/800955/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/800955/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 [103.22.144.68])\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 3xVM5x036Mz9sPr\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 13 Aug 2017 11:46:13 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xVM5w6111zDrKR\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 13 Aug 2017 11:46:12 +1000 (AEST)", "from mail-pf0-x244.google.com (mail-pf0-x244.google.com\n\t[IPv6:2607:f8b0:400e:c00::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 3xVLrR1fWXzDr6q\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSun, 13 Aug 2017 11:34:31 +1000 (AEST)", "by mail-pf0-x244.google.com with SMTP id h75so6783007pfh.5\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 12 Aug 2017 18:34:31 -0700 (PDT)", "from roar.local0.net (203-219-56-202.tpgi.com.au. [203.219.56.202])\n\tby smtp.gmail.com with ESMTPSA id\n\tu69sm7776237pfa.70.2017.08.12.18.34.25\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 12 Aug 2017 18:34:28 -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\n\theader.b=\"AaQcJlnw\"; dkim-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\n\theader.b=\"AaQcJlnw\"; dkim-atps=neutral", "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"AaQcJlnw\"; dkim-atps=neutral" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=dPdC+NGdEi3LIyEIGegtCt39vVR6FvkFhLuLrolAmRU=;\n\tb=AaQcJlnwbymJ7OV5DjMgU+NkFsH25gLdnzvxi4/lfZnBZytxPp6QcRrcFpVE1Q+Zjs\n\tYNm7V2Wr4g/YrX5+UCHVgWhyDfbAdf7z/Ciqd5OlKHE7FJ/5B2xo7rjMJ1Gu1HP0LGzB\n\tOJNfa1LPBVim29AQ/Lzj4lgob/FETzA4/5mwzzuixkAnPJVqRORtfhLIOG6M4FxWyegI\n\tTRLp+3/MhMtdIvoPlULhd4q7BWjdO6/iwGEIrVil2tENlxPPzF4oRNywljguRGUfrkOF\n\tr6kgDJornd9YKzncXbQSYkfvydSPXowojTff3dsLGSAOWbSWD5nGqRf70TPLCeIYw/kp\n\t6fAw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=dPdC+NGdEi3LIyEIGegtCt39vVR6FvkFhLuLrolAmRU=;\n\tb=m65VySGY7OBVy6K6QZO6flsvCi5uQJrvwNf/X+p9+AemBWSARLdj2sxeEp8WLgAdw5\n\tcM17b/KZjfaowJ0wSfGaUAf+sPsw6BnspJqurC/gapQxKSADyT40zmeFmxDvTk2C9JlE\n\tzWd3SZU/6rJx4VolprDHRHM3Tz1ycKis/jKXLuTOcHl2axY6qJlrdrn3CjOc0mZC0EHb\n\tsvddK4Ps5HeON6iDnwi293J0wSJ4aA5jqKr1dIIfTt83sB+6oTuGMcEuaLk+nZtDZmS4\n\t4277BKiUp/R2Q0gbfRv7diQd8GJzT00PK8Ia+Scb6XEH9TZch8AJrM/+tVcwgBEyMnQk\n\tf3xg==", "X-Gm-Message-State": "AHYfb5gXuJha6W56PJK1Pp43g4DRI0qpB02tTimKysP/IybfOqkJDdJs\n\tbKfgTpe/S57uGcnJ", "X-Received": "by 10.84.128.69 with SMTP id 63mr22509415pla.54.1502588068884;\n\tSat, 12 Aug 2017 18:34:28 -0700 (PDT)", "From": "Nicholas Piggin <npiggin@gmail.com>", "To": "linuxppc-dev@lists.ozlabs.org", "Subject": "[PATCH v2 6/9] powerpc/64s/radix: Do not allocate SLB shadow\n\tstructures", "Date": "Sun, 13 Aug 2017 11:33:43 +1000", "Message-Id": "<20170813013346.14002-6-npiggin@gmail.com>", "X-Mailer": "git-send-email 2.13.3", "In-Reply-To": "<20170812113416.15978-1-npiggin@gmail.com>", "References": "<20170812113416.15978-1-npiggin@gmail.com>", "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": "kvm-ppc@vger.kernel.org, Nicholas Piggin <npiggin@gmail.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": "These are unused in radix mode.\n\nSigned-off-by: Nicholas Piggin <npiggin@gmail.com>\n---\n arch/powerpc/kernel/paca.c | 13 +++++++++++--\n 1 file changed, 11 insertions(+), 2 deletions(-)", "diff": "diff --git a/arch/powerpc/kernel/paca.c b/arch/powerpc/kernel/paca.c\nindex 64401f551765..354a955ca377 100644\n--- a/arch/powerpc/kernel/paca.c\n+++ b/arch/powerpc/kernel/paca.c\n@@ -101,18 +101,27 @@ static inline void free_lppacas(void) { }\n * If you make the number of persistent SLB entries dynamic, please also\n * update PR KVM to flush and restore them accordingly.\n */\n-static struct slb_shadow *slb_shadow;\n+static struct slb_shadow * __initdata slb_shadow;\n \n static void __init allocate_slb_shadows(int nr_cpus, int limit)\n {\n \tint size = PAGE_ALIGN(sizeof(struct slb_shadow) * nr_cpus);\n+\n+\tif (early_radix_enabled())\n+\t\treturn;\n+\n \tslb_shadow = __va(memblock_alloc_base(size, PAGE_SIZE, limit));\n \tmemset(slb_shadow, 0, size);\n }\n \n static struct slb_shadow * __init init_slb_shadow(int cpu)\n {\n-\tstruct slb_shadow *s = &slb_shadow[cpu];\n+\tstruct slb_shadow *s;\n+\n+\tif (early_radix_enabled())\n+\t\treturn NULL;\n+\n+\ts = &slb_shadow[cpu];\n \n \t/*\n \t * When we come through here to initialise boot_paca, the slb_shadow\n", "prefixes": [ "v2", "6/9" ] }