Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp4027969img; Tue, 26 Mar 2019 01:15:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqybwbyVjDo/FRwOo/1l/Cqhdg2+Wfyeg0o8rwFdJkOmt2Ujy3GTXpXuvkXjT2YKxvF3C4Bn X-Received: by 2002:a17:902:2a29:: with SMTP id i38mr30546910plb.22.1553588156632; Tue, 26 Mar 2019 01:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553588156; cv=none; d=google.com; s=arc-20160816; b=SZNq7IiYtiY2DyUfEiJMkJlt0IyhMOyrUqhF7Dy2fPgXMD/AIjgo9+vloUrUIqxVPZ q8sGfq54XVw58CW5HMLGD6UsugHkzdWUrqk7aeUh3dQLn6HGbkt2S5reG4CaeVWBn3p9 GosfoXrzI81YZC1NAPLBsdiFgw/hiyTzqW7PKEVrTUDk1IVpWaF5RHZbIkaxZdKVHdwF LdKJnWPXrz+ExrECAutJRBmD1I9nMZ6Wg+mBfa9NaLTJArQkg8MrlT7CHISRRUw7/wPm JUOojEIo9IXUJeXjVluXXKbTt/dsWnaEZeYDRUbwSVss0yosdGPXX8ehNAYFHX0zZGdA wlLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=m8vRqvLF+v/2M9JQn5TgrIRGsTTM589rALNf+mSc2jw=; b=tb5qJB6++qo2LKMIWachSSAWeCXe1FZ6rmZ6s7Kgl9nfejYsMfzWF3597DNj32Kqgk eTN6WfLbZpcX5H5A+f8v6kgcMUuCoNp1slNL0zkl8q9O76Fs5ca5dpz7Uo2IH5Cncj2S YyPM0m+Cf1HfZq8bM4oE7QoUGcX8F4QHq0IZhkh+Zra48gQ9EWmYNvuA7eBXENaKI9oE isigvkfaFG7ESmXXroJyjODXXyWc9iQbrGjtN38EiSBt06ImGVDXqAqFHHvlqRBTieSz HWhyj5oKMejSOg8vtkS6zxdriNUagqJCcls9leB43GPWz1J2SIE2MN6w8bBxjaiZoQWs UBwQ== ARC-Authentication-Results: i=1; mx.google.com; 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 k7si14322729pgi.451.2019.03.26.01.15.41; Tue, 26 Mar 2019 01:15:56 -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; 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 S1730944AbfCZIOr (ORCPT + 99 others); Tue, 26 Mar 2019 04:14:47 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:43063 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726307AbfCZIOq (ORCPT ); Tue, 26 Mar 2019 04:14:46 -0400 Received: by mail-qt1-f193.google.com with SMTP id v32so13488550qtc.10; Tue, 26 Mar 2019 01:14:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=m8vRqvLF+v/2M9JQn5TgrIRGsTTM589rALNf+mSc2jw=; b=Y6+/rTZHMh8bkVy3n0wnhqhz6FjRXn0Arp0j28zE13oMj2Bquc/bZYJPz5tQDmrdv0 C8uDUzA6Qke179mLP6/NdDleW2siIQJoiViODakliUzfMEBITVtjiJNE1CAdqU0p/h8d L2OY1oilMNU3K6XFlJ+nabDC6fwJP0nfXv/dyUwmUygueyudzLj6NNHvcTY/zNtfoBjW F0pKdBM5bgpEhVLCRL23vjtzeiQuS0XeDa88f+loV/e2dJE+8qd0ctDi8t7hC39fuRSW KrdywnbPV5trwmDVPiMRMtBehz+G4p+1hZSGG7PN+CJMImtXYmWb5IwvdXxk8XQm2T0e c5PA== X-Gm-Message-State: APjAAAVEh2BXsmEqKrt8yQMaiWz1lN7BqC/ckZZkS+/mK2ki4D8oioDZ KgkFuPV3S3y/JqoCBH0/j3B6YUQaRFwAmDvayG0= X-Received: by 2002:ac8:2692:: with SMTP id 18mr24422023qto.343.1553588085441; Tue, 26 Mar 2019 01:14:45 -0700 (PDT) MIME-Version: 1.0 References: <20190322154425.3852517-1-arnd@arndb.de> <20190322154425.3852517-18-arnd@arndb.de> <20190326012731.GA30723@kroah.com> In-Reply-To: <20190326012731.GA30723@kroah.com> From: Arnd Bergmann Date: Tue, 26 Mar 2019 09:14:28 +0100 Message-ID: Subject: Re: [BACKPORT 4.4.y 17/25] mmc: core: don't try to switch block size for dual rate mode To: Greg KH Cc: "# 3.4.x" , Ulf Hansson , Shawn Lin , Avri Altman , Ritesh Harjani , Jiong Wu , Martin Hicks , Ziyuan Xu , Wolfram Sang , linux-mmc , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 26, 2019 at 2:27 AM Greg KH wrote: > > 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? I had a larger set of backported patches and then dropped others that did not look like stable material, but then did not rebuild again afterwards. I'll make sure to do that next time. Arnd