Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp3786458img; Mon, 25 Mar 2019 18:28:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqz1GGyrwtjXkFjxAvtAHnGtFxQGuyUwl+8qJ3l4TCM8KxILKAdhi/i9C//BFPU9S1EmwGxc X-Received: by 2002:a65:538e:: with SMTP id x14mr25710588pgq.79.1553563710001; Mon, 25 Mar 2019 18:28:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553563709; cv=none; d=google.com; s=arc-20160816; b=h6EZBiRhSKXYVLkA5yt9lg18kI0CBmVLxuZqf2zL6+gukW/wwIzE6XoM1qtb0Xe1Wo hA6ecPkTB4bnC3zAPQJPgHC6nmCrP2LwTEghhnxCJ2WF+ak9i27P6/cnOiiw24pCc0we BZ3wdkdw3kPSnn39pWhzB9eTR8E+nXYCUflf4swWrBthQ4Sv1Q0K2AJj8wULCOOo4Luu wCKJBxg4b2Jv6tazhYva1Y13RRcDJsdJlaJdocJBCyqvsYxFOPwhxpmPU7On0XCWDCxh EM+hfOKMnU03QsUyIpxW35EfmnDFDKJicOiUZUQnTHz5fXp96trtxwm5/3j5ALxGRH38 WEYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SXsLWUeBel0Q4T3fvwZaRcBaPrnuDUlNZV8w++ab6oo=; b=ODlg34vhgQ/ORr5Hq9PEo/93u8yr9jXwu+mYbSanBNFKEchmoNKVJEOOISxpay5xhW iNVLfaV0eGMfoTu4mOfgukZTBdfOECUXReR7F8qMedj8rTYMSIi/Rgo7ojJLM5jTRcnc w7ulX783Gdf/kfmAThmII0KT3Py0z6thuaMMTiUDaIE/An++mD3hWq+nPpEqcM9jQhWL AWncdiZCekJs/AGKnxh7t9JG0ckR/67+kh5Ny1FIoKczuFtMcrF+Z3/rzqgVwmsI9Sah BshZ4Tvp4QfTHqhYESa8sFjJt3ASk5evnpI0cQ2xZkUqBQZJ4Siyo3rYLuCcuyEA5FDq 9s8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eH6PbxSF; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f11si14018806pgs.291.2019.03.25.18.28.14; Mon, 25 Mar 2019 18:28:29 -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=@kernel.org header.s=default header.b=eH6PbxSF; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730375AbfCZB1j (ORCPT + 99 others); Mon, 25 Mar 2019 21:27:39 -0400 Received: from mail.kernel.org ([198.145.29.99]:60724 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727427AbfCZB1i (ORCPT ); Mon, 25 Mar 2019 21:27:38 -0400 Received: from localhost (li1825-44.members.linode.com [172.104.248.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 028102075D; Tue, 26 Mar 2019 01:27:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553563658; bh=7RCGyryO7eBho+Imp5KMIH6jfwZHXMtR3f3r7R4xfKs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eH6PbxSFn8g2ZnbTkS54z0eFICM7KyO+pXK5NUge88UA1adAO/Dx+fSI5m+sKvH+F V95wmJLbv1Tgjy0xJpAk0v2lTm4B2z51ygUDop+iv+PRaxZ7iBHYYNzix2vO7Bq/jt dg3DGKbb4CU7kwOvkVlsBeIF7CtW9Y6y0fnvHumw= Date: Tue, 26 Mar 2019 10:27:31 +0900 From: Greg KH To: Arnd Bergmann Cc: stable@vger.kernel.org, Ulf Hansson , Shawn Lin , Avri Altman , Ritesh Harjani , Jiong Wu , Martin Hicks , Ziyuan Xu , Wolfram Sang , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [BACKPORT 4.4.y 17/25] mmc: core: don't try to switch block size for dual rate mode Message-ID: <20190326012731.GA30723@kroah.com> References: <20190322154425.3852517-1-arnd@arndb.de> <20190322154425.3852517-18-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190322154425.3852517-18-arnd@arndb.de> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 22, 2019 at 04:44:08PM +0100, Arnd Bergmann wrote: > From: Ziyuan Xu > > Per spec, block size should always be 512 bytes for dual rate mode, > so any attempts to switch the block size under dual rate mode should > be neglected. > > Signed-off-by: Ziyuan Xu > Signed-off-by: Shawn Lin > Signed-off-by: Ulf Hansson > (cherry picked from commit 1712c9373f98ae8ed41599a8d7841a6fba29c264) > Signed-off-by: Arnd Bergmann > --- > drivers/mmc/core/core.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c > index df074f8c7cb7..3e17268b9994 100644 > --- a/drivers/mmc/core/core.c > +++ b/drivers/mmc/core/core.c > @@ -2406,7 +2406,8 @@ int mmc_set_blocklen(struct mmc_card *card, unsigned int blocklen) > { > struct mmc_command cmd = {0}; > > - if (mmc_card_blockaddr(card) || mmc_card_ddr52(card)) > + if (mmc_card_blockaddr(card) || mmc_card_ddr52(card) || > + mmc_card_hs400(card) || mmc_card_hs400es(card)) This breaks the build, there is no mmc_card_hs400es() call in 4.4.y. How did this build for you? greg k-h