Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2828072pxb; Mon, 1 Nov 2021 02:40:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyUgw/UYTP8XQPRvyTbkggqdot5KtKcP5Hi/JkPn+ZKka4/tOFkdzKOr3v8Rq+G58SPGAHj X-Received: by 2002:a05:6e02:188c:: with SMTP id o12mr4062719ilu.259.1635759622598; Mon, 01 Nov 2021 02:40:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635759622; cv=none; d=google.com; s=arc-20160816; b=CEdeRN+F831jH+wVW9GNjO7dA4O4Bz56JFI9OEiLgdBs6kMU5Ix3e+regktqLKsK9s lbTxLS7GCXTJVIQc2/7QpKHdC2HCSn3EHwdIO2STTlN8MdM4DIa0mdjitW18ZcmF0D+F wJsR3+jyLeUjWWBTWmnxaeNJgLc71p2vCogTYYKL71unYjk5sfM2Tw5N/1s/zNUIq/YQ Qqx8e6w9HqdPx28yi6qeiFquFfNhrvaM4/k8vF049+Ym2GOr/yqFwQAliz+VQ63JWWEJ kDTDApGh8Q+9lbvy+Ru5eS/4LGA3nFx+KDGc+WBE3YTYPDzVcOxN4AgccQ+rHrOqF0jA mjew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=mgMe4yP7fdYvgcm60GL00IgrMFSd2PArcGer1Fzedgo=; b=YOljz74qf62xU4rsOsuhQQQA/jnaKOBBC5PF5i3yVAQq8xOSsLvnCmEk0Ow9h3STDV CZPW0RAewbY9fzL1y2F+xaU2zpgbYW0Wjy/1IAToE1kQMYllk43BCFrRSlLvrW8zZFTh LuGBo9/032sylBnPQyOOlgp0KurWwdHouh7sLf0oCiWv6bi9tOxqEMeqKMoXjCBOc7VM 904F5ZlYEFoqS8KrlkaqSrn2ksJfrZwmih6Dcqel2OsiVmfu0QGAiUxP4V/afHL2NqpH Mfywiy76XLG0aIbHz6V1Ijmr/N5n14MWwBBVCUEJQNmpUQpqu0VMFy48Un6XSBxKwFqU cpIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="b/eED2h/"; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m20si26787629jaj.97.2021.11.01.02.40.11; Mon, 01 Nov 2021 02:40:22 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b="b/eED2h/"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233094AbhKAJlw (ORCPT + 99 others); Mon, 1 Nov 2021 05:41:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:47848 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233424AbhKAJjp (ORCPT ); Mon, 1 Nov 2021 05:39:45 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F1752611BD; Mon, 1 Nov 2021 09:27:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1635758842; bh=D59Z+iVaZCoJbcR6UEt9nEm6CrTrMjpkANHIpTkw9LM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b/eED2h/KBULbpiagFBwBVRrizA5gioPrjN0+jOH9DBeSDmbLCeyj81fJczohzS8J K2Tj3PYoY5cpiRCR5XUQsQn/a80ahVLzNdc3p+3gkFPhlKmnktmLgbQOZz3XAlaAx/ AoqZfga0FaoIZYk6dQaT2jeyvJd8TSEzz6krY9MM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Alim Akhtar , Kiwoong Kim , Krzysztof Kozlowski , Avri Altman , Chanho Park , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 5.10 74/77] scsi: ufs: ufs-exynos: Correct timeout value setting registers Date: Mon, 1 Nov 2021 10:18:02 +0100 Message-Id: <20211101082526.983837147@linuxfoundation.org> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211101082511.254155853@linuxfoundation.org> References: <20211101082511.254155853@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chanho Park [ Upstream commit 282da7cef078a87b6d5e8ceba8b17e428cf0e37c ] PA_PWRMODEUSERDATA0 -> DL_FC0PROTTIMEOUTVAL PA_PWRMODEUSERDATA1 -> DL_TC0REPLAYTIMEOUTVAL PA_PWRMODEUSERDATA2 -> DL_AFC0REQTIMEOUTVAL Link: https://lore.kernel.org/r/20211018062841.18226-1-chanho61.park@samsung.com Fixes: a967ddb22d94 ("scsi: ufs: ufs-exynos: Apply vendor-specific values for three timeouts") Cc: Alim Akhtar Cc: Kiwoong Kim Cc: Krzysztof Kozlowski Reviewed-by: Alim Akhtar Reviewed-by: Avri Altman Signed-off-by: Chanho Park Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/ufs/ufs-exynos.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c index 3f4f3d6f48f9..0246ea99df7b 100644 --- a/drivers/scsi/ufs/ufs-exynos.c +++ b/drivers/scsi/ufs/ufs-exynos.c @@ -654,9 +654,9 @@ static int exynos_ufs_pre_pwr_mode(struct ufs_hba *hba, } /* setting for three timeout values for traffic class #0 */ - ufshcd_dme_set(hba, UIC_ARG_MIB(PA_PWRMODEUSERDATA0), 8064); - ufshcd_dme_set(hba, UIC_ARG_MIB(PA_PWRMODEUSERDATA1), 28224); - ufshcd_dme_set(hba, UIC_ARG_MIB(PA_PWRMODEUSERDATA2), 20160); + ufshcd_dme_set(hba, UIC_ARG_MIB(DL_FC0PROTTIMEOUTVAL), 8064); + ufshcd_dme_set(hba, UIC_ARG_MIB(DL_TC0REPLAYTIMEOUTVAL), 28224); + ufshcd_dme_set(hba, UIC_ARG_MIB(DL_AFC0REQTIMEOUTVAL), 20160); return 0; out: -- 2.33.0