Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp361093lqp; Tue, 11 Jun 2024 06:51:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVDhf19qe3YNcTYalYc8aLXUpKlKrYOpuDUP1NruPynL1ByCZEq7gg1/i/ram+U8ZdrIMCFq2Q403AI7j3D4xP5vssF/C/Z/4yFUdW6xA== X-Google-Smtp-Source: AGHT+IG8PLUe20NGmt775HUwhiv8dTCsC5s9fpzXSwNum4peoMY9uX8FwfOxxlqULTVpB7T/o0KU X-Received: by 2002:a05:6214:2f86:b0:6ad:a1d8:6e42 with SMTP id 6a1803df08f44-6b059fb2b4fmr146001306d6.65.1718113916464; Tue, 11 Jun 2024 06:51:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718113916; cv=pass; d=google.com; s=arc-20160816; b=Gld6ugBjxd+aS4WxPDS1vuQOxLiAVa+scIULmRQfN6UjXykmQfnhz9QuwO2+ojcEQc vGtG7//JEybk72R/f5jE2+EO/CEH255vH9Hzx/nicrJ4VL8Ks/mIX4vuE6OwcNtwvfmR i/9dG66t2fg1IGjhKC9erkp5JTOTaiCKqsxc1ev0FVxA0wffz2zqnqhc+WrqY8a47djQ hEiDuPG08LriXQmpddi54br4u9ieQSgsceDI8SzXOT850MkzyalqeqT9UCbd40Ao6z67 h7myg9KmoJomTDT5/oq0SWQ6lrRadwn5yvbV8IUQRSsL2iT8AnAZ2c73r8YRihLsSvkN r0fQ== 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=L/NnVA4j3P/w1z9DUblp7sR3Ma4khnp/4r72AD/Yqus=; fh=rw50+szpdhIvh4vSOHMSYTytJ+sMGHtaVkfK1hW2qsk=; b=yB2vAtyPvQceTfAlQ6ZvBjv8iTLeXUCHBxdFyYFWgDdBaO6LRT8XFPS1839kgxZLVw uHJDjNchLvLtyUJcVrN6dAoAUv6ixWSp74TwJbvr9vh9JSJfrGGhiYYe2KR31Kz4n1WP QLreYuPUW7ssDP4bEeKPBt4sQk2qLyVzgTBiynIrrL1aYbrjGJFa0rkI8H5y/UaJ2gOJ x0MJQgEHqmMNz61tOLNmJj1ple2UNiCq3UTFh7k7NKJD7OljieoSVheP83PtF3/uXSOh fumo+pYL2zrUaoMKeGhuOCqdmkJ1mrInb32WsDYY+9wAcDClPiGxZbrkBaOnPD/KZhnl VQ4Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=27six3R8; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-210002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210002-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b07d962bfcsi50250466d6.536.2024.06.11.06.51.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 06:51:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@acm.org header.s=mr01 header.b=27six3R8; arc=pass (i=1 spf=pass spfdomain=acm.org dkim=pass dkdomain=acm.org dmarc=pass fromdomain=acm.org); spf=pass (google.com: domain of linux-kernel+bounces-210002-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210002-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=acm.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2AB4D1C23E64 for ; Tue, 11 Jun 2024 13:51:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4339C17D37C; Tue, 11 Jun 2024 13:51:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b="27six3R8" Received: from 009.lax.mailroute.net (009.lax.mailroute.net [199.89.1.12]) (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 E04DB17CA01; Tue, 11 Jun 2024 13:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=199.89.1.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718113908; cv=none; b=HrYPYmVbbpcz2SPe9cHcTomND03xFFM2QVwCA6EBmtoGKjJFMPbKq8Rx7UceTXV83jkm27ben5flZ8go39httgWR6o2Cr/1Pq6PUOX0b3f8itCUn5ab1DWK8ICZz0dzRwnFcGUo4/UuvKNAg70SeuQq+He1HIl93Gf2yK7a5BPQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718113908; c=relaxed/simple; bh=KEtwGw8gBMQNvYwzxuaWOdG9vehq+myAeUV1kWaA5b8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=O7zJD+/m7+zp4ZU3t2AbATk7VVJ5kQanI+eoDg6CIOzEVMc+uqCpwAr314B6t3QFdyesfNIDhZeB1+jw+Axk+2DkMmxkrK9MLia0v1XrU97fpa4FjZqttQoBXdIeMVGEw+dL6kLLAznNJSzzOH7hlFpg9SlZfg3tPqVyGEh2TmY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org; spf=pass smtp.mailfrom=acm.org; dkim=pass (2048-bit key) header.d=acm.org header.i=@acm.org header.b=27six3R8; arc=none smtp.client-ip=199.89.1.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=acm.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=acm.org Received: from localhost (localhost [127.0.0.1]) by 009.lax.mailroute.net (Postfix) with ESMTP id 4Vz98219DYzlgMVP; Tue, 11 Jun 2024 13:51:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=acm.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :from:from:content-language:references:subject:subject :user-agent:mime-version:date:date:message-id:received:received; s=mr01; t=1718113901; x=1720705902; bh=L/NnVA4j3P/w1z9DUblp7sR3 Ma4khnp/4r72AD/Yqus=; b=27six3R8Cz4rI0jx31AXI5a6krlIfya578XMExEp 9WHS7oGyO0n3AdczG2AEqZoj8/iS/hnUy21hKOwJKJdUBnt6KGnISN4KUhXikY+W 1dQ6iOlOLrH2FCxGW4qota/E5Sh5VGwXEotQcE67C4F/HMmiV6cFKUFJZ7xvhr30 oTbBcTfXSu0vISIhZ84mMZd5RiitkXsHUje8JU5ffdHhV4hY6DPwG84R8FLFS2PO cD3m6NFzyYfuiTWMY/NC4kAb2hBUhF0oA9uhd6rhsCKc7MVvCG5QDZYf7a1evw80 hqsqqWIIplpqj0SXMdRksB7plF914g8cvrimeC0LFq2shw== X-Virus-Scanned: by MailRoute Received: from 009.lax.mailroute.net ([127.0.0.1]) by localhost (009.lax [127.0.0.1]) (mroute_mailscanner, port 10029) with LMTP id EEoas1mS21Az; Tue, 11 Jun 2024 13:51:41 +0000 (UTC) Received: from [192.168.50.14] (c-73-231-117-72.hsd1.ca.comcast.net [73.231.117.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bvanassche@acm.org) by 009.lax.mailroute.net (Postfix) with ESMTPSA id 4Vz97t1TTqzlgMVN; Tue, 11 Jun 2024 13:51:37 +0000 (UTC) Message-ID: <16b2cd1b-8f1a-4fb1-823f-a73463c6f7a0@acm.org> Date: Tue, 11 Jun 2024 06:51:35 -0700 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: Ziqi Chen , quic_cang@quicinc.com, mani@kernel.org, beanhuo@micron.com, avri.altman@wdc.com, junwoo80.lee@samsung.com, martin.petersen@oracle.com, quic_nguyenb@quicinc.com, quic_nitirawa@quicinc.com, quic_rampraka@quicinc.com Cc: linux-scsi@vger.kernel.org, Alim Akhtar , "James E.J. Bottomley" , Peter Wang , Manivannan Sadhasivam , Maramaina Naresh , Asutosh Das , open list , quic_richardp@quicinc.com 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> Content-Language: en-US From: Bart Van Assche In-Reply-To: <6d636c36-ce05-4825-b916-b97484c41c5b@quicinc.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. Thanks, Bart.