get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.2/patches/2235046/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2235046,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2235046/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260508131647.43868-11-frederic@kernel.org/",
    "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": "<20260508131647.43868-11-frederic@kernel.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20260508131647.43868-11-frederic@kernel.org/",
    "date": "2026-05-08T13:16:42",
    "name": "[10/15] tick/sched: Remove unused fields",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b4081c97f7fd5c308b88b55009cc632f017b81d7",
    "submitter": {
        "id": 79411,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/79411/?format=api",
        "name": "Frederic Weisbecker",
        "email": "frederic@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260508131647.43868-11-frederic@kernel.org/mbox/",
    "series": [
        {
            "id": 503389,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503389/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=503389",
            "date": "2026-05-08T13:16:32",
            "name": "tick/sched: Refactor idle cputime accounting",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/503389/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2235046/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2235046/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-20620-incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=st3/qLJS;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-20620-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=172.234.252.31",
            "lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org",
            "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=st3/qLJS;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org\n (client-ip=172.234.252.31; helo=sea.source.kernel.org;\n envelope-from=frederic@kernel.org; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBqSS6jLJz1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 23:18:32 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4gBqSS5l1Bz30fh;\n\tFri, 08 May 2026 23:18:32 +1000 (AEST)",
            "from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4gBqSS0Fwbz30Vj\n\tfor <linuxppc-dev@lists.ozlabs.org>; Fri, 08 May 2026 23:18:32 +1000 (AEST)",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n\tby sea.source.kernel.org (Postfix) with ESMTP id 8292743A49;\n\tFri,  8 May 2026 13:18:30 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id A3381C2BCF4;\n\tFri,  8 May 2026 13:18:22 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1778246312;\n\tcv=none;\n b=B9Fp8SWmgj9Aozy7QK5+FUY4WmL6RPr5CSPea7PSZpJDQ3gBUI3yJknu90YsPKrgms+ouQrn11oiCHUhxn2h38yBnWfpPGNHgFCcJHvi9pT3A7hYSMYSBCWKFx3+cQPMinPnjvMwbEJe+vzMvK0aTweCYmrLNorekvR5CnsZiY+lDdCVHG3JhwmNCKCnjTXIOH9noLiJlReNwnQZOHK/bPGzKBwv/x3TApluTuiB8ExGh65zmifKzvF3H+lObgG057wjzDAeLFzBRvVTpwCoKdhz39Ez4pTlai9w30EvA18z5yR9U1WPiCXqw+SQ9EilphPAnSMNJSVti5XcTiqW9g==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1778246312; c=relaxed/relaxed;\n\tbh=hGJ5gKGP5NBnLBdUkMgJMA16WqiQG0xdyMeEe44o73o=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=TGp2DtggcDSq+fNDKFmbBG/g8Pud5KBPJfQlmtehVuewAHH4gFPS8UvsbpR6Xk24TA5I/+8n6+6Ut11qhezKnwh2hQIYsQdlgKyff78qFCqGfyaZKlODpK2FQr7UYPg9XEm4Ee8RDca29kOwfTaSfgJCQpr4NAqsYfTFM66Ver0e9NUPvuKZ7aJe3cz3GT3Q4j2pUWZqaNAszl4kwv+gzY5Ij5MktfyW91h4fmoyF2HikSpkdkc9UZe4NpuqDdufgANl0bO0yGqBMJDARk1dAHYBazHi0xPjogPMMaaQDK66izdjZUiHdNgtM4DwdVsNNT1jLBaXSCcOJYhQQLRVAg==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=st3/qLJS; dkim-atps=neutral;\n spf=pass (client-ip=172.234.252.31; helo=sea.source.kernel.org;\n envelope-from=frederic@kernel.org;\n receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1778246310;\n\tbh=ys77JzOHsGhhBTcp66sZM78DJ9qkVtsl0EVl5+hyt7Y=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=st3/qLJS26Zd62YfHNmDD9M+dmAGI2ZGRGPXtUJamNMnvir33lqR4cJFlq9a7A9RW\n\t XqhyxjAYo4Yhj7KJeEWqTGyNc+PeUgf7kqIJsqFqkr0MU5IsE7n3LBRutw/ePjFCIU\n\t EBKlVbF8stCR6y3oMQIto6yXwkq7qjWoK70Y8ODM3OhGdoO94BEbVuU6taqFScqkOq\n\t fagf7qZQWe/3fpZOotu5SgDTVFABbTEGtnOj0vcVCrW4mq/qzJySzCtJvs98Kb6wcr\n\t 8Z2dO2zmWaQm7qsWAuFurpZ/hKkSk0ZKuIQxhYq3efFPyYGTDoXPLhZzhOv/pKTpnY\n\t vDQ3drmy5Wo1w==",
        "From": "Frederic Weisbecker <frederic@kernel.org>",
        "To": "LKML <linux-kernel@vger.kernel.org>",
        "Cc": "Frederic Weisbecker <frederic@kernel.org>,\n\t\"Christophe Leroy (CS GROUP)\" <chleroy@kernel.org>,\n\t\"Rafael J. Wysocki\" <rafael@kernel.org>,\n\tAlexander Gordeev <agordeev@linux.ibm.com>,\n\tAnna-Maria Behnsen <anna-maria@linutronix.de>,\n\tBen Segall <bsegall@google.com>, Boqun Feng <boqun.feng@gmail.com>,\n\tChristian Borntraeger <borntraeger@linux.ibm.com>,\n\tDietmar Eggemann <dietmar.eggemann@arm.com>,\n\tHeiko Carstens <hca@linux.ibm.com>, Ingo Molnar <mingo@kernel.org>,\n\tIngo Molnar <mingo@redhat.com>, Jan Kiszka <jan.kiszka@siemens.com>,\n\tJoel Fernandes <joelagnelf@nvidia.com>,\n\tJuri Lelli <juri.lelli@redhat.com>,\n\tKieran Bingham <kbingham@kernel.org>,\n\tMadhavan Srinivasan <maddy@linux.ibm.com>,\n\tMel Gorman <mgorman@suse.de>, Michael Ellerman <mpe@ellerman.id.au>,\n\tNeeraj Upadhyay <neeraj.upadhyay@kernel.org>,\n\tNicholas Piggin <npiggin@gmail.com>,\n\t\"Paul E . McKenney\" <paulmck@kernel.org>,\n\tPeter Zijlstra <peterz@infradead.org>, Sashiko@lists.ozlabs.org,\n\tShrikanth Hegde <sshegde@linux.ibm.com>,\n\tSteven Rostedt <rostedt@goodmis.org>,\n\tSven Schnelle <svens@linux.ibm.com>,\n\tThomas Gleixner <tglx@linutronix.de>,\n\tUladzislau Rezki <urezki@gmail.com>,\n\tValentin Schneider <vschneid@redhat.com>,\n\tVasily Gorbik <gor@linux.ibm.com>,\n\tVincent Guittot <vincent.guittot@linaro.org>,\n\tViresh Kumar <viresh.kumar@linaro.org>,\n\tXin Zhao <jackzxcui1989@163.com>, linux-pm@vger.kernel.org,\n\tlinux-s390@vger.kernel.org, linuxppc-dev@lists.ozlabs.org",
        "Subject": "[PATCH 10/15] tick/sched: Remove unused fields",
        "Date": "Fri,  8 May 2026 15:16:42 +0200",
        "Message-ID": "<20260508131647.43868-11-frederic@kernel.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260508131647.43868-1-frederic@kernel.org>",
        "References": "<20260508131647.43868-1-frederic@kernel.org>",
        "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org",
        "List-Id": "<linuxppc-dev.lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>",
        "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>",
        "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>",
        "Precedence": "list",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Spam-Status": "No, score=-0.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,\n\tDKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS\n\tautolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "Remove fields after the dyntick-idle cputime migration to scheduler\ncode.\n\nSigned-off-by: Frederic Weisbecker <frederic@kernel.org>\nTested-by: Shrikanth Hegde <sshegde@linux.ibm.com>\n---\n kernel/time/tick-sched.h       | 12 ------------\n kernel/time/timer_list.c       |  6 +-----\n scripts/gdb/linux/timerlist.py |  4 ----\n 3 files changed, 1 insertion(+), 21 deletions(-)",
    "diff": "diff --git a/kernel/time/tick-sched.h b/kernel/time/tick-sched.h\nindex b4a7822f495d..79b9252047b1 100644\n--- a/kernel/time/tick-sched.h\n+++ b/kernel/time/tick-sched.h\n@@ -44,9 +44,7 @@ struct tick_device {\n  *\t\t\tto resume the tick timer operation in the timeline\n  *\t\t\twhen the CPU returns from nohz sleep.\n  * @next_tick:\t\tNext tick to be fired when in dynticks mode.\n- * @idle_jiffies:\tjiffies at the entry to idle for idle time accounting\n  * @idle_waketime:\tTime when the idle was interrupted\n- * @idle_sleeptime_seq:\tsequence counter for data consistency\n  * @idle_entrytime:\tTime when the idle call was entered\n  * @last_jiffies:\tBase jiffies snapshot when next event was last computed\n  * @timer_expires_base:\tBase time clock monotonic for @timer_expires\n@@ -55,9 +53,6 @@ struct tick_device {\n  * @idle_expires:\tNext tick in idle, for debugging purpose only\n  * @idle_calls:\t\tTotal number of idle calls\n  * @idle_sleeps:\tNumber of idle calls, where the sched tick was stopped\n- * @idle_exittime:\tTime when the idle state was left\n- * @idle_sleeptime:\tSum of the time slept in idle with sched tick stopped\n- * @iowait_sleeptime:\tSum of the time slept in idle with sched tick stopped, with IO outstanding\n  * @tick_dep_mask:\tTick dependency mask - is set, if someone needs the tick\n  * @check_clocks:\tNotification mechanism about clocksource changes\n  */\n@@ -73,12 +68,10 @@ struct tick_sched {\n \tstruct hrtimer\t\t\tsched_timer;\n \tktime_t\t\t\t\tlast_tick;\n \tktime_t\t\t\t\tnext_tick;\n-\tunsigned long\t\t\tidle_jiffies;\n \tktime_t\t\t\t\tidle_waketime;\n \tunsigned int\t\t\tgot_idle_tick;\n \n \t/* Idle entry */\n-\tseqcount_t\t\t\tidle_sleeptime_seq;\n \tktime_t\t\t\t\tidle_entrytime;\n \n \t/* Tick stop */\n@@ -90,11 +83,6 @@ struct tick_sched {\n \tunsigned long\t\t\tidle_calls;\n \tunsigned long\t\t\tidle_sleeps;\n \n-\t/* Idle exit */\n-\tktime_t\t\t\t\tidle_exittime;\n-\tktime_t\t\t\t\tidle_sleeptime;\n-\tktime_t\t\t\t\tiowait_sleeptime;\n-\n \t/* Full dynticks handling */\n \tatomic_t\t\t\ttick_dep_mask;\n \ndiff --git a/kernel/time/timer_list.c b/kernel/time/timer_list.c\nindex 427d7ddea3af..514802def1e0 100644\n--- a/kernel/time/timer_list.c\n+++ b/kernel/time/timer_list.c\n@@ -152,14 +152,10 @@ static void print_cpu(struct seq_file *m, int cpu, u64 now)\n \t\tP_flag(highres, TS_FLAG_HIGHRES);\n \t\tP_ns(last_tick);\n \t\tP_flag(tick_stopped, TS_FLAG_STOPPED);\n-\t\tP(idle_jiffies);\n \t\tP(idle_calls);\n \t\tP(idle_sleeps);\n \t\tP_ns(idle_entrytime);\n \t\tP_ns(idle_waketime);\n-\t\tP_ns(idle_exittime);\n-\t\tP_ns(idle_sleeptime);\n-\t\tP_ns(iowait_sleeptime);\n \t\tP(last_jiffies);\n \t\tP(next_timer);\n \t\tP_ns(idle_expires);\n@@ -256,7 +252,7 @@ static void timer_list_show_tickdevices_header(struct seq_file *m)\n \n static inline void timer_list_header(struct seq_file *m, u64 now)\n {\n-\tSEQ_printf(m, \"Timer List Version: v0.10\\n\");\n+\tSEQ_printf(m, \"Timer List Version: v0.11\\n\");\n \tSEQ_printf(m, \"HRTIMER_MAX_CLOCK_BASES: %d\\n\", HRTIMER_MAX_CLOCK_BASES);\n \tSEQ_printf(m, \"now at %Ld nsecs\\n\", (unsigned long long)now);\n \tSEQ_printf(m, \"\\n\");\ndiff --git a/scripts/gdb/linux/timerlist.py b/scripts/gdb/linux/timerlist.py\nindex 9fb3436a217c..744b032e4d38 100644\n--- a/scripts/gdb/linux/timerlist.py\n+++ b/scripts/gdb/linux/timerlist.py\n@@ -90,14 +90,10 @@ def print_cpu(hrtimer_bases, cpu, max_clock_bases):\n             text += f\"  .{'nohz':15s}: {int(bool(ts['flags'] & TS_FLAG_NOHZ))}\\n\"\n             text += f\"  .{'last_tick':15s}: {ts['last_tick']}\\n\"\n             text += f\"  .{'tick_stopped':15s}: {int(bool(ts['flags'] & TS_FLAG_STOPPED))}\\n\"\n-            text += f\"  .{'idle_jiffies':15s}: {ts['idle_jiffies']}\\n\"\n             text += f\"  .{'idle_calls':15s}: {ts['idle_calls']}\\n\"\n             text += f\"  .{'idle_sleeps':15s}: {ts['idle_sleeps']}\\n\"\n             text += f\"  .{'idle_entrytime':15s}: {ts['idle_entrytime']} nsecs\\n\"\n             text += f\"  .{'idle_waketime':15s}: {ts['idle_waketime']} nsecs\\n\"\n-            text += f\"  .{'idle_exittime':15s}: {ts['idle_exittime']} nsecs\\n\"\n-            text += f\"  .{'idle_sleeptime':15s}: {ts['idle_sleeptime']} nsecs\\n\"\n-            text += f\"  .{'iowait_sleeptime':15s}: {ts['iowait_sleeptime']} nsecs\\n\"\n             text += f\"  .{'last_jiffies':15s}: {ts['last_jiffies']}\\n\"\n             text += f\"  .{'next_timer':15s}: {ts['next_timer']}\\n\"\n             text += f\"  .{'idle_expires':15s}: {ts['idle_expires']} nsecs\\n\"\n",
    "prefixes": [
        "10/15"
    ]
}