Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3593337pxb; Mon, 16 Nov 2020 20:37:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJwRjeddDE1S8mmtSg4gzWVTFzLg5Jpj/wRYLGgihuAj2TunjH6AMX0TLzJCCr25XXFoYwFg X-Received: by 2002:a05:6402:b28:: with SMTP id bo8mr19798839edb.57.1605587873053; Mon, 16 Nov 2020 20:37:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605587873; cv=none; d=google.com; s=arc-20160816; b=e7YzaOduSYslmTgO+UKg/IEcZL3NHCplrkCAgoqDabP/ncKSpQOujNNN6ngMPhEyJM vRM32m/VMQg4mdO8nRxidTdCrA/lV33+2/ON8FIMA7n+w4mmxTMxrOHKBymhww2NNr19 xewjRQy0JKvWO7lTbSyDqBbjz6e0MlNQbb7eQQHfTGq0I9uYbgoHhKZpu1qoeAzYLBeK 1OaRVySlNgdOfJqHg9D3az2iZ99DG8zvb6CbY7fJxaFtzfaTMICRwO4e4XUGSsE8wIQV x8onv0PtlvDQebr/EcRG+S76sJ0RtctO0+fXF23AHvEqSzWdvecG8d0Q2i4+RDzsusyv vFEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:date:references :message-id:organization:from:subject:cc:to:dkim-signature; bh=EshNhEFwh1JJV/VNuwzW9QTaC7Bvbm9d7b6KWQCmOho=; b=o5vq2GDVErT5AIJV6d69dkYa+4Pea+RCfyma/azoObGFQukYUMCtbrvHKN8zMYqGO8 b5EYWiVNZhSi1gsA3m0ONWpjTV0nfNuOomlUHc2iv3cRxs7xybz2ZOJMmafnpKNoUQ5G pYMYIpsszqqaexo/mimU8kORer0j3bv1ShfAv+8E9Eov2MIBo2PP126miskw0483Bcq/ yXu9AHqsFmlXL9u3DfEVTJ1LI0SHlQgUd85BuJw8BdGGaCYRVVMV/+PSx4rDtgFBygL8 gRYcHDCaCWJH60mx6UFcN/FJPfY2abzvQN2ZQEnaGBTOXS/j+PtD7HM8X9pY3ui6Ohic 0RMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=wFDiUo6i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y3si14070352edm.138.2020.11.16.20.37.30; Mon, 16 Nov 2020 20:37:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=wFDiUo6i; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726812AbgKQEd5 (ORCPT + 99 others); Mon, 16 Nov 2020 23:33:57 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:54102 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726211AbgKQEd4 (ORCPT ); Mon, 16 Nov 2020 23:33:56 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AH4OSrx161203; Tue, 17 Nov 2020 04:33:23 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : message-id : references : date : in-reply-to : mime-version : content-type; s=corp-2020-01-29; bh=EshNhEFwh1JJV/VNuwzW9QTaC7Bvbm9d7b6KWQCmOho=; b=wFDiUo6iRgfzZTEIdhfF89uMbyIKr75LZMJFXT0FbVQweW6K5NJl4C+S0b9mNp2GJON+ jvCujcRJ/Wevc4KByozmj5KoeWO/7JLQVUXYYzzXNPw6dHnxbaOux+3yQoY0sDv8x2SG kwxgeopaf5e2iXNx1GPIGNNAwup+QDYXLHgmmE++VzPRNePmF6RhqI18nJYlkhg/wCre 2XXqw78xjpDTWAl5MPI9jYTojkL+aUrS/YFeZykpAyAEc8Zv88wNIkouWx4qL7eaTTfu 7Ikv9RmX1HuS4t5Z41T1j75ckqG+J9FLVl/QNPXyBNgA5FvN0HVQwjMoCdIJT7s170za 9w== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2130.oracle.com with ESMTP id 34t4rarm0w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 17 Nov 2020 04:33:23 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0AH4VYsF039937; Tue, 17 Nov 2020 04:33:22 GMT Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 34uspsv0v5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Nov 2020 04:33:22 +0000 Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 0AH4XCIa017287; Tue, 17 Nov 2020 04:33:12 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 16 Nov 2020 20:33:10 -0800 To: Stanley Chu Cc: , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH] scsi: ufs: Add retry flow for failed hba enabling From: "Martin K. Petersen" Organization: Oracle Corporation Message-ID: References: <20201112054537.22494-1-stanley.chu@mediatek.com> Date: Mon, 16 Nov 2020 23:33:06 -0500 In-Reply-To: <20201112054537.22494-1-stanley.chu@mediatek.com> (Stanley Chu's message of "Thu, 12 Nov 2020 13:45:37 +0800") MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9807 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 mlxscore=0 bulkscore=0 suspectscore=1 adultscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011170033 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9807 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 clxscore=1015 malwarescore=0 impostorscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 adultscore=0 phishscore=0 suspectscore=1 spamscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011170032 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stanley, > Once hba enabling is failed, add retry mechanism and in the meanwhile > allow vendors to apply specific handlings before the next retry. For > example, vendors can do vendor-specific host reset flow in variant > function "ufshcd_vops_hce_enable_notify()". Applied to 5.11/scsi-staging, thanks! -- Martin K. Petersen Oracle Linux Engineering