Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp241519lqp; Tue, 11 Jun 2024 23:13:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVagMFsgM6n86QLKi/bIt/sHvRnbhcIM1WtR31q2LqdGSw+0iEIFOp/DgeoM5+QYHnjhkYWzbVS5L13Zslb1Pn0fdZgJ99Z7PAJiox9PA== X-Google-Smtp-Source: AGHT+IFkssCEbGiZxC+ueU0g3xmEl11DLgqHSJdadBbiauZx8aCp/XBhvJSrKmKdHOCAuN8fwSJG X-Received: by 2002:a17:90a:4586:b0:2c2:263d:1c5d with SMTP id 98e67ed59e1d1-2c4a76d3ab5mr1050852a91.34.1718172796711; Tue, 11 Jun 2024 23:13:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718172796; cv=pass; d=google.com; s=arc-20160816; b=ma8NbyX+yShs7YygfdW69itqe/xcstZv+W8Fv1BvDGnzXKi9ENPajoPzL0l/IjZdBT XBpOMDORfggbGSObdieRl4ZeomPpAmdSMFwWWDRsuWBqP5udqJZK+03x2VSfJxfI6JgJ YyMG2kPxKkBbBDPdqKuEDBIGOBebbG0dnxrCufC/4gADf38vct+kQhn3GVoZhqeQUUIx 1Ba2RpeUWWtCwYaZiMb7CpXNnSYzejrrMKB5fSyIaBbE6xR7kTkyGvsNMLBh1AI/s0Gd DW+J9Uzw7z0jvJ+VTTiHwgiUJ7mS2nsJAZlaaDSnz82BDYgKt5CnTTgW3y5kjf+vruiE LkNQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=Gz1XV3cxEedHzX2ppgnLw2HKCj5hYGYjsPxXTwzROJM=; fh=GPWO1VH9VpF00I4pU/H77oKf8ueFjMffNIwp9wL6evk=; b=VP2FhS+KXACLyaOxl1VvN+eMjpAFX6v9cRTb5xOi1zPVyCFtcPPv3AYQv7EGOW20qd 1sQ8GejRGUpNNtzwXj+iLnPmZ9/tmcjRhN7aam5cYlABxZT+iMpbxfyppER0nkvLxt2K AH0AcTFVPYF0+gtoJcbJ3LfN9oZ4AYFehF5FHLTWKqsWTkanhlveJvjbY/E2UNzmWSHg YdkR5OT+tuo3TQn7N3j4szbiX8xBHjeYqfOKYjhJWRQF/Ktsatm9/eclPDzmeHpoObeV weNX0hdTdOfN5ErBWoyu30vzXy9dHYp69Rs4vHJHS8yOxxtC9euPMMjfPNVrXNijjReK rFTA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O9DylEYo; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-210964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c4a75e711esi832969a91.32.2024.06.11.23.13.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 23:13:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=O9DylEYo; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-210964-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210964-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 53387284E49 for ; Wed, 12 Jun 2024 06:13:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 05C4913D267; Wed, 12 Jun 2024 06:12:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="O9DylEYo" Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (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 D2CBA13CFB0; Wed, 12 Jun 2024 06:12:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718172774; cv=none; b=RasQaFz7l2EcLJfN546ArDTm1WWh9zkhbMkOF5ddevw76dy4J7nIfau/wXuJbeNB0HGsv0u+Ww3ljSE5+gZrrrbg0Sl3XTKxBa3QvJhZEid9fcgJU0QUTSawXjyGlbtGcA0UVHZ1/T6Q6qzucujelfqTDB2oS/kMPgSQQ28U38Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718172774; c=relaxed/simple; bh=zo4pdTcHd8FQMwJZM2TIfPr8WX9aXERYXLbSCPAIl2Q=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=AblL9SuUsMkk7MdzOmy7vU/68QYAKk5+N7iBZcSLcsvO1GV7Y6b85tJnQC10GchLj70Xm52c7Bm6lNG/AI8WmsX70JMjKWmWDyuK0kFMvhLAgGgRONY+yWWgQSCj0d0ZGbINwV4ec5LQJQGqmLMqOPyemBmAUdUX/NzsIamyg2w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=O9DylEYo; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 45C1BNwN004113; Wed, 12 Jun 2024 06:07:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= Gz1XV3cxEedHzX2ppgnLw2HKCj5hYGYjsPxXTwzROJM=; b=O9DylEYoTV2KhTR8 OYjKVtFAQcK85pLTmr5a9CXcYtrmyQN17sz5SVXo8+F6TBT0ZZ5PfYheJAo5CX8f JdK2ARqCws3kDPGqNDAu7+cSoOw3auyVnCI1yLxA245Z3aGApSkLrhUUeTTF1itP YD9gzXQ6B0e+ZvPua1rsB+sdb5nIPUVqYv4/a0V/9g6aooa+4HiLdqGvllv5ZL46 nV2MmN4LqJbu4IFj/c1Tl9b2NtUIO1ptbySXUSZ4l2oGjoAq09nublYV1ZpSCb2q OzJJFJgKHxHNjNDj8q6PLGGlopK5sFPbLFNrqCGNNAXGYx1y7rUOEOXh99FEIVRj jgp6eQ== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3yphsatys6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jun 2024 06:07:27 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.19/8.17.1.19) with ESMTPS id 45C67Qs6031749 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jun 2024 06:07:26 GMT Received: from [10.239.155.136] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.9; Tue, 11 Jun 2024 23:07:22 -0700 Message-ID: Date: Wed, 12 Jun 2024 14:07:19 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] scsi: ufs: core: quiesce request queues before check pending cmds To: Bart Van Assche , , , , , , , , , CC: , Alim Akhtar , "James E.J. Bottomley" , Peter Wang , Manivannan Sadhasivam , Maramaina Naresh , Asutosh Das , "open list" , References: <1717754818-39863-1-git-send-email-quic_ziqichen@quicinc.com> <7ba3bbb8-a5c3-4ecd-9c2a-c9586c9d6bf2@acm.org> <6d636c36-ce05-4825-b916-b97484c41c5b@quicinc.com> <16b2cd1b-8f1a-4fb1-823f-a73463c6f7a0@acm.org> Content-Language: en-US From: Ziqi Chen In-Reply-To: <16b2cd1b-8f1a-4fb1-823f-a73463c6f7a0@acm.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: UKNVGE4CoyxyZkkVhe81RFt86ruRx0ZI X-Proofpoint-GUID: UKNVGE4CoyxyZkkVhe81RFt86ruRx0ZI X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-06-12_02,2024-06-11_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 adultscore=0 spamscore=0 mlxlogscore=999 impostorscore=0 lowpriorityscore=0 clxscore=1015 phishscore=0 mlxscore=0 priorityscore=1501 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2405170001 definitions=main-2406120042 On 6/11/2024 9:51 PM, Bart Van Assche wrote: > On 6/11/24 04:02, Ziqi Chen wrote: >> As for removing the rest calls to ufshcd_scsi_block_requests() and >> ufshcd_scsi_unblock_requests(), I think you are right, but I am not >> quite sure because we haven't seen issue reported w.r.t those spots. >> If possible, we can co-work on this sometime later. > > If you want I can work on the removal of the > ufshcd_scsi_block_requests() and ufshcd_scsi_unblock_requests() > functions. Thank you, Bart. I will help to review and give you support as possible as I can. BRs, Ziqi > > Thanks, > > Bart. >