Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2220571/?format=api
{ "id": 2220571, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2220571/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/4217692a276ccae03f764f746e3607757277cbda.1775569027.git.ritesh.list@gmail.com/", "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": "<4217692a276ccae03f764f746e3607757277cbda.1775569027.git.ritesh.list@gmail.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/4217692a276ccae03f764f746e3607757277cbda.1775569027.git.ritesh.list@gmail.com/", "date": "2026-04-07T14:31:37", "name": "[RFC,v1,3/6] pseries/papr-hvpipe: Simplify spin_unlock() usage in papr_hvpipe_handle_release", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "a12bbee7ec1e01f600c75671e6b38fc560317ba1", "submitter": { "id": 79126, "url": "http://patchwork.ozlabs.org/api/1.2/people/79126/?format=api", "name": "Ritesh Harjani (IBM)", "email": "ritesh.list@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/4217692a276ccae03f764f746e3607757277cbda.1775569027.git.ritesh.list@gmail.com/mbox/", "series": [ { "id": 498988, "url": "http://patchwork.ozlabs.org/api/1.2/series/498988/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=498988", "date": "2026-04-07T14:31:34", "name": "pseries/papr-hvpipe: Fix and simplify papr-hvpipe", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/498988/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2220571/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2220571/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linuxppc-dev+bounces-19438-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=shJED1kH;\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-19438-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::62b\"", "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=shJED1kH;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::62b; helo=mail-pl1-x62b.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 4fqpZ014w4z1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 00:32:24 +1000 (AEST)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fqpYn1FPnz2ygm;\n\tWed, 08 Apr 2026 00:32:13 +1000 (AEST)", "from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com\n [IPv6:2607:f8b0:4864:20::62b])\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 4fqpYm25DZz2ySk\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 08 Apr 2026 00:32:12 +1000 (AEST)", "by mail-pl1-x62b.google.com with SMTP id\n d9443c01a7336-2b23f90f53aso46091015ad.0\n for <linuxppc-dev@lists.ozlabs.org>;\n Tue, 07 Apr 2026 07:32:11 -0700 (PDT)", "from Mac.localdomain.com ([49.205.216.49])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b2749cbc58sm181201525ad.78.2026.04.07.07.32.05\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Tue, 07 Apr 2026 07:32:08 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775572333;\n\tcv=none;\n b=CUbBq1eeqpHr5wSSHz+bHYy76ZlPZTqhgTAjJdfxu64vTssPm6sbZ+F0+0ZIatNlLSyN7eKzs9JSoIZKT2iumYptWRS4aMYVmh9rDuLxvLrueBsL4T9rm0wUtuf4wQDY1pT9ZAK1TOjI1SLClbs4j9DvizRXKZQy1XGtB8WAXwKxgYLoHWMyuhSvJxiGQv3QfdSYKR2woE8/4/GOrI1OoXZtggT1CHhH88rDFVLd9xH+JfczqRXb0srr8rh2Ii5LSCFuycjr5CcOuQlG/OS6Akqb/CAgYzR0fr4zEEB3L3GELkCz4W18CeoMI4YTDYm7hfnaM4gcLjSrVGFeCotD5g==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775572333; c=relaxed/relaxed;\n\tbh=fS3FVRjX3+s9MHoE+khprd5qCb8Si71RJNdFfwJc+pc=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=bGX29nLcPd+nPPSDM3LHvtmoU6w0wosG74IvkFn1f5ZDqMrdfL5P1x/PCeEppI3DpYtGa7MVXfuuDL7cRrzJrEyjIXZMGbO1oKFUQXvRXQb8pNiPPmxLwmr0Tce4ncn4EP4Bl9banvsXyWplC1BYX2sgy5oFHbah2s1jwpjguY5K1sFPmuxD1T7hg8fHeafKC95QhOoH17REeR1JSZuoCPxprIfvfihggTpVbUu3nL4yY6KBd5eOE5iHy9xmbM+V/Q6GkuDFdXHtvBtOJyXZ4ay1btiuabDeA4rzt3/14V8L6kMqlN0CSXOFb15JBVnyIs3QJOLmF9b+OJmWWYLheg==", "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=shJED1kH; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::62b; helo=mail-pl1-x62b.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=1775572329; x=1776177129;\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=fS3FVRjX3+s9MHoE+khprd5qCb8Si71RJNdFfwJc+pc=;\n b=shJED1kHSCbwmduXBYJdGN7s44l7rrj3S/ETodQZlg6ejOVtQRHndDZIwkM0xAQcXq\n H6w/ikymFtD5r4cTBIWVCnEgdTFfz42hO+dNVUxup/WxVevGe6oyRg8staz6Rt5vswmL\n 54MsX6599A2ZGmcOWA3F2jZj1dUja4n1gTlMaz/LjUDKk7M3xD20wF8VGLvJIu74Plhb\n 7RWjbhochTUpqcU1j3F4DPn41gUUQqqjZQy6TtOc5JUFWU7rRrHiHZxlGQT0PmNXcato\n 1kNCcSDviF/y263HxpxmBulnL69PX9EKXRQClkccXEJQN0AyQ2nWSw7Bp5epfndR1rTv\n L5tA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775572329; x=1776177129;\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=fS3FVRjX3+s9MHoE+khprd5qCb8Si71RJNdFfwJc+pc=;\n b=FkMf+U2lMZ0ZvOc4sPnX7lCdIXEUbdsUvuwrQn4bfqnRQ2SRxx9jz/1oyWwzgGgQo8\n W/soavDawXhlXKQn8RxR85it860T4HysLgKx2a2mUTzso2ADrQGR5Wl7mxEIFfv9LLyY\n hZPM3ZEezIvjDlepUepGnMaZPCjFQ2mJh3f1BfRY66mMDiz9e9ho026+80QJYqLQIBr0\n u9bxr9aw8iFgntO5G+o8DE/snlYz6OajxZ4pe5neMgTeqgPF7hGMOdI5uT8jTKa7c4iQ\n E0Ux+U0h3fw3jTX7wJkqJDit/5zIFu71y/xrKWtcEIQHc3ju2TW+sDodrkxqvx7+F3Ty\n RMRg==", "X-Gm-Message-State": "AOJu0YweLvwHanlX9btvTZywu8paScEc2PutxY2n8xmBMIN49WhMUkAL\n\tgjkJbXS3VFU7CFFVHDbNCG8jZAbtr4mhiCtWFCAGdhBhK84hePuQ7FjZSMqd6A==", "X-Gm-Gg": "AeBDietFx0UWkGbr1GsNQxuBwj8qzLbrMMEFtl8YqJEKKIaRK9msdWd6SDudSLqN+B5\n\tUZQ3DOQXtc+ja0H3yla9IEcut8RaGFjK22YBFUIKxL5dQSRWo/XMnCaJJgxgIzdI8EGcWVsgCWo\n\tLc36C9xSXr6jWenmYkg4XNP5CC1yUbTeoTnhkyCDYfKxa4SsqHpyh5Us5NflSsvNYOFH0w1haaS\n\tJ8f71AgWb/fSSY0j/lzOZ0rZSepdbCyq9QE5b3UALbBdDJz7xKKacobZZ7+4BdRzdmcOjn4ZL1a\n\t3al1vbJZ0Nd+47iVj48Bbv0IdyB5gcf0y+eiKnbul0Di9Dd05LxJGwfjUxcHQazvFk65rpUjhGY\n\tv9ij9qT8oFOMVY4DvUHjYpoipKV0NQKuE7aoUM8tMHYNjME0pkFMj0RYLPA4My5Pid7Kz0V9Rom\n\tTgctNudXGCXIQn6VvJPrpvM1NIorRKEm4dK4HGqSN+9NGwpMnUGPkcPa9adGVf", "X-Received": "by 2002:a17:903:1b70:b0:2b0:bebb:1081 with SMTP id\n d9443c01a7336-2b281799025mr198432295ad.28.1775572329159;\n Tue, 07 Apr 2026 07:32:09 -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 v1 3/6] pseries/papr-hvpipe: Simplify spin_unlock() usage in\n papr_hvpipe_handle_release", "Date": "Tue, 7 Apr 2026 20:01:37 +0530", "Message-ID": "\n <4217692a276ccae03f764f746e3607757277cbda.1775569027.git.ritesh.list@gmail.com>", "X-Mailer": "git-send-email 2.50.1", "In-Reply-To": "<cover.1775569027.git.ritesh.list@gmail.com>", "References": "<cover.1775569027.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": "Once the src_info is removed from the global list, no one can access it.\nThis simplies the usage of spin_unlock() in papr_hvpipe_handle_release()\n\nSigned-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>\n---\n arch/powerpc/platforms/pseries/papr-hvpipe.c | 5 ++---\n 1 file changed, 2 insertions(+), 3 deletions(-)", "diff": "diff --git a/arch/powerpc/platforms/pseries/papr-hvpipe.c b/arch/powerpc/platforms/pseries/papr-hvpipe.c\nindex fffebbae113c..57ec50e3e883 100644\n--- a/arch/powerpc/platforms/pseries/papr-hvpipe.c\n+++ b/arch/powerpc/platforms/pseries/papr-hvpipe.c\n@@ -455,6 +455,7 @@ static int papr_hvpipe_handle_release(struct inode *inode,\n \tsrc_info = file->private_data;\n \tlist_del(&src_info->list);\n \tfile->private_data = NULL;\n+\tspin_unlock(&hvpipe_src_list_lock);\n \t/*\n \t * If the pipe for this specific source has any pending\n \t * payload, issue recv HVPIPE RTAS so that pipe will not\n@@ -462,10 +463,8 @@ static int papr_hvpipe_handle_release(struct inode *inode,\n \t */\n \tif (src_info->hvpipe_status & HVPIPE_MSG_AVAILABLE) {\n \t\tsrc_info->hvpipe_status = 0;\n-\t\tspin_unlock(&hvpipe_src_list_lock);\n \t\thvpipe_rtas_recv_msg(NULL, 0);\n-\t} else\n-\t\tspin_unlock(&hvpipe_src_list_lock);\n+\t}\n \n \tkfree(src_info);\n \treturn 0;\n", "prefixes": [ "RFC", "v1", "3/6" ] }