{"id":2220572,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2220572/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/108d32a56d9d4630ed2ba7d8ecce9679adf8671f.1775569027.git.ritesh.list@gmail.com/","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/1.2/projects/2/?format=json","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":"<108d32a56d9d4630ed2ba7d8ecce9679adf8671f.1775569027.git.ritesh.list@gmail.com>","list_archive_url":"https://lore.kernel.org/linuxppc-dev/108d32a56d9d4630ed2ba7d8ecce9679adf8671f.1775569027.git.ritesh.list@gmail.com/","date":"2026-04-07T14:31:38","name":"[RFC,v1,4/6] pseries/papr-hvpipe: Kill task_struct pointer from struct hvpipe_source_info","commit_ref":null,"pull_url":null,"state":"superseded","archived":false,"hash":"993ab048c30fe38428eea04894a1f7147c29e26d","submitter":{"id":79126,"url":"http://patchwork.ozlabs.org/api/1.2/people/79126/?format=json","name":"Ritesh Harjani (IBM)","email":"ritesh.list@gmail.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/108d32a56d9d4630ed2ba7d8ecce9679adf8671f.1775569027.git.ritesh.list@gmail.com/mbox/","series":[{"id":498988,"url":"http://patchwork.ozlabs.org/api/1.2/series/498988/?format=json","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/2220572/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2220572/checks/","tags":{},"related":[],"headers":{"Return-Path":"\n <linuxppc-dev+bounces-19439-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=fdRxuSCU;\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-19439-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::62d\"","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=fdRxuSCU;\n\tdkim-atps=neutral","lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com\n (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.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 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fqpZ7002Fz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 08 Apr 2026 00:32:30 +1000 (AEST)","from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fqpYr5jHPz2yrt;\n\tWed, 08 Apr 2026 00:32:16 +1000 (AEST)","from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com\n [IPv6:2607:f8b0:4864:20::62d])\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 4fqpYr0Xsrz2ySk\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 08 Apr 2026 00:32:15 +1000 (AEST)","by mail-pl1-x62d.google.com with SMTP id\n d9443c01a7336-2b24fede2acso28354235ad.3\n        for <linuxppc-dev@lists.ozlabs.org>;\n Tue, 07 Apr 2026 07:32:15 -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.09\n        (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n        Tue, 07 Apr 2026 07:32:12 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1775572336;\n\tcv=none;\n b=kyi65ExAykbEAkVr7mFGvCElh4SuDiSlNLZj3Oq2G7QC+8OdRSQnCXVCSWQ7w42mnw7C9Kt2y1g8eQ4OIyg6STdPMnwCO/QlXkqbGBZ/k4mnQqaRpjVdFIUHgjH72sFp2WyM6OZKElw8y8s4Uywa2e2sZrfPr9tP/B7Qw/RPkrX9BVoSBKYuu8ymYmpozLY4q0PRvRifBwYChHY31/LVfFz/OwPRZwB0t3mDbc8c4yMjAcCKMJeFB5YLWFhnNJHlkz6qCCjcGcQxuw+JDmyY4frXEO8jreHifNSKu8NDRckBRBnV4KzpJu/dALEiYzv4NSGSyAlwJIp12aXxcojlfQ==","ARC-Message-Signature":"i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1775572336; c=relaxed/relaxed;\n\tbh=Pe/uIRrlspU3/PcFgSkVRxo4DJTV1t3LxD3GPeG8ybc=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=Alt88xbvZvyhrr4IlKs8i8zD+GP52D9BOEFvA43FO9XERRdjEI24xpYedVeEa9i7LyYi3D1feedsLx31vMJgrcYAQk8GN+rYOfRTXMPoV31wAepIFTxyGe4p7lzw2NIfVO85viGKz6dhw2rWAudzE4BHned/JimmsyvKe+b7M8dNuk51EoyY3+ueptPS4EFF44SEk8kepKjpWJuKOO3+2FgVVzyLxf016iV2tP8Tke17tfJMyVvAiZE8z1usx9GrOAUYT6UzLdksnGnBTvQD0nA+ZtujBg2iXp2YnPskL/eZ6nVokTlvlRUJzNx4Rbj3HRZ2OAtolahfLBc0vpdTqQ==","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=fdRxuSCU; dkim-atps=neutral;\n spf=pass (client-ip=2607:f8b0:4864:20::62d; helo=mail-pl1-x62d.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=1775572333; x=1776177133;\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=Pe/uIRrlspU3/PcFgSkVRxo4DJTV1t3LxD3GPeG8ybc=;\n        b=fdRxuSCU2tSzYyPyisYzQIJXFsFzB92F2yftnyEgafFNEOkM8dPDjAX6A3hSWWkush\n         kVX730Kt6/VVvIsYoWV1IHa1PGVuHV7ggNE+MMHIsgFkyfPF2hQVYDIdZx8KNG27iK2u\n         JoPwnYfcnLyC+5NDTZTmqpxSMW7eWJc/uYabF7TVxzlNW0MnV5Fx/+PriC7PXh6mp35m\n         lbgg8uuRrS+Eh+gx29x0w6nKhUOVJBG752qFc4yQbYcrZUSWobdL3QRB/MQoSC1gmpmA\n         0ASlUH8UhUv8UR2gYlEfCKbGdz6t9AjiSiMLsN/WbxjrJmGzedOpTpjeNPjnNnOZIQnl\n         lk0Q==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775572333; x=1776177133;\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=Pe/uIRrlspU3/PcFgSkVRxo4DJTV1t3LxD3GPeG8ybc=;\n        b=WJ2uMrn51fzRTn9nMTv/PUXUd4nbB9rohu8LGNfauAjJE0MvN4k0WGYzYOM6lofBbe\n         a5hh9u6LA36uXUeqieRRe8aQhnuk2XAK7CzL3PcZvknp8HAGw8RTXytla+Os+fTONFmg\n         i8pu4+HqyIJigm4H/cDB2rECzN6As2t+lK8dnQ7nE0vQNcTskdv8LwDpWtEGxWJwtbg3\n         4DofzPUA3C78V4jbLrw5SEfmE833JmH4jrkOMBtAvoC0XokpwIsWItBOULUi+uVQ9JZr\n         OJ9F8PQDECF32d/sGizxzLyz0Fikoqxr/sWXOBN++XQ+8kGFqXcaVZl7/wLOl4M9giio\n         LpZQ==","X-Gm-Message-State":"AOJu0YwRXacJiFUS9uyuowSpEuIoHSW7IhlgQKOgN8iPgqBoeEmKhH7f\n\tC/6S/WyIgxbaAfGHrqYTPLNQb9CiFmLbXLKLVMY2C7/bBVf/+PeD5SpGwbVUWg==","X-Gm-Gg":"AeBDietkjbKafe+t6COoy6QhzV651KsNZXMsDtTRtevG5MO9/Wu5Dcm4GNwgM9C3HNr\n\tXwpKtmtpH36s3CETcd7FFSqzYMFiBwBjf4itinWKnDBMBV10ReNIO8qkH1dBP3/EiYr69QBxZwt\n\tKEC3DWPVBc1SRx8ApzWapLmL1rrKh41BU0ZX7LZ2Fv9D9WkPjO/MQUTBo35CLSqJdEUOoc65ATK\n\tpoEgGWnvx5Lxxux/MFa2/M7BJ//Tjlt7L9ItMLf+gARyqOgFnME+K/DjaikjfTOypXlskSEmilI\n\t2f9tY5bS0bFKhsW/yKVlF6H/yyTQt5XV49S8NaGcdtwNRtWMzlp4K7/96bVaeCOCWm8TS/LIHU2\n\tucxh5QofT2YZYyfvi7rUFg1wi5hMGOVZeE9/BHHDMhKlb08P+gYy+FbMkkzPylAuVPTOn/Mgz0G\n\thFSXh/VHo9Upu3jvnaY6rX6aG0US2VZd9NC+C2HSvVkodepTp9ng==","X-Received":"by 2002:a17:903:3b84:b0:2b2:4ffc:a7c4 with SMTP id\n d9443c01a7336-2b2818b3addmr165803545ad.24.1775572333419;\n        Tue, 07 Apr 2026 07:32:13 -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 4/6] pseries/papr-hvpipe: Kill task_struct pointer from\n struct hvpipe_source_info","Date":"Tue,  7 Apr 2026 20:01:38 +0530","Message-ID":"\n <108d32a56d9d4630ed2ba7d8ecce9679adf8671f.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":"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 57ec50e3e883..7242a14eb5ec 100644\n--- a/arch/powerpc/platforms/pseries/papr-hvpipe.c\n+++ b/arch/powerpc/platforms/pseries/papr-hvpipe.c\n@@ -487,7 +487,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@@ -497,8 +496,8 @@ static int papr_hvpipe_dev_create_handle(u32 srcID)\n \tspin_lock(&hvpipe_src_list_lock);\n \tif(hvpipe_find_source(srcID)) {\n \t\tspin_unlock(&hvpipe_src_list_lock);\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","v1","4/6"]}