Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/814819/?format=api
{ "id": 814819, "url": "http://patchwork.ozlabs.org/api/patches/814819/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170918082706.6485-3-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": "<20170918082706.6485-3-npiggin@gmail.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170918082706.6485-3-npiggin@gmail.com/", "date": "2017-09-18T08:27:03", "name": "[2/5] powerpc/watchdog: do not backtrace locked CPUs twice if allcpus backtrace is enabled", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "35db292b07e8aa4272af883febd14047f37333c9", "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/20170918082706.6485-3-npiggin@gmail.com/mbox/", "series": [ { "id": 3584, "url": "http://patchwork.ozlabs.org/api/series/3584/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=3584", "date": "2017-09-18T08:27:01", "name": "More NMI IPI enablement work", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/3584/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/814819/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/814819/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 3xwfQX0NpTz9rxm\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 18 Sep 2017 18:32:52 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xwfQW6MKXzDrZt\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 18 Sep 2017 18:32:51 +1000 (AEST)", "from mail-pf0-x243.google.com (mail-pf0-x243.google.com\n\t[IPv6:2607:f8b0:400e:c00::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 3xwfJG4xcqzDrWV\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 18 Sep 2017 18:27:26 +1000 (AEST)", "by mail-pf0-x243.google.com with SMTP id q76so4299944pfq.5\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 18 Sep 2017 01:27:26 -0700 (PDT)", "from roar.au.ibm.com ([210.185.119.235])\n\tby smtp.gmail.com with ESMTPSA id\n\td18sm14293750pfk.11.2017.09.18.01.27.21\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 18 Sep 2017 01:27:23 -0700 (PDT)" ], "Authentication-Results": [ "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"YBLCMOaj\"; dkim-atps=neutral", "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"YBLCMOaj\"; dkim-atps=neutral", "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=gmail.com\n\t(client-ip=2607:f8b0:400e:c00::243; helo=mail-pf0-x243.google.com;\n\tenvelope-from=npiggin@gmail.com; receiver=<UNKNOWN>)", "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"YBLCMOaj\"; 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=6h0qbmtWXaqANskDBM6KNJZWMvt7jvB4rYwPjBRBKiw=;\n\tb=YBLCMOajpsmvGRDDiX5jbXssQ922BafOCy8ASP+NQ7aDCMjtsfCi27yz1XSWgAFaMx\n\ts4HC+aQ9CPeBfUCqS+/6LmKOAMXIGP4zGQYrb8rWrbHGlFfQQBuc+ZNRTweHl3oy5Iin\n\tGwRXsZ6Cd+ZzIRfWnTiv64oxC9HPX4u9cs+uIpS8YFDxm5YTZryZVTXcyHmbo+MbFT5S\n\tgtZ6ytUnrq8tBGtDvBcguXSgr1WkFjiqUHT3BmM64IQlEAHh9+RKuBgxrGdF2H1hUgaw\n\toI6qGqciWASS85fk3KOarysHJ4P0NOsukbsjUs+4y7pB4bVrJ+6LgQ9pWOdKa6fRB/eG\n\tBj8Q==", "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=6h0qbmtWXaqANskDBM6KNJZWMvt7jvB4rYwPjBRBKiw=;\n\tb=VMXooic4mdrvVQ/BuRRWD4Wi92vSGRr5p+4W8CDkPZb5WYv4VGLBUTIjWEuRswnW1z\n\tw4ngUdQ5EGbC4WTgq0FzbcLxEYNHl9UZUB08F+MU3POWDwiSP6WiYXNn2QZsrgmlxsTG\n\tXDkDQ4ur93wnKivmB5BXNlCUrecFSeSXpPlDJ66sPTq6upgBVvJof8RTwPU3EkP5qr1Y\n\tzmRSdLgQUGf8qefAbCVlUdZPoO/JP3x58zM2x7NuFRIL63Le2yGLJ90pELSKGYtf3W6h\n\tfuqXg+ySWPpLsp91jdachrJWIU4b3kXy3l8OhVxfN2K5kZDTPBUYO37jvYVilSi9UkUm\n\tn9kg==", "X-Gm-Message-State": "AHPjjUi4k0xYu9Ihk3Zz/61nn5ChGb6hYai9fM2XVT5yabzNff4Nw47m\n\tcmyasgrYLxt5XF3T", "X-Google-Smtp-Source": "ADKCNb5aZ/dB54uWMOQoE7qWWta0jX9aHA8/YRgMieW0j6biqNUBV99TZ2qQteK/3PHHOEWkgRUpYA==", "X-Received": "by 10.84.194.131 with SMTP id h3mr27393614pld.352.1505723244101; \n\tMon, 18 Sep 2017 01:27:24 -0700 (PDT)", "From": "Nicholas Piggin <npiggin@gmail.com>", "To": "linuxppc-dev@lists.ozlabs.org", "Subject": "[PATCH 2/5] powerpc/watchdog: do not backtrace locked CPUs twice if\n\tallcpus backtrace is enabled", "Date": "Mon, 18 Sep 2017 18:27:03 +1000", "Message-Id": "<20170918082706.6485-3-npiggin@gmail.com>", "X-Mailer": "git-send-email 2.13.3", "In-Reply-To": "<20170918082706.6485-1-npiggin@gmail.com>", "References": "<20170918082706.6485-1-npiggin@gmail.com>", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.24", "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": "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": "If sysctl_hardlockup_all_cpu_backtrace is enabled, there is no need to\nIPI stuck CPUs for backtrace before trigger_allbutself_cpu_backtrace(),\nwhich does the same thing again.\n\nSigned-off-by: Nicholas Piggin <npiggin@gmail.com>\n---\n arch/powerpc/kernel/watchdog.c | 19 +++++++++++--------\n 1 file changed, 11 insertions(+), 8 deletions(-)", "diff": "diff --git a/arch/powerpc/kernel/watchdog.c b/arch/powerpc/kernel/watchdog.c\nindex 532a1adbe89b..920e61c79f47 100644\n--- a/arch/powerpc/kernel/watchdog.c\n+++ b/arch/powerpc/kernel/watchdog.c\n@@ -133,15 +133,18 @@ static void watchdog_smp_panic(int cpu, u64 tb)\n \tpr_emerg(\"Watchdog CPU:%d detected Hard LOCKUP other CPUS:%*pbl\\n\",\n \t\t\tcpu, cpumask_pr_args(&wd_smp_cpus_pending));\n \n-\t/*\n-\t * Try to trigger the stuck CPUs.\n-\t */\n-\tfor_each_cpu(c, &wd_smp_cpus_pending) {\n-\t\tif (c == cpu)\n-\t\t\tcontinue;\n-\t\tsmp_send_nmi_ipi(c, wd_lockup_ipi, 1000000);\n+\tif (!sysctl_hardlockup_all_cpu_backtrace) {\n+\t\t/*\n+\t\t * Try to trigger the stuck CPUs, unless we are going to\n+\t\t * get a backtrace on all of them anyway.\n+\t\t */\n+\t\tfor_each_cpu(c, &wd_smp_cpus_pending) {\n+\t\t\tif (c == cpu)\n+\t\t\t\tcontinue;\n+\t\t\tsmp_send_nmi_ipi(c, wd_lockup_ipi, 1000000);\n+\t\t}\n+\t\tsmp_flush_nmi_ipi(1000000);\n \t}\n-\tsmp_flush_nmi_ipi(1000000);\n \n \t/* Take the stuck CPUs out of the watch group */\n \tset_cpumask_stuck(&wd_smp_cpus_pending, tb);\n", "prefixes": [ "2/5" ] }