Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4295164yba; Tue, 7 May 2019 15:49:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqx59FsQNfGY2BG/MpENFm9VvSoWp0QoQNX96kYZqmiBt+YERPBgiOwnngI5+6xdHj7OyzJH X-Received: by 2002:a63:234c:: with SMTP id u12mr4430170pgm.264.1557269341889; Tue, 07 May 2019 15:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557269341; cv=none; d=google.com; s=arc-20160816; b=da+cH3svPFrOUjuL85V9i3VdF18aeZ8Yw2GpbOF66RubBbMrSSB0QWcW2oISX8e8Th OebVf4sdbje36ROwZZ9QgXkO6qRa5cF4In95iheO/Co3b3prPztE9oMFUy5cF4PjO5Qy gdGhodbPlYYqzce4V46F+Ywn5VMSw8Yvsx708sFTmXlw54NYImzsdxDffNPLotudky/5 Khhda/eb2xPU3BiQGrajN3TdbfFpU+9hVcziGFlj6W+/A54Sn7aX9QyTZfQ5NSOWvPyl jBI9tNTDgvwLGhgpHyA5iyx/5v33WW04WFjqpzkVlHnU38CGmF5oE4CH8yBe/Avs5RWS /A/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2SBXkPPsS90MxklCe6MIGlkttGdHW3kI9AU6dDeoWq0=; b=nlSyf3TwGzqsYIy/PQNvkKSDV0s0f+xWOk7qqWqI8emWQzLWUjwvoTTXmmlYmBlXUJ LKCxtRcz7DjfaO7Prm7m4apjPGZ3OmHf5N4tDXPHtiXTDuYwfy7wSum3x7NAhYL6PBux Gr5PKA58qnniHs29MYlXwSF0I2/Ttpjahli/+ervL4SdUhkVzkBcuaQyzyxDJVisfcxm bhmC40DIqC0c+CdI8Y7+lvmGI6fqjv6QHgpKznTmIV3ylnn2QYAWSeseZ6/OFF5J3nv/ 0/xX8vl7GDdA9TUt3HDxAQ3YPMqbDSZ81368x3IxDisPJ69VFGZnP+Wb3IE4OOtcEuiX y0jw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=c8YCsFOL; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y4si21787483plb.283.2019.05.07.15.48.44; Tue, 07 May 2019 15:49:01 -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=@broadcom.com header.s=google header.b=c8YCsFOL; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726469AbfEGWqp (ORCPT + 99 others); Tue, 7 May 2019 18:46:45 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:43058 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfEGWqo (ORCPT ); Tue, 7 May 2019 18:46:44 -0400 Received: by mail-ed1-f67.google.com with SMTP id w33so17894468edb.10 for ; Tue, 07 May 2019 15:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=2SBXkPPsS90MxklCe6MIGlkttGdHW3kI9AU6dDeoWq0=; b=c8YCsFOL5XUurB/wLU01FUTlJ+LmbsoTAONIDSv6Ve2y9sfQIO00JcBoneTawrU37S ZxHXBrqZPJHAB7Y9fHXTTthRpBiTxbWYVk+FE08Jp0WYjYvYKAl5oBOeeH4MtBg/3L0C h0QAqHEOXzezLEUlvcU8JoSmAFNwDCBsNmcWw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=2SBXkPPsS90MxklCe6MIGlkttGdHW3kI9AU6dDeoWq0=; b=mNXOg1wAAelQ9yrK6KB8UfzuAjO0gZ+wg+bGVC3TxKTLsX+QrJBtPePUTNvDFLwaJq hQudmAka0VmC3r8XHq2IBfr6Kchqmv5nXZoEUbCx6QvWyHM7lUJ3ccsYPxqHu4MpVRTe 9rRRFdWYV9odMOezf9+ogT6lr6EtDtMk9cDPqyS6PjvOynemyDuAb67hqbQ0R/C1Ktn2 1+5QJuxhMAc43L1qWGBVmyjWlp9pKHPpUqRAvNJ2Ko4QdPVWDNqAQK7f9qNTArCKb2He wTr/aU4WlF1aguP0wqDcwPes7InzxS27GMje+Pml3mBcMSyJsRvTp5ZySvAYlQUda6QL kfnA== X-Gm-Message-State: APjAAAVWHB/0AagJqm/fKIIV5Y6CfBHtMLLe3TOk0iKjT67o065dXPfD Dq5XsUn81IJ2SF/Zj13ZJLjXQBCABjOPEYsJ X-Received: by 2002:a50:c201:: with SMTP id n1mr35712206edf.244.1557269202927; Tue, 07 May 2019 15:46:42 -0700 (PDT) Received: from [10.136.13.65] ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id s53sm4603529edb.20.2019.05.07.15.46.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 May 2019 15:46:41 -0700 (PDT) Subject: Re: [PATCH 2/2] mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem To: Adrian Hunter , Ulf Hansson , Ray Jui , Scott Branden , Stefan Wahren Cc: BCM Kernel Feedback , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Trac Hoang References: <20190506170115.10840-1-scott.branden@broadcom.com> <20190506170115.10840-3-scott.branden@broadcom.com> <673b3d25-0256-9cd7-c89a-673546e69f3a@intel.com> From: Scott Branden Message-ID: <293b4f12-c74f-35fe-80d7-fdb25405e499@broadcom.com> Date: Tue, 7 May 2019 15:46:37 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <673b3d25-0256-9cd7-c89a-673546e69f3a@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Adrian, On 2019-05-06 11:31 p.m., Adrian Hunter wrote: > On 6/05/19 8:01 PM, Scott Branden wrote: >> From: Trac Hoang >> >> The iproc host eMMC/SD controller hold time does not meet the >> specification in the HS50 mode. This problem can be mitigated >> by disabling the HISPD bit; thus forcing the controller output >> data to be driven on the falling clock edges rather than the >> rising clock edges. >> >> Fixes: f5f968f2371c ("mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read") > Is this fixes tag correct, because it doesn't seem related. Maybe explain > that in the commit message. I chose this tag to assist stable kernel maintainers so that the change does not produce merge conflicts backporting to older kernel versions. In reality, the timing bug existed since the driver was first introduced but there is no need for this driver to be supported in kernel versions that old. Do you want me to add such to the commit message? > >> Signed-off-by: Trac Hoang >> Signed-off-by: Scott Branden >> --- >> drivers/mmc/host/sdhci-iproc.c | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c >> index 9d4071c41c94..2feb4ef32035 100644 >> --- a/drivers/mmc/host/sdhci-iproc.c >> +++ b/drivers/mmc/host/sdhci-iproc.c >> @@ -220,7 +220,8 @@ static const struct sdhci_iproc_data iproc_cygnus_data = { >> >> static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = { >> .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | >> - SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12, >> + SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 | >> + SDHCI_QUIRK_NO_HISPD_BIT, >> .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, >> .ops = &sdhci_iproc_ops, >> }; >>