From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 870391FF1B5 for ; Mon, 11 May 2026 02:29:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778466543; cv=none; b=jwgyOXspFVhoMrbES2/Dq7ADEzqvM3QTth6Gj6W5O9TmffZFYn8Ffo5kRv39/wgmVHUa2wjNI+4vd++xwggoE1cmwoqBrs1e9MLBUptqJ8g8eKjMhT+WAs9EpV7UWvAID40bn+7qxcZT5strkAezKvxGqEoI6DQF602ooqumnzQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778466543; c=relaxed/simple; bh=KMZtfMT0T+CUULPtWpPeeKXeAsBixSmTGmrt9aU15Vg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FqsB6VPmdXoYVwATrliU4n0mGTL6e83hH75EB3MUKygoOVBPL62WuaS/iBYCZQioP82KatPk7ZKACKg4wgdxBFZQG0GosKUkFjFGl0BXwpxAbpXiqGeS9yOHSjWGXLQ9NeTx1a7LB6GhPed2ZZAY4j1Kt0eMWcYy1riEv/JN9b4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=NQfBN3Ex; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="NQfBN3Ex" Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 64A9g14f2604219; Mon, 11 May 2026 02:28:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=QR3XJz d9zH2M7WfBOr4QVC8IOlKI6qLpSkjaSrdEKVE=; b=NQfBN3Ex8nuqxN2XZsg0mN z5iASeeqR1H0JEi/YLgoJpXWnUdErCaCieR0nXkBNe4QyKTCD/uADQkpoSJKxlik Zj7KL9kIaZMvznZPdarxjFude5XZFuW7vv/qdcT/YO3LQp82YVKHItxpdbqgJP4W iQOx3KKQQOm0Ne+4VI2Yd5VwVtsQ8dokuui0+dbSELMDwTA50kze8JyMlTdkrSRE CgxwXDcYAxqBtsqfEr+TMoFlt7euSIK3CVUdbW/m0ethtpjIaZfxTOdQ33Kg6pWy SwTb5ykfaZyAbHcXn2L84dZrB8T2hp9KNfCsJu5zd1JvPzxpKsUpB7/4MPxqFuXw == Received: from ppma12.dal12v.mail.ibm.com (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4e1vju5rrx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 May 2026 02:28:56 +0000 (GMT) Received: from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1]) by ppma12.dal12v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id 64B2OWDr012703; Mon, 11 May 2026 02:28:55 GMT Received: from smtprelay07.fra02v.mail.ibm.com ([9.218.2.229]) by ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4e2f8q3h7m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 11 May 2026 02:28:55 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay07.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 64B2Sq1g48169456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 11 May 2026 02:28:52 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 11AFF20043; Mon, 11 May 2026 02:28:52 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 429E220040; Mon, 11 May 2026 02:28:50 +0000 (GMT) Received: from Linuxdev.bl1-in.ibm.com (unknown [9.123.2.213]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 11 May 2026 02:28:50 +0000 (GMT) From: Madhavan Srinivasan To: linuxppc-dev@lists.ozlabs.org, Haren Myneni , "Ritesh Harjani (IBM)" Cc: Christophe Leroy , Venkat Rao Bagalkote , Nicholas Piggin , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/9] pseries/papr-hvpipe: Fix deadlock, races and misc cleanups Date: Mon, 11 May 2026 07:58:49 +0530 Message-ID: <177846637460.1289230.17888555993005220499.b4-ty@linux.ibm.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Reinject: loops=2 maxloops=12 X-Authority-Analysis: v=2.4 cv=cYbiaHDM c=1 sm=1 tr=0 ts=6a013ee8 cx=c_pps a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17 a=IkcTkHD0fZMA:10 a=NGcC8JguVDcA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22 a=RzCfie-kr_QcCd8fBx8p:22 a=VwQbUJbxAAAA:8 a=UbnoUuVJNVHop5aAMTIA:9 a=QEXdDO2ut3YA:10 X-Proofpoint-GUID: S-szk4u596Nl2iYkbQtTAW-3yo3DQ6oP X-Proofpoint-ORIG-GUID: YRkqPCjMZ2uv3WkgGJKm8Iir9Yhd9iU4 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNTExMDAyMiBTYWx0ZWRfXxV40EVake/86 8UMYy2dgF0aJznUKSCiIdh0aAm40WL+/Bp4sjauqj2jZaYU+k7/e0aq1wK5FSN0L+11FE+9Dlpy gkcb0VoAkEsiq68/ZOOmCtIZLBkqldmhOWOvVP8RgbAEz0QFIDuS//mHz/L2bzbIKFiVC12yQ3V HtPVspii7hafF9EeWZgzDhpon5qCQ9oV5QJqaKLgk2FW3yJPMGsdWZrOJMdGKUVmvwSXM4kh4HE 342wiGLjvV0kSM7eo1rZafeiLUhSy9o/Mv+BG2kTIj9+05tC/33G6+VMQIvVr6NUMme5xDzJGEC MWdMJq9tBlks5Cs+ggQ8CWx1YyX9ObTJQgZ22893uXz0FfvJg22MkrzwmN3Qcv50Gnwrz40+dHk sP28m2PekLgtdaoibvB+TYWaSKb2GRkkDVxJbnVXId9nHLa/wo+qzy4pxqgyUy0aSNC9tL8Tyj8 C/CJycyp2slPN2GBCUA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-05-11_01,2026-05-08_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 clxscore=1015 spamscore=0 priorityscore=1501 suspectscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605110022 On Fri, 01 May 2026 09:41:39 +0530, Ritesh Harjani (IBM) wrote: > While going over papr-hvpipe code, there were a few fixes which were identified. > This patch series is an attempt to fix those along with some misc cleanups. > Me and Haren are trying to get these patches verified on a real HW. The tests > are not straight forward and we are waiting for the results. > Will update on the test results once we hear back from the internal test team. > > v2->v3: > ====== > 1. Rearranged the patches in such a way that it is easier to backport the fixes > if required. > 2. Clubbed patch-8 and patch-10 (of v2) since they both were changing the same function. > 3. Handled ret>=0 case in copy_to_user patch, when the user itself may request > for 0 effective bytes (after the HDR_LEN). > > [...] Applied to powerpc/fixes. [1/9] pseries/papr-hvpipe: Fix race with interrupt handler https://git.kernel.org/powerpc/c/7a4f0846ee6cc8cf44ae0046ed42e3259d1dd45b [2/9] pseries/papr-hvpipe: Prevent kernel stack memory leak to userspace https://git.kernel.org/powerpc/c/cefeed44296261173a806bef988b26bc565da4be [3/9] pseries/papr-hvpipe: Fix null ptr deref in papr_hvpipe_dev_create_handle() https://git.kernel.org/powerpc/c/1b9f7aafa44f5ce852c00509104d10fd9eb0f402 [4/9] pseries/papr-hvpipe: Fix & simplify error handling in papr_hvpipe_init() https://git.kernel.org/powerpc/c/713e468cdbc2277db6ce949c32c1acbd83501733 [5/9] pseries/papr-hvpipe: Fix the usage of copy_to_user() https://git.kernel.org/powerpc/c/d48654bd8b1a75f662e224d257db54de475120dc [6/9] pseries/papr-hvpipe: Simplify spin unlock usage in papr_hvpipe_handle_release() https://git.kernel.org/powerpc/c/2eeac577480848801b35885b3a8201aa35f46236 [7/9] pseries/papr-hvpipe: Kill task_struct pointer from struct hvpipe_source_info https://git.kernel.org/powerpc/c/4e2d83c80495a9327141e8636f25dde13155f14f [8/9] pseries/papr-hvpipe: Refactor and simplify hvpipe_rtas_recv_msg() https://git.kernel.org/powerpc/c/fe53d2ae82c06aa2d6402624af01e8f8ddfcd5b3 [9/9] pseries/papr-hvpipe: Fix style and checkpatch issues in enable_hvpipe_IRQ() https://git.kernel.org/powerpc/c/629d1a901de57490d29a495273df11e64993ec04 cheers