get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2220918,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2220918/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/47f37e9d782b8e87566c4f2da065569f319d1b3c.1775648406.git.ritesh.list@gmail.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/1.1/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/"
    },
    "msgid": "<47f37e9d782b8e87566c4f2da065569f319d1b3c.1775648406.git.ritesh.list@gmail.com>",
    "date": "2026-04-08T12:01:36",
    "name": "[RFC,v2,06/10] pseries/papr-hvpipe: Kill task_struct pointer from struct hvpipe_source_info",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "584e49569ec2bbee7cc7e3ff732d1560485ccda5",
    "submitter": {
        "id": 79126,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/79126/?format=api",
        "name": "Ritesh Harjani (IBM)",
        "email": "ritesh.list@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/47f37e9d782b8e87566c4f2da065569f319d1b3c.1775648406.git.ritesh.list@gmail.com/mbox/",
    "series": [
        {
            "id": 499129,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499129/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=499129",
            "date": "2026-04-08T12:01:30",
            "name": "pseries/papr-hvpipe: Fix deadlock, races and misc cleanups",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/499129/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2220918/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2220918/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-19502-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=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=MHptm+dF;\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-19502-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2607:f8b0:4864:20::434\"",
            "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=MHptm+dF;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::434; helo=mail-pf1-x434.google.com;\n envelope-from=ritesh.list@gmail.com; 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 4frMBl0tbTz1xv0\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 22:02:39 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4frMBP18Skz2yjs;\n\tWed, 08 Apr 2026 22:02:21 +1000 (AEST)",
            "from mail-pf1-x434.google.com (mail-pf1-x434.google.com\n [IPv6:2607:f8b0:4864:20::434])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4frMBN35FDz2xc8\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 08 Apr 2026 22:02:20 +1000 (AEST)",
            "by mail-pf1-x434.google.com with SMTP id\n d2e1a72fcca58-82ce2e2880cso4244844b3a.0\n        for <linuxppc-dev@lists.ozlabs.org>;\n Wed, 08 Apr 2026 05:02:20 -0700 (PDT)",
            "from Mac.localdomain ([49.205.216.49])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82cf9b3e169sm21209322b3a.18.2026.04.08.05.02.14\n        (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n        Wed, 08 Apr 2026 05:02:17 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775649741;\n\tcv=none;\n b=bezNK5GMOozjXEqwxw37/Ei+7k5klSAmbyJAWznZkT4t/cb2ep93pyEb/V0zJtyC5LLaIXVgqdXITCR8EtV7qGLXWPVlalMl3WBJHCbW3QIECw9hOhF3IFDDsDxTOyvwA+A1JrSzcU7x0Skl0MssqYlAC3/fQY2gkpfJwNGuhgMPJiwne68Lbl0NLcA2Q/P7EgVs2GGIOmwDsWRVg3U//ktcCWEcATCuanZCYDXPRSMLHWE4/dhTPip2l2Tu0ZNtTzGhg2Dmm0ExAnTvkBcS2jM630TRmW0XRzhPPbInf3cW1wLV3nIueJIPxpmPaVFwWJmCk0znYyLFxTLTdKt6bg==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775649741; c=relaxed/relaxed;\n\tbh=LxoXdEEXs0w/jw6jTRsQHNSCF81gwq53jiJYY0lS3Rw=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=f/CxojqV32T+7g5/Q+3Ai0iEDxnd/hKCo0iPibZqsKBMNEQ3cc9u8nTKdrCL3hFpQ2U2A4QzLIhqKdiwclGzBbLLc5AVjHpIqMp0r93ImQivIIT4jsKdkNb3UC9ecIge5etWryd1TDSqZLKBWBoB7XflurbGBurApdjaVnyM3zeIUPPglqhA9EHvYTbKtHSukxgGKC5y+qDxrQS5Gh+n5hkLFB9w8kfczA5dFpUZElXgm6EDYp0u1eK2xJwq81zqv0T2NQ0G4jpCBdO3bFCvSE4t7nxlUI/tJmIVuRkg0TQcma4/RkcuLRittMl2VYJg3YG17vClZqWTqk5wXlSyjg==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com; dkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=MHptm+dF; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::434; helo=mail-pf1-x434.google.com;\n envelope-from=ritesh.list@gmail.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=gmail.com",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1775649738; x=1776254538;\n darn=lists.ozlabs.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=LxoXdEEXs0w/jw6jTRsQHNSCF81gwq53jiJYY0lS3Rw=;\n        b=MHptm+dF3FQlMb4ChkuojvUZJvJusCf3sjatP1/Jem4m3prMLKMlS7OZV7gvWpoovG\n         WrAcLlLPnloHAv98D1caHK1mPbkTQ6PZmxWEI7dReG8xAygI/1SxN8cjSPTf4Z0kYK2s\n         jCtvb4JHQdZtdKAPT9vQGQl0hQ2tUh18IC/Q2CroGGUf1VtFfwcQqQidCZRc1dVSvZ0w\n         S9P2ZrES2XtHbV5rSStd6ckdDdHGIasiUUuoC/Hko6swgwpeOz7jjZbUkLaTjsfV+iG/\n         usmjT0XbXBQTeWbZZ459eRO8qgC05BCN7VYfM3zcNFHI9NGMl47G7aSq89lXqISWhsUG\n         Fgew==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775649738; x=1776254538;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=LxoXdEEXs0w/jw6jTRsQHNSCF81gwq53jiJYY0lS3Rw=;\n        b=NV9muboLRwN69F4KStJJ4x2PbE6QkOW0EIgBA1DYhNWCYy0kgk2FnvAVsbZD8c0mJt\n         v9QYL2pbT66AewoPWFdZWkyiq+W1fjGjtM4F16YTc8P7vUyeS3Sfd32BNjp4zc+h/E6k\n         Aq03hqyFGZKcOPC6A4cIcaMy4x5cabKzpnxZlBhbWlm571+VOlvkmq4WMGx97N6D4GTh\n         Lbx8hSaHqs5/OoX3Y6D2WnUoyRvYXokvnYwusZoYwBuYhjRfza0HS+IRZ7s1kzYZeVfo\n         Qwv66XVsilYPOAncqmWcz3L9Gz9St7Q2jJ/N3GDWRt6MiLK3aTS9JX22UJVG0GhE4rUW\n         uiIg==",
        "X-Gm-Message-State": "AOJu0YxUT9SjWMROyjtnUERRxPJG7sNB2A3v6lhHJepWJpyFkMW6MmQ4\n\tsRppqEhHB1eg5Rf/cuKYro56qdCIYhxwBSk3o8PE3LIarAKv+YB7qo97wsX62Q==",
        "X-Gm-Gg": "AeBDiet9v76A+z1FMIF3qfFS1VAHRIkZ06qcTffQbBH/ppwTMicdG8tMlaqw/NZQJ3j\n\tHjAJYPSOBokMLYBDhRMgJZf/yzum7EG0TRNaRDRZk0psDbml3I39pEDQod0FMQnj7OgSd7cIZd0\n\t4b/XD7KSC0pHsgWXcuatxCaO4LhAuqFHGDgL1esOgcHirtmlgiPuoaxVprrh3B9rN/GaiRiiJ65\n\tXGgBFX6A7Oa5DSKKuYXhnW+dOufEKjGMo4k9qZV19G83ReYFRjkxl/85Ve1hjHNH02qJCO3CpTB\n\tCkkcH/3U3I/lFii37GLjpGPb5zP8gBTVn1XRA3WAb2EOweRIYjxACcn7WzIlhgYGyUBLN10+tWp\n\tGkXDP6Ck1iBStcLYXTH2sxAXk1BKAqra87mrS+RmlUq2VVjdVahxJYSy48WBNH13g2ukyWQ1X+K\n\tnU4hOUHxBgrVHdccAxK5JL1gXXIufEKUHGz/Sl2AZYXHS+",
        "X-Received": "by 2002:a05:6a00:4fd6:b0:82c:df25:fbc4 with SMTP id\n d2e1a72fcca58-82d0dbcce73mr22490656b3a.52.1775649737668;\n        Wed, 08 Apr 2026 05:02:17 -0700 (PDT)",
        "From": "\"Ritesh Harjani (IBM)\" <ritesh.list@gmail.com>",
        "To": "linuxppc-dev@lists.ozlabs.org,\n\tHaren Myneni <haren@linux.ibm.com>",
        "Cc": "Madhavan Srinivasan <maddy@linux.ibm.com>,\n\tChristophe Leroy <chleroy@kernel.org>,\n\tVenkat Rao Bagalkote <venkat88@linux.ibm.com>,\n\tNicholas Piggin <npiggin@gmail.com>,\n\tlinux-kernel@vger.kernel.org,\n\t\"Ritesh Harjani (IBM)\" <ritesh.list@gmail.com>",
        "Subject": "[RFC v2 06/10] pseries/papr-hvpipe: Kill task_struct pointer from\n struct hvpipe_source_info",
        "Date": "Wed,  8 Apr 2026 17:31:36 +0530",
        "Message-ID": "\n <47f37e9d782b8e87566c4f2da065569f319d1b3c.1775648406.git.ritesh.list@gmail.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "In-Reply-To": "<cover.1775648406.git.ritesh.list@gmail.com>",
        "References": "<cover.1775648406.git.ritesh.list@gmail.com>",
        "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.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tDKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,\n\tSPF_HELO_NONE,SPF_PASS autolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "We don't really use task_struct pointer for anything meaningful. So just\nkill it for now, and we can bring back later if we need this for any\nfuture debug purposes.\n\nSigned-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>\n---\n arch/powerpc/platforms/pseries/papr-hvpipe.c | 5 ++---\n arch/powerpc/platforms/pseries/papr-hvpipe.h | 1 -\n 2 files changed, 2 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/arch/powerpc/platforms/pseries/papr-hvpipe.c b/arch/powerpc/platforms/pseries/papr-hvpipe.c\nindex 7d05d6dcdb79..41958ed8ee97 100644\n--- a/arch/powerpc/platforms/pseries/papr-hvpipe.c\n+++ b/arch/powerpc/platforms/pseries/papr-hvpipe.c\n@@ -493,7 +493,6 @@ static int papr_hvpipe_dev_create_handle(u32 srcID)\n \t\treturn -ENOMEM;\n \n \tsrc_info->srcID = srcID;\n-\tsrc_info->tsk = current;\n \tinit_waitqueue_head(&src_info->recv_wqh);\n \n \t/*\n@@ -503,8 +502,8 @@ static int papr_hvpipe_dev_create_handle(u32 srcID)\n \tspin_lock_irqsave(&hvpipe_src_list_lock, flags);\n \tif (hvpipe_find_source(srcID)) {\n \t\tspin_unlock_irqrestore(&hvpipe_src_list_lock, flags);\n-\t\tpr_err(\"pid(%d) could not get the source(%d)\\n\",\n-\t\t\t\tsrc_info->tsk->pid, srcID);\n+\t\tpr_err(\"pid(%s:%d) could not get the source(%d)\\n\",\n+\t\t\t\tcurrent->comm, task_pid_nr(current), srcID);\n \t\tkfree(src_info);\n \t\treturn -EALREADY;\n \t}\ndiff --git a/arch/powerpc/platforms/pseries/papr-hvpipe.h b/arch/powerpc/platforms/pseries/papr-hvpipe.h\nindex c343f4230865..4bdf7bb2fc4d 100644\n--- a/arch/powerpc/platforms/pseries/papr-hvpipe.h\n+++ b/arch/powerpc/platforms/pseries/papr-hvpipe.h\n@@ -21,7 +21,6 @@ struct hvpipe_source_info {\n \tu32 srcID;\n \tu32 hvpipe_status;\n \twait_queue_head_t recv_wqh;\t /* wake up poll() waitq */\n-\tstruct task_struct *tsk;\n };\n \n /*\n",
    "prefixes": [
        "RFC",
        "v2",
        "06/10"
    ]
}