get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231666,
    "url": "http://patchwork.ozlabs.org/api/patches/2231666/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/895e061e45cdc95db36fa7f27aa1922b81eed867.1777606826.git.ritesh.list@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": "<895e061e45cdc95db36fa7f27aa1922b81eed867.1777606826.git.ritesh.list@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/895e061e45cdc95db36fa7f27aa1922b81eed867.1777606826.git.ritesh.list@gmail.com/",
    "date": "2026-05-01T04:11:46",
    "name": "[v3,7/9] 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/people/79126/?format=api",
        "name": "Ritesh Harjani (IBM)",
        "email": "ritesh.list@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/895e061e45cdc95db36fa7f27aa1922b81eed867.1777606826.git.ritesh.list@gmail.com/mbox/",
    "series": [
        {
            "id": 502420,
            "url": "http://patchwork.ozlabs.org/api/series/502420/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=502420",
            "date": "2026-05-01T04:11:39",
            "name": "pseries/papr-hvpipe: Fix deadlock, races and misc cleanups",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/502420/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231666/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231666/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-20358-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=RNwZw9LH;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-20358-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::436\"",
            "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=RNwZw9LH;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::436; helo=mail-pf1-x436.google.com;\n envelope-from=ritesh.list@gmail.com; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\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 4g6HhT5gYSz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 14:13:13 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g6Hh02zVgz3bdD;\n\tFri, 01 May 2026 14:12:48 +1000 (AEST)",
            "from mail-pf1-x436.google.com (mail-pf1-x436.google.com\n [IPv6:2607:f8b0:4864:20::436])\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 4g6Hgz5SQDz2xjd\n\tfor <linuxppc-dev@lists.ozlabs.org>; Fri, 01 May 2026 14:12:47 +1000 (AEST)",
            "by mail-pf1-x436.google.com with SMTP id\n d2e1a72fcca58-82ce2e2880cso1099937b3a.0\n        for <linuxppc-dev@lists.ozlabs.org>;\n Thu, 30 Apr 2026 21:12:47 -0700 (PDT)",
            "from localhost.localdomain ([49.205.216.49])\n        by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-83515b485eesm1159428b3a.48.2026.04.30.21.12.41\n        (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n        Thu, 30 Apr 2026 21:12:44 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777608768;\n\tcv=none;\n b=eb8GPu5QPEDK4xT3HK0N1DDujMbMG8oCz1gamFkdxe3ixA4dWLkQFRRrlzcKfZ0t0R/I5qEzD0r3Agf8qbzZ2X+CtqP3mDY6mZZ/0UgP73Ccp50EtcmK6+mRLWRwbOIi68nTy/igo0QCnCLbQAzDQzmZWLa5W8Eehs1/3GSfZ2PXUumLOMN3R8vRHxOeK+xgUg9iPR4CWCqJvVPKoBbWayNkmNzNkcv3Qwzy0nlrHJYuy9TlO7GR5iOhx0VEmKwTaVSNYpyGVZqHskmqRk8ZAxt4caPyjevWr6N5v8q7j04/jDbwwfSZ9umxCKTll2miyU81bs3lh1M4IcW/o+lo9A==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777608768; c=relaxed/relaxed;\n\tbh=QMCX/8Rx1DH/VKMyWagi6FXZnymSiiQzOS5vntFU8d4=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=TmNTkZ4gdU73YixC6UBJCGaHG+oDHdvUZ0trIYAz0bdjORNcTLnwBqwvP2+AgMZPGnAd9hOPwkFq6/McJSMu+jcxRx96EE3aGWPx5/zpc6pQMUcqQpJ12gzroU09+dcb1EpmIVPk6Mn/Np4u5KuL7o3DfOIdC9l/Ed7aGCHJZebj7k0AXL1reW5vRGglWArmunGsI9UcfcIQA+jYjuxXgazED17wHbzYSi5Cc84w8jdtG4z6kFqHAIvR1AvNj1H+t9Py8Anos30ItGDQkXwTU7I8YqyMY1Pj2uv2nhQw+NUBMjWfSTjzNx6YnI8JcQ/MY/+PQ9D6FfBRL6+GkP0Dqg==",
        "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=RNwZw9LH; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::436; helo=mail-pf1-x436.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=1777608765; x=1778213565;\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=QMCX/8Rx1DH/VKMyWagi6FXZnymSiiQzOS5vntFU8d4=;\n        b=RNwZw9LHKBIxcPJV0c032bBSjkYvPAkltv5G1LNj95XXOI25GTtqE29qXJrrAazvsp\n         Qo8YBHFeewOzWDQ4KmP+tKTycgQ5grnrklhjCnWrwNWfkTHTpgYu2crUm6EFvY7lyWiB\n         C1mH3hZCP7nVW3rfftL+Kjz6vgBvhqJmY3UE9mRd0bbR8Opo4rw5m46j/vl+nk3kIKpW\n         5y1/6wy2ZVU1VRkcER3upnJMqbXdchwaaQEDHgZA1XerbmHERc0NDzW+WHyFv34vqfMD\n         tQI71VhjyiGJPUKJAtNRS2BuiROVxwaC1l9ZAyKk16JRe+VoMNew2xcIGyW6GIIrwDHb\n         0LXg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1777608765; x=1778213565;\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=QMCX/8Rx1DH/VKMyWagi6FXZnymSiiQzOS5vntFU8d4=;\n        b=QCnivYUggNf+n883u2gRxhj4v4DRv3RN5itVF5KS8wgpFfEjaHvWDMoFcdVWNtgxfH\n         ap5uLJNPOM4YG7zSMe9tZckGChSJAN+QEd+mDHm+aoWEA6o32qfOpZg0s47747Zidjnx\n         5k4FjHs/LBYfN74bS64pKNfcj0MWmjRZsNd9Gz1n57U6ZmFlKQ5FYrSx9qD0tMU9/J+G\n         tsi/fKxBBeumQpatWqeZsM6ZXaTRqA4clDQWlFEkOKe0hO8tSjg4FV3CtCB+ZS6HIij4\n         8EU8lIvoJJndZiCdTXIcyP8PaFR4qlWi1VFBjPwyKDAtj095vyrIBz0wpHg7xJ8MHJQg\n         UGhA==",
        "X-Gm-Message-State": "AOJu0YxmJFTu2Pluo+9rKiQcigL6i22oVRw6fJhggBMag0oXMqFH9BsJ\n\t5y9z6xvdS/dNiKuzkblhD46okNAjv4VROaNaL8xekrb5ofw+3Yy8VyY1BgOhTMec",
        "X-Gm-Gg": "AeBDiet2Cgvka3bIxGjJxI7akgiTqFRHlNWKMgoFLik+X5nXdHsmQggbT5xYzVe/qZe\n\tpMx8pWvxq/h5hTom3yxTStuAM93u9B0MOQ5wK0Z64ne7HCdyfFrPWWeMUgFTUN6WNu+Oaf/720h\n\t/JWWX+f9sUJij0jbkzfJ/VHt/wqLiMl/ffjHoCnkcyCZi6M2KMfYcM8xG1od6oyWt27lYDcN9tr\n\tjiN/z6P2Y4PdxBGYwe3CPkwD5Hf5Fj++MYf1Pd72lwnzFbfQyyB2u3ZZEY1dc4VjrmG1rZ3IqLV\n\taHpzDq3PBdSk65iJRStTlSKJLukTMGBGgJb2Z6S/gji4/IHccsJg5fKUbB52g248gCH4LOiJBN/\n\tzrjB5LK9qI75T1j7ahifaW1cxgyu04ZcXbmTklgrfoqASk4+JdhkmvfgrZjJ08ZOdEqLWneiFbc\n\tB7yHimswVkj0i/ZN4sU6uCsd4oMnKhseyDrKrs8PP91SuMvzejF5aHAifbUEgmt84=",
        "X-Received": "by 2002:a05:6a00:4f92:b0:82c:70a8:faee with SMTP id\n d2e1a72fcca58-8351a0a52acmr1599525b3a.6.1777608765440;\n        Thu, 30 Apr 2026 21:12:45 -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": "[PATCH v3 7/9] pseries/papr-hvpipe: Kill task_struct pointer from\n struct hvpipe_source_info",
        "Date": "Fri,  1 May 2026 09:41:46 +0530",
        "Message-ID": "\n <895e061e45cdc95db36fa7f27aa1922b81eed867.1777606826.git.ritesh.list@gmail.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "In-Reply-To": "<cover.1777606826.git.ritesh.list@gmail.com>",
        "References": "<cover.1777606826.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 5aa37f6ad8c9..46159f1c1cf1 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": [
        "v3",
        "7/9"
    ]
}