Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp240826pxf; Wed, 10 Mar 2021 05:27:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCEr3ew97/HpXwE6JXTEGahKiZ2lxnx2LZ048l356zmQ4mb1IYMoKEKuwXUAt5PG1o41F4 X-Received: by 2002:a50:e702:: with SMTP id a2mr3298280edn.3.1615382827828; Wed, 10 Mar 2021 05:27:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615382827; cv=none; d=google.com; s=arc-20160816; b=gXOUmIFp6OJ1o17O4Sna+NqLcC0x0kQSjxvet2JGnrbOp3vJW7aXIW8l6yjS/dR98t oLT7vwWLNzIjHq3pv1VsDMbYMGFyju/HcwSAHEbnFDUTZ2LUwsnc1X/rxa+0j3xFgpGa FkRuZ6s3rFxjRBtM11E/0Wu8CB+IuWAYXeJAwHitBr74bbRLMXA6YjoxHWBSt+JrcnG7 BIcXPbd8SN8lgi+OhhaI77pCzoeqF2raCCnp+NszL/Lx/LUB6ZYANML2JOR926Hu1eCx aJ1AVs388tDDjzV0AC/DteZIXpJZOhOonIsaKuEepT2ss3HDWgtQfVulXPkT7kxkuU1B fqmA== 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=LHxXJwX1S+ZOcQz0UctFpcaz9ZoeL36CEVaJD3Brg2I=; b=bM2p3OMY0Q4Cp0Gp7D/5N4YhaAQS6aBIJc3pJgwzeuKPjEXjeoj6ehPr9LDGCD9PnB txFfYOW4kSEO/gm0SiboVwli/r0Ocy9aT8qLlSziAK5qWsTobc9g/IfRv7tjWmxyiZGF CwQC5QNGjf81guUKWZxKzEh9wNcRTHz5L/ZwgzSyukJpiusEINItzFUobedVLb+DXzSP WJ1ZXEMDswpeZToMDsc5kuP7CMqR9RluytbwkI2FVyi8UnBzJ9i/bdserE0s7w3JzhB4 OHVviw0cd6o+xva09O9B+bZ6T6ACKy9G1EfA9q5PtvGEyAQEl66nlHtWiWoMoSN4giXN nn/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=L4KOouzA; 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 a4si11674378ejv.296.2021.03.10.05.26.43; Wed, 10 Mar 2021 05:27:07 -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=L4KOouzA; 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 S233484AbhCJNZm (ORCPT + 99 others); Wed, 10 Mar 2021 08:25:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:45716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232842AbhCJNYg (ORCPT ); Wed, 10 Mar 2021 08:24:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C726764FE0; Wed, 10 Mar 2021 13:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1615382676; bh=0lGay3kbSb0GML60b8oBt3SVJAyqTNKQKZ4XAKAL1kY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L4KOouzAwb+jyc3DjAlXUtisnY5KwpSR9fcjfroyCKqKv+Zwur2F+lL0q9OmWnvXA 4MMMFiRtTy43irxh3KFFjKUaKQ2mjMSlYkK84PFkvoGL4zU6hSBYYTaiU6W3m8DK+j XYZxSIb2r0SgcVfYOryISF+0nD9oflZvGiVRm/Xo= 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.11 23/36] scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE Date: Wed, 10 Mar 2021 14:23:36 +0100 Message-Id: <20210310132321.235200307@linuxfoundation.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210310132320.510840709@linuxfoundation.org> References: <20210310132320.510840709@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 5ca21d1550df..267943a13a94 100644 --- a/drivers/scsi/ufs/ufs-exynos.c +++ b/drivers/scsi/ufs/ufs-exynos.c @@ -1242,7 +1242,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