Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2231664/?format=api
{ "id": 2231664, "url": "http://patchwork.ozlabs.org/api/patches/2231664/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/4a980331557af3d10aada8576aaa16cddc691c65.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": "<4a980331557af3d10aada8576aaa16cddc691c65.1777606826.git.ritesh.list@gmail.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/4a980331557af3d10aada8576aaa16cddc691c65.1777606826.git.ritesh.list@gmail.com/", "date": "2026-05-01T04:11:45", "name": "[v3,6/9] pseries/papr-hvpipe: Simplify spin unlock usage in papr_hvpipe_handle_release()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "89197864d54ed28a0c424b9094b19690ddfede2b", "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/4a980331557af3d10aada8576aaa16cddc691c65.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/2231664/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231664/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linuxppc-dev+bounces-20357-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=c3t8by6T;\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-20357-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::531\"", "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=c3t8by6T;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::531; helo=mail-pg1-x531.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 4g6HhL423Dz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 14:13:06 +1000 (AEST)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g6Hgw3Nysz30FF;\n\tFri, 01 May 2026 14:12:44 +1000 (AEST)", "from mail-pg1-x531.google.com (mail-pg1-x531.google.com\n [IPv6:2607:f8b0:4864:20::531])\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 4g6Hgv5Hj0z2xjd\n\tfor <linuxppc-dev@lists.ozlabs.org>; Fri, 01 May 2026 14:12:43 +1000 (AEST)", "by mail-pg1-x531.google.com with SMTP id\n 41be03b00d2f7-c76bde70ec9so616768a12.2\n for <linuxppc-dev@lists.ozlabs.org>;\n Thu, 30 Apr 2026 21:12:43 -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.37\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Thu, 30 Apr 2026 21:12:40 -0700 (PDT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777608764;\n\tcv=none;\n b=P8hUeu3Y1cyoG5fCaI1DsL2FICVAkeyi6pYswZM+E8xjxavM4mJR1fsr7dgA6mkXJSzDSW1pE324x9nfUkGUZoTwZbo477mb5xcUvKR6aQVfE3YzJh/VbraIfmV/eB6HT1vrZnvm26gioxy0dYEbATORi4OCb1mVVUYoq5a3UBEK2PwUWISFjisuFwmC2cTKFAtMbWG/zPOofXmACSLeZLBphca9PKm1PyJK4s5rFIJJ6zZO9J0FxAWSjJMEUjDu0/NrH8dhjBxZtufbeKPd65C04jOPYbzNr+biFEKal/dj0aSnizINjHLM832qbXjVBFePFHli2RuxZw03VM3LXw==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777608764; c=relaxed/relaxed;\n\tbh=QbcA+KKAK/mlL4ebrP1t22eLmSo5X81zXX537Har/90=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=SI6JpWtILNK4Us3nhxVJ1IjE63PkTKD1idxdkIiskQl4lgrWkHRG03tZpYHcZWrjExcnR+dNZBUx003uowQG3M2Qz800cAlJ41/lShwWamxochQdwysAvsQgPfcNyayOJHhx+qpt1cob4ycRNJk3v6ZdjZzFwUmv+KeS7BvfYGASfG31P8XEuD4csh35JMcelCEkLk7TGe7AQC4lUvHBNinstqJ6Exr5XFocqM2s8Afp2+bBrAdg5zG0hIL0JYaz5hXMw+XsL02rmtozJ4viN/+6zPA2zT9dko+gAoZj7ZmD0hOwwfmtc08tHUvyQ3l60AEg/H6pw2nZjsMjk+PekA==", "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=c3t8by6T; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::531; helo=mail-pg1-x531.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=1777608761; x=1778213561;\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=QbcA+KKAK/mlL4ebrP1t22eLmSo5X81zXX537Har/90=;\n b=c3t8by6TQimW5gz4uPaQmyP0pjs4ujJT1crRCyIXje064wRikz+/mxrR+2mLuXZ1GP\n MjKCoc0dopR6IixqSSggcET2ljpGrP0VIHokN2Bl4spGhswkw3H4WGe34haEX2tVmHtd\n Oyxm7XEr0cplg98LNTJTyE4cVQL/ys3YCRU+qpWbu/TFK9QwmEymY59/flowZV/0YQgC\n YMjI849SR+cQuT0VsT7sEE1CHpcb7VJqnU94zr+a3ca2paTErTGeBYmVsNUEpJ7oWW8i\n fLHr0HgmmOWOZa6qOlWkUtxJWFKOaudcEC8TxrlpFBxz3gkYWjTuXIkMU7P5LPJ3mxcd\n /4+A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777608761; x=1778213561;\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=QbcA+KKAK/mlL4ebrP1t22eLmSo5X81zXX537Har/90=;\n b=JzRZv8XT9S/jDoWYosccDnitLKMU6iOM/fOk5UKQBGAPYZdPu0l+owvOsKIPIV7Rt6\n iNreW6KxKiyH2qnAQdpAMXGBtabYOM8/VPGjkLO6W1ejhAH2bXrPC4peidDtM3Ne2mhJ\n KsnqeptVeqt+hgBfJunHHe/6vZ8Q4PEOjKe5lD5+tvNCywfjNbUYmzibOrM5oUPBI7nT\n oN1b6m0jjQ5LqUuebTlrojsiQLlfBhdYUChzvT3IaCVy9xo4H40trUYo7MmUQZGnEEe8\n R6RQ+CvbyMCW9vF3k/rSuU26F9tD9UFIXIdi2GbYH+uDTpiQcZ9jucaU3MXhMEL7+HUm\n I0dg==", "X-Gm-Message-State": "AOJu0YxC7LMI2TeNQqcOGZR3/pKnv+YTaUqRUjoDz/44sPunr8QA7XrR\n\t6K257igtFuhbhve72m/Y+FA5ro2908BBHxjxyJKCXZUP4ll5limw2NjCtpTneO3u", "X-Gm-Gg": "AeBDiesov+m95SsJ1IyhPG+OhJ7ey2zhK05ouxPWDuhi2yq6UHCKCmMZpTLrvHSyGjp\n\tI2nsRQEubntMDQKKjO75ThFeTtErT+WyuhwQh6UeHsSbsfIgia05VawgD7scEk0G8FK7c97RgnB\n\t0+C+bW2MeMJCXY6fe/0J1PvLw7ucMbsTDr3R/ZT/gT3hW3y8qf+652MxRHNY1rY99B2tP7BzlUo\n\tV+TBoUBn871/X6YXc1M+GhXFsLz8szXzZRnPU7YGJpoLBmAKGpJIRbs1tGBdKZguml/U4w9tmjI\n\t7++O8aCxJOzoPQmS4lNMPQxtoZPRMEbx8XyJg4K/1dPoftmNk7ybIlFsw8dSlZabikPSt3jB4yX\n\tyx7n3AUBJnmdFq/FA2/ZMwx/Du/fL1Sy8QpnsyP5idCiqZnaLJSdAyPPb/7eFBhwQ5kGcGgGZVZ\n\tESRfhykzAbOml48zS04mBIb4jyc+pQ8w2mZSa/i7IoP9v+92k5CHzhiBfQnOP7TAc=", "X-Received": "by 2002:a05:6a21:33a7:b0:3a3:add5:7bf7 with SMTP id\n adf61e73a8af0-3a3cf68979amr6497104637.23.1777608761081;\n Thu, 30 Apr 2026 21:12:41 -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 6/9] pseries/papr-hvpipe: Simplify spin unlock usage in\n papr_hvpipe_handle_release()", "Date": "Fri, 1 May 2026 09:41:45 +0530", "Message-ID": "\n <4a980331557af3d10aada8576aaa16cddc691c65.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": "Once the src_info is removed from the global list, no one can access it.\nThis simplies the usage of spin_unlock_irqrestore() in\npapr_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 c007560d2d8c..5aa37f6ad8c9 100644\n--- a/arch/powerpc/platforms/pseries/papr-hvpipe.c\n+++ b/arch/powerpc/platforms/pseries/papr-hvpipe.c\n@@ -460,6 +460,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_irqrestore(&hvpipe_src_list_lock, flags);\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@@ -467,10 +468,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_irqrestore(&hvpipe_src_list_lock, flags);\n \t\thvpipe_rtas_recv_msg(NULL, 0);\n-\t} else\n-\t\tspin_unlock_irqrestore(&hvpipe_src_list_lock, flags);\n+\t}\n \n \tkfree(src_info);\n \treturn 0;\n", "prefixes": [ "v3", "6/9" ] }