Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp270661ybl; Tue, 28 Jan 2020 23:41:09 -0800 (PST) X-Google-Smtp-Source: APXvYqwTSBTAeP0owxKQnVXahohtl/5HFgTq7ftGlEzM4Bgg4j36sPPQitIjCMHeBK4AWJXDdFJx X-Received: by 2002:a9d:6c52:: with SMTP id g18mr19723123otq.356.1580283669755; Tue, 28 Jan 2020 23:41:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580283669; cv=none; d=google.com; s=arc-20160816; b=ovzcRu37lVJDPEm4mhZFfvrJU0hDCCsuMnyuMhjbnvOxqq0kmb65gEZmOhRhl3Okft ptfAg3O2BwdP5lmpch3p1U9HwSCdHE0m/Cn0s5QuuVPSwWQ4n6ayfDD2F+3EhBiIqS1S vXp6vZpKEZXCEqJNtb23iqeQYoaupvT9PsxAtdisxoDdo0K9BGrcA351YQRnp0cwYSRH Rl3zbROxOBp/SWs+Kn51mU6FvtxG3VX1orFQMCqY6z8uQpZnbrMA9JcmqOB2YsPhYxsr FP+jAecrtFFnCFJR20g9YB1qVaNOQkDCoGVMh4kiiAL+M/soz8fLKFO54NcSCPZ66v8K NcXQ== 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=RNlRrAtsmyEK+6KafSQgfCKsq/mGqkOCE3TvsRLFgBo=; b=CvmjhOqQxQHPXvq1Etl7Q5yl4yItqHiKBKJiggWJ0PuviZwNsNQ3Ecxxt/gX8d77q9 WIaFr7zSrNxHUo89eDZeJgQCG8/pVvlBXz/DZP8353PM25YjpAmnQnSspwbt8h7cFIfG epiktlWS9zKGj+ln1UU4tpR4csLramDvHK6pjaDR+yFdapZ0ojQ3xwrhw9OAwBQWmyEI gYOAhzifjb3AjM9gl2ajiqVL2bU6GDOgK6aeUfXbTr6u+TvmV/wjgDtt4LwAS/OrjzkK 2LmZs7SAdhoz1j+vwQiLk+qnzzY1z6fnZy7R2LffyG02k57yobTZc85WQwUWbTBc0ok7 Ru0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=ZZvV9eMe; 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 g9si779636otq.68.2020.01.28.23.40.58; Tue, 28 Jan 2020 23:41:09 -0800 (PST) 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=ZZvV9eMe; 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 S1726154AbgA2HjZ (ORCPT + 99 others); Wed, 29 Jan 2020 02:39:25 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:15399 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726076AbgA2HjN (ORCPT ); Wed, 29 Jan 2020 02:39:13 -0500 X-UUID: 550fdfe733e94e9a88c29a40adb14693-20200129 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=RNlRrAtsmyEK+6KafSQgfCKsq/mGqkOCE3TvsRLFgBo=; b=ZZvV9eMeMrNcjFbw6eg2s3+DPozptVyXWsm136eS41dmRVlHMmmfwq9izyblMjfidwkOXxiitVQmwfor7CjRstsHak+B/jvdZJWeaGdPPHHGCBXRz3E0CkZDQkQrYvCNZJLOhHdLQCxbuAk8G3yoB7WDE0D9yRYMrSrA55DydKc=; X-UUID: 550fdfe733e94e9a88c29a40adb14693-20200129 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 116438089; Wed, 29 Jan 2020 15:39:06 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 29 Jan 2020 15:37:44 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 29 Jan 2020 15:39:12 +0800 From: Stanley Chu To: , , , , , CC: , , , , , , , , , , , Stanley Chu , Subject: [PATCH v3 3/4] scsi: ufs: fix Auto-Hibern8 error detection Date: Wed, 29 Jan 2020 15:39:01 +0800 Message-ID: <20200129073902.5786-4-stanley.chu@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200129073902.5786-1-stanley.chu@mediatek.com> References: <20200129073902.5786-1-stanley.chu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 QXV0by1IaWJlcm44IG1heSBiZSBkaXNhYmxlZCBieSBzb21lIHZlbmRvcnMgb3Igc3lzZnMNCmlu IHJ1bnRpbWUgZXZlbiBpZiBBdXRvLUhpYmVybjggY2FwYWJpbGl0eSBpcyBzdXBwb3J0ZWQNCmJ5 IGhvc3QuIElmIEF1dG8tSGliZXJuOCBjYXBhYmlsaXR5I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