Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/808528/?format=api
{ "id": 808528, "url": "http://patchwork.ozlabs.org/api/patches/808528/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170901052507.31808-1-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": "<20170901052507.31808-1-npiggin@gmail.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170901052507.31808-1-npiggin@gmail.com/", "date": "2017-09-01T05:25:07", "name": "[RFC] powerpc: tick broadcast handler should call tick_receive_broadcast", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "2b37ed4dd96a3a4bc2976419ce05e1d185630dd8", "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/20170901052507.31808-1-npiggin@gmail.com/mbox/", "series": [ { "id": 949, "url": "http://patchwork.ozlabs.org/api/series/949/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=949", "date": "2017-09-01T05:25:07", "name": "[RFC] powerpc: tick broadcast handler should call tick_receive_broadcast", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/949/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808528/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808528/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 3xk75g6Rw4z9s83\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 1 Sep 2017 15:26:47 +1000 (AEST)", "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xk75g51MZzDqZv\n\tfor <patchwork-incoming@ozlabs.org>;\n\tFri, 1 Sep 2017 15:26:47 +1000 (AEST)", "from mail-pg0-x242.google.com (mail-pg0-x242.google.com\n\t[IPv6:2607:f8b0:400e:c05::242])\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 3xk7416VP0zDqY3\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 1 Sep 2017 15:25:21 +1000 (AEST)", "by mail-pg0-x242.google.com with SMTP id m15so1094598pgc.0\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu, 31 Aug 2017 22:25:21 -0700 (PDT)", "from roar.au.ibm.com (203-219-56-202.tpgi.com.au. [203.219.56.202])\n\tby smtp.gmail.com with ESMTPSA id\n\t134sm1588403pgg.43.2017.08.31.22.25.16\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 31 Aug 2017 22:25:18 -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=\"OY6LU7hp\"; 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=\"OY6LU7hp\"; dkim-atps=neutral", "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"OY6LU7hp\"; 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;\n\tbh=25w7QhPXbYZInQy3ezruzG9tBOnfnBcGIWpWuV4XvOg=;\n\tb=OY6LU7hpYAHfBsu2e6UDGT0q60wIaihRmCGBvW/qX73blVTjC+Mtk3q2LHnLdAMG8/\n\ttFDncAjSouTQwmBbh2wOq0A8e1cyKg6GBmcNMKHskj7g/C9IagPzFutVwUwZuiwqMEig\n\tu9RlSjBaRc9jMwebDiZcUmsvCXU2hESk71nQ4sPUxsQM++wi/taFqeNHT3St8kFjbbcr\n\tFGmdtuzwXwCmfGvn8B+cMwvrv2RS0pLiNuonN6mMw5t77m1MBBjOY8P4YRDtUxgCnbMD\n\tcTOYp8Uq+oUxHTfoAvxO47snuREOK0hrYQEvLJNDnEJJG19WfNP1EU7vA6SRnZgC2zOi\n\tFRkA==", "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;\n\tbh=25w7QhPXbYZInQy3ezruzG9tBOnfnBcGIWpWuV4XvOg=;\n\tb=ThFEWWm9Ar3rG3/9a6iPx/bUV0v0c0OGS4DiklaDDHrAEXBPiG76CxF70KDS/5MOnf\n\txRNpKHHels6QM8pJd/FBw46m+VfX39gcKt6tnNFohGEjOAHywSbGvLSBQwY8tZDc5lX6\n\tZvqd+hBCr5w5++2jEbBF2/VFEpcJVImguWEbp898MycJwn5dAjPBNdagVFZDIFW1VnNq\n\tp6xnKK9bd8s7s6Khx1kVSD/J2SYRrSbZfe63919R7Who5LCNnVZnhR8pzOPQg+kB907f\n\tFxKvppbolteO9fA9+aBT7RV7Hw2Z/0u6HXEEDhSVq/S8Gbja0uFUkvdRzSIMs1wPDZKQ\n\tS/ow==", "X-Gm-Message-State": "AHPjjUjetaQsgGTjFdBIG5/ey3Qi3OxoU9sOEuZKN140/HGdX8SSlUsq\n\tG/uDwEX+YQGLSAXU", "X-Google-Smtp-Source": "ADKCNb7JyuNz27Tpy6r1RKHhuW9H6HpyPz2zGt/GNTF4CgZjCMfAJ+RFvinvkxjFK8fLgIgXVOWOag==", "X-Received": "by 10.99.120.142 with SMTP id t136mr998114pgc.15.1504243519590; \n\tThu, 31 Aug 2017 22:25:19 -0700 (PDT)", "From": "Nicholas Piggin <npiggin@gmail.com>", "To": "linuxppc-dev@lists.ozlabs.org", "Subject": "[RFC PATCH] powerpc: tick broadcast handler should call\n\ttick_receive_broadcast", "Date": "Fri, 1 Sep 2017 15:25:07 +1000", "Message-Id": "<20170901052507.31808-1-npiggin@gmail.com>", "X-Mailer": "git-send-email 2.13.3", "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": "Preeti U Murthy <preeti@linux.vnet.ibm.com>,\n\t\"Srivatsa S . Bhat\" <srivatsa.bhat@linux.vnet.ibm.com>,\n\tNicholas 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": "Recently looking through the broadcast timers code, and I wonder if\nwe should be calling tick_receive_broadcast() here? Our __timer_interrupt()\nworks on the decrementer clockevent device, but we should be working on\nthe broadcast device I think? We must get away with it somehow, but I\nsee most other archs doing this and it seems to work, so I wonder if we\nshould take broadcasts this way?\n\n---\n arch/powerpc/include/asm/time.h | 1 -\n arch/powerpc/kernel/smp.c | 4 ++--\n arch/powerpc/kernel/time.c | 9 ---------\n 3 files changed, 2 insertions(+), 12 deletions(-)", "diff": "diff --git a/arch/powerpc/include/asm/time.h b/arch/powerpc/include/asm/time.h\nindex b240666b7bc1..13b5d768c761 100644\n--- a/arch/powerpc/include/asm/time.h\n+++ b/arch/powerpc/include/asm/time.h\n@@ -28,7 +28,6 @@ extern struct clock_event_device decrementer_clockevent;\n \n struct rtc_time;\n extern void to_tm(int tim, struct rtc_time * tm);\n-extern void tick_broadcast_ipi_handler(void);\n \n extern void generic_calibrate_decr(void);\n \ndiff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c\nindex 8d3320562c70..101e4476e1d6 100644\n--- a/arch/powerpc/kernel/smp.c\n+++ b/arch/powerpc/kernel/smp.c\n@@ -155,7 +155,7 @@ static irqreturn_t reschedule_action(int irq, void *data)\n \n static irqreturn_t tick_broadcast_ipi_action(int irq, void *data)\n {\n-\ttick_broadcast_ipi_handler();\n+\ttick_receive_broadcast();\n \treturn IRQ_HANDLED;\n }\n \n@@ -276,7 +276,7 @@ irqreturn_t smp_ipi_demux_relaxed(void)\n \t\tif (all & IPI_MESSAGE(PPC_MSG_RESCHEDULE))\n \t\t\tscheduler_ipi();\n \t\tif (all & IPI_MESSAGE(PPC_MSG_TICK_BROADCAST))\n-\t\t\ttick_broadcast_ipi_handler();\n+\t\t\ttick_receive_broadcast();\n #ifdef CONFIG_NMI_IPI\n \t\tif (all & IPI_MESSAGE(PPC_MSG_NMI_IPI))\n \t\t\tnmi_ipi_action(0, NULL);\ndiff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c\nindex fe6f3a285455..6f291a99ce04 100644\n--- a/arch/powerpc/kernel/time.c\n+++ b/arch/powerpc/kernel/time.c\n@@ -968,15 +968,6 @@ static int decrementer_shutdown(struct clock_event_device *dev)\n \treturn 0;\n }\n \n-/* Interrupt handler for the timer broadcast IPI */\n-void tick_broadcast_ipi_handler(void)\n-{\n-\tu64 *next_tb = this_cpu_ptr(&decrementers_next_tb);\n-\n-\t*next_tb = get_tb_or_rtc();\n-\t__timer_interrupt();\n-}\n-\n static void register_decrementer_clockevent(int cpu)\n {\n \tstruct clock_event_device *dec = &per_cpu(decrementers, cpu);\n", "prefixes": [ "RFC" ] }