Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp242836pxf; Wed, 10 Mar 2021 05:30:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJw6HlOwt+cBGL+5UgZRetWdfp2nJo1E7B/W1QXj6r8s1OnsqP1i384KVMykMDNGq3qet4ur X-Received: by 2002:a17:906:b4c:: with SMTP id v12mr3732101ejg.330.1615383009804; Wed, 10 Mar 2021 05:30:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615383009; cv=none; d=google.com; s=arc-20160816; b=GVgtfCvCMnvnZmb+II++TK0qDrDgtxyO2h4lLTOwmWG18qyb7hW2+s3Cn8FRZ0Xcy1 4BPwrOa7uOXDZ4NFSNReeW/GurH2OQ+mnzs1sXr1uZbb1BTfVyuKyChT5gxDeOCp+5wO UygvADmwa3ZO+a/EPa2VagOAJ+o2potfQ/H+rAdUarhYsnoSv4PXvYWb5J7UMO4b6o7t xTEOsofuW6el/hoVLsTttoDpOnkiLX9P+WTO2khynBEMJYZB2/5DtCb1Y+vjySOEweXS 7QQeQ+UmHln6QAtmSLjLvmyQ6igR2I5yngc+NIC82nsdnKIY6MbLXSIFh4jXewFG1t0a NCDQ== 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=jJLP4PnxU/pfFTAQClHKi07XEkp+WfSLxgn4fgxEHEU=; b=BBnHnrc6zyVe1IZt/QHnfKo5Bw2whDITqOkuPsnVEDvjIy66BHvgtc5OWLwwJgI+RH LDQmlBJkMxFxNaRwEEGyHUzjvIxuOsWQKlBIPBQ46oNyWiOi0PsWqqIbMYeb3bPqPbfj nYUjI2coLbq/b5URR6X1hckOcjzTcx44whLlTae4QBeBiuwbzdj8qwMAbUOfN2CuT8f7 MhuSPil6VysKs5JgJUN46Ln5F0nrlvqv9CuLMI8C4rsEHSOAKSBZbpkyUi5Y7ZYP5PNy ElZcMloZCH7K52Cil5UATHQaAKD/fDfwQlhjyh5pe4aVUsnHkceEDGZxZyBfizm7sq/S mtxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Bo2MyLC7; 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 be2si11509645edb.153.2021.03.10.05.29.46; Wed, 10 Mar 2021 05:30:09 -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=@linuxfoundation.org header.s=korg header.b=Bo2MyLC7; 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 S234096AbhCJN2m (ORCPT + 99 others); Wed, 10 Mar 2021 08:28:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:46706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232990AbhCJNZM (ORCPT ); Wed, 10 Mar 2021 08:25:12 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id DE22465029; Wed, 10 Mar 2021 13:25:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382712; bh=uUzuN6c2yJeTmroTZyUSLtBLyvK4cq6WKjcfoRitTaY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Bo2MyLC7DBDuoMo3pkRdsEJLBBUVCe6ceeHBtLvAWSk5NAZbgZ/Gj+M0TLfjY2uka NjJasEkGR2Tozw3QO4JQTzPaX4b4VSLlsYM0GZXmEXylLdqQNgaE5WSNMLU/WrB/qS +PuyE/OVaec3tvBjGh3XH4eZM19Tq++lrhLE4eEo= From: gregkh@linuxfoundation.org To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kiwoong Kim , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 5.10 37/49] scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE Date: Wed, 10 Mar 2021 14:23:48 +0100 Message-Id: <20210310132323.116748169@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132321.948258062@linuxfoundation.org> References: <20210310132321.948258062@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: Greg Kroah-Hartman From: Kiwoong Kim [ Upstream commit f1ef9047aaab036edb39261b0a7a6bdcf3010b87 ] Exynos needs scatterlist entries aligned to page size because it isn't capable of transferring data contained in one DATA IN operation to seversal areas in memory. Link: https://lore.kernel.org/r/80d7e27d6ec537e650a6bd74897b6c60618efcdc.1611026909.git.kwmad.kim@samsung.com Signed-off-by: Kiwoong Kim Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/ufs/ufs-exynos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs-exynos.c b/drivers/scsi/ufs/ufs-exynos.c index 2993ac877a61..f54b494ca448 100644 --- a/drivers/scsi/ufs/ufs-exynos.c +++ b/drivers/scsi/ufs/ufs-exynos.c @@ -1255,7 +1255,8 @@ struct exynos_ufs_drv_data exynos_ufs_drvs = { UFSHCI_QUIRK_SKIP_RESET_INTR_AGGR | UFSHCD_QUIRK_BROKEN_OCS_FATAL_ERROR | UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL | - UFSHCD_QUIRK_SKIP_DEF_UNIPRO_TIMEOUT_SETTING, + UFSHCD_QUIRK_SKIP_DEF_UNIPRO_TIMEOUT_SETTING | + UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE, .opts = EXYNOS_UFS_OPT_HAS_APB_CLK_CTRL | EXYNOS_UFS_OPT_BROKEN_AUTO_CLK_CTRL | EXYNOS_UFS_OPT_BROKEN_RX_SEL_IDX | -- 2.30.1