Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1833361ybb; Thu, 26 Mar 2020 08:09:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vupqB9wqBsMbx6nG3Qt/HVqazTgEKYljoiLSzQNoikEaI0biXcDckCBkkga3t4oKGFRppaV X-Received: by 2002:aca:da8b:: with SMTP id r133mr343489oig.81.1585235363273; Thu, 26 Mar 2020 08:09:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585235363; cv=none; d=google.com; s=arc-20160816; b=VRq/lonBgnILwhKLMsP5YrLsouzftd+QsDFbuJXiQO2oksZw5hcn+sCfvvh6woR0a+ sMhkIP7fQtoyIl9KErVsSz1onWrh6CB3kmcI2joge74JWEboXYgtTAqDvJiJYp+iQFSa 84MR63PczXy+ALaY8kgNTtPp1HCMXS/5ZAFipcG6zzZxPop9Tc2llTiYnqYDwQPnwyRk sBel4+WrHBsUekqPaPOJyDKLtEmGX8eNW2dGasdeEyKubvPuEEKe+WM3071N9yWsfo4G vWaFVVLYBklWNoKdQ3eEvPgyJT+joc45RMqGLALW+czAthgublFiLLeBTW4fMDQ2I9oC G/BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=vbt8M8WIPWo1zIniJVu4/PocNBz51l1e4P8cL+H/b+k=; b=caImmdVgVxJj8q0Wpwh+0FTALrDtq7dFH8Ezd202gyudWe6aRosg93qfT3/5YOouzH 8k+tjW6RArHzfMu/Z5zXJLBL3P72+RfwFMDtBVr8Yq+L/+LxL5WoQ+NEKvs/jRObFPTe uK65E8WqtD2QxZtEvrB3kFhh4xRY95I3yQnDfaIJsZBQCuVCkXlWqJkSmpos2nSk/yh6 jGO3GHreRg9G4FGiFn1Qd6x4sViohDjh0YO9FldTwITd6HW+Ci6FmeAAw9gRRuO3/hKF FwWrja5ayObuIOJAn1HFifC6EqLblO/Dx0E39gVafjBtNrN7yAAeC+bgltX9TkLHEsWU bLmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lux+jXCr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h19si1239351otq.86.2020.03.26.08.09.01; Thu, 26 Mar 2020 08:09:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lux+jXCr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727906AbgCZPH6 (ORCPT + 99 others); Thu, 26 Mar 2020 11:07:58 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:18726 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726363AbgCZPH5 (ORCPT ); Thu, 26 Mar 2020 11:07:57 -0400 X-UUID: 0c9786eec6734d64a5e6d4482fb56ff7-20200326 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=vbt8M8WIPWo1zIniJVu4/PocNBz51l1e4P8cL+H/b+k=; b=lux+jXCrQ4TwJAoPB5frAuKyQLbtHt2MZTVdteXTmUhCE9JBR2iPse6FdAbA+XW1ZtPwPzRBeG6z0mC5hpGk639U+hGiFFtWmImry8qsp4AA2jWiRQ++yqnEmMD3kvAN4vOHHbou/NHkG/e/pp4iidcwUBDqynpfbh+Eqb7T4Oo=; X-UUID: 0c9786eec6734d64a5e6d4482fb56ff7-20200326 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1876472204; Thu, 26 Mar 2020 23:07:52 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n2.mediatek.inc (172.21.101.101) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 26 Mar 2020 23:07:48 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Thu, 26 Mar 2020 23:07:48 +0800 From: Stanley Chu To: , , , , CC: , , , , , , , , , , , , Stanley Chu Subject: [PATCH v2 1/2] scsi: ufs: export ufshcd_link_recovery for vendor's error recovery Date: Thu, 26 Mar 2020 23:07:46 +0800 Message-ID: <20200326150747.11426-2-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200326150747.11426-1-stanley.chu@mediatek.com> References: <20200326150747.11426-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: 3B4DE866CA24C8DECD553FD626F999EA4FBE18C23BA3BB09DBFFBB063594295F2000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ZXhwb3J0IHVmc2hjZF9saW5rX3JlY292ZXJ5IHRvIGFsbG93IHZlbmRvcnMgdG8gcmVjb3ZlciBm YWlsZWQgbGluaw0KaW4gdmVuZG9yJ3MgY2FsbGJhY2tzLg0KDQpTaWduZWQtb2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