Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp177730imu; Wed, 7 Nov 2018 15:09:23 -0800 (PST) X-Google-Smtp-Source: AJdET5eLfptVItFyLglGsonH/7M/obvJYPg+1BaTkh5lXSJqoxVlrzYgi1j0/De70MZ/kyy1r1do X-Received: by 2002:a63:b34f:: with SMTP id x15mr1888958pgt.243.1541632163508; Wed, 07 Nov 2018 15:09:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541632163; cv=none; d=google.com; s=arc-20160816; b=EIm3mVfAg/KamA1wpBwycGL9T4aT9L2zq7Lm7CzsHZWpp/AtKq7SYodoyozu9sftmO /GofbeGiozB4amiBaL1VlYH/r3FzSRsU3JrtCNAbEhzVX3zxwFL13q9Wt1HdvzkHgsYA 25O2yb5PjQ/ZLJCQKVAO5xLfjguLExscauIMUOBCuWv5+eOA/TO4ZPYzpAwWzURykz4U t1cYq9T3ViTipPHpnsn+AKPqHCYkxrs8GMAxCOtjd5vcu6kR9YRcfNR8LoYZXn73UMmt X1bcnGIK0xui87SURngGNHBf5JJtmfyw8yAhj0ETNR/fczeATGjYxBBABPb466JuHNf4 InXw== 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:dkim-signature; bh=SYGsWOt6ypVtJm8KJfPHV1Op26KV4ohQ4Ck+xoxGlZU=; b=FgFxLrQQ8leuGJM9k62tFnf+ZPrNTvFn9B8F0O7jo4KzQD5CfdR0IqDno+7D00FPET w1gRAShvDp6/QhVhCzQfdbTG+9nEHkbIF5wgrtmgAbJZDuIUgyyzx9EgEkTglzK99d4u opGsgtsPLKJaG9/sDjQ6+68PzMdj4P3TjKW8DiUqipliX0cCCeh7UxM3tcFBcFTr70oj qj7rIa9gfTI5tNVOYuMd423DASC7JSgxqtijj1XuTJ63aRlMWfhvV4QGdYvsm9ASGIjA 5D7fBh93FuYsWQHu2TrG2ZeIDjw+TUQ4aQMWyktt/9KsNNKkgQI2XbtIaJ/z/3njXKBj TMew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b="Sr/p7s8C"; 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 o1-v6si2000737pgf.80.2018.11.07.15.09.07; Wed, 07 Nov 2018 15:09:23 -0800 (PST) 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=@lixom-net.20150623.gappssmtp.com header.s=20150623 header.b="Sr/p7s8C"; 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 S1728032AbeKHIlS (ORCPT + 99 others); Thu, 8 Nov 2018 03:41:18 -0500 Received: from mail-lf1-f65.google.com ([209.85.167.65]:37718 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726896AbeKHIlS (ORCPT ); Thu, 8 Nov 2018 03:41:18 -0500 Received: by mail-lf1-f65.google.com with SMTP id p17so12742055lfh.4 for ; Wed, 07 Nov 2018 15:08:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=SYGsWOt6ypVtJm8KJfPHV1Op26KV4ohQ4Ck+xoxGlZU=; b=Sr/p7s8CTv7TKMxpT4+LCSY3KeiSeub059kjtH0w1wJik6o/VAfdLBKFBZE9SR5dYh O0DoZswMBItltb9bRD+UcUp8lkTn7bNtFzjnaZCAhH9vjbQlQRVzCsaD4GT5XrftYSsh 8C2P6r6UbDaSPyOBUI548zopXSstXGveZ66LJn4eQhlKYnm+/M/4FC7lydqyE21KsIde AG8F8mHUWTR2N/oXnbY04YCINauM2W/MocY0cAUkctJ5k4WtcbyYv8iEY9xNlbVD+ewL v/1tBrojH9S9xxuX0aywx7pm0Kk1WbumKGIlSnE0HCf9zHBZapyIDesdjd/CsTQ7kbzO 1ELQ== 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=SYGsWOt6ypVtJm8KJfPHV1Op26KV4ohQ4Ck+xoxGlZU=; b=fMR5YSRxnYJCoXV519zCGJ1Epg5pqp16FZ0qTRLWLPe1Bijkp+/Klf2i+LfIYA0MCG PPi3TPbpAMXSkkYESxA/C9tKBxU+aSCPig21YN9HLB1eMF/J6w1gZX8nGtwTlSePVklM AnzWenN4hNOPl9/xFG40npZlaxNPRRWwk5a4BXPW+g7C5PnwFBSuzfEvR6at1weWD1Sx nYRUh1TBPWePjn2GVuiUutxKs9xG12uh4ZuXGL8ZtY1yhJ8YigAXdJjgv7cBF+PswUEm 0RVkCdoIpIbI/KWCENNNDh6P1fNIJTPIZPOC+7kBXdHb55F6L31u27z8VdnpBpfsUAHA 5FTQ== X-Gm-Message-State: AGRZ1gJ2uYHp/K/McvzYIa6J51LOt2FWIrY7KuWr5n9VsUD1cV02txqG 7Pg3CVkXGT4EIWc6Wsq1fUbCG68m8cI6hE5+mPyYnQ== X-Received: by 2002:a19:41c4:: with SMTP id o187mr1318506lfa.32.1541632120846; Wed, 07 Nov 2018 15:08:40 -0800 (PST) MIME-Version: 1.0 References: <1541601809-16950-1-git-send-email-frieder.schrempf@kontron.de> <1541601809-16950-7-git-send-email-frieder.schrempf@kontron.de> In-Reply-To: From: Olof Johansson Date: Wed, 7 Nov 2018 15:08:29 -0800 Message-ID: Subject: Re: [PATCH v4 06/10] ARM: defconfig: Use the new FSL QSPI driver under the SPI framework To: frieder.schrempf@kontron.de Cc: linux-mtd@lists.infradead.org, Boris Brezillon , linux-spi@vger.kernel.org, David Woodhouse , Brian Norris , Mark Vasut , Richard Weinberger , miquel.raynal@bootlin.com, Mark Brown , david.wolfe@nxp.com, Fabio Estevam , prabhakar.kushwaha@nxp.com, yogeshnarayan.gaur@nxp.com, han.xu@nxp.com, Shawn Guo , frieder.schrempf@exceet.de, Sascha Hauer , Sascha Hauer , linux-imx@nxp.com, Russell King , Arnd Bergmann , Alexandre TORGUE , Eric Anholt , Stefan Agner , Simon Horman , Tony Lindgren , Geert Uytterhoeven , Stefan Wahren , yannick.fertre@st.com, Linux ARM Mailing List , 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 Wed, Nov 7, 2018 at 8:36 AM Schrempf Frieder wrote: > > Hi Olof, > > On 07.11.18 17:20, Olof Johansson wrote: > > On Wed, Nov 7, 2018 at 6:44 AM Frieder Schrempf > > wrote: > >> > >> From: Frieder Schrempf > >> > >> The new driver at spi/spi-fsl-qspi.c replaces the old SPI NOR driver > >> at mtd/fsl-quadspi.c. Switch to the new driver in the defconfigs. > >> > >> Signed-off-by: Frieder Schrempf > > > > Hi Frieder, > > > > This patch is part of a series that I didn't see the rest of, but in > > general we prefer to merge these through arm-soc even if the driver > > goes in through another tree. The way we'd prefer to handle it is that > > once the driver lands, we'll take the config option change to turn it > > on. To avoid our branches to break until both sides have landed, it > > might be a good idea to keep both drivers on for a short while (one > > release). > > > > So, I'm not going to ack this since we avoid taking defconfig changes > > through driver trees (these two defconfigs tend to churn a lot and we > > don't want to create merge conflicts where we don't have to), but > > we'll be happy to pick it up when the time comes. > > Ok, thank you for explaining the common practice. I will drop the config > changes for the next version and send it separately when the time is ready. > > Both the old driver and the new one use the same compatible strings for > probing. Wouldn't that cause problems if both drivers are enabled for a > while, or am I missing something? Only one of them would be allowed to bind to a device, but it might not be predictable which one does (especially in the case of modules). So, it's far from ideal, but breaking the platform is possibly worse. It might just be a good idea to merge the driver and not turn it on until it's in for that case (i.e. we take the config change between -rc1 and -rc2). -Olof