Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2669936ybh; Mon, 9 Mar 2020 10:31:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vutpsdq+PrVdZoQFnwCNIMTubOcJk2qk6880Y4Elkes7YhJjPzYXWqySFOle36Ksi9Ksnr/ X-Received: by 2002:aca:57ce:: with SMTP id l197mr291201oib.76.1583775090500; Mon, 09 Mar 2020 10:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583775090; cv=none; d=google.com; s=arc-20160816; b=Wv/wgov0IoXIbVkjKHKPyI4saoNVyyUCMjhaqNQKPyXymU4nYmabWopTCLh3K2vmbo jIx1d/Fkk/LwswGhCEMcmeYtstTyzJ42x82Qxd9TSEpGo5eABxGWhWx08YkcJa8PCH7M L2FUYJV30oBwRak+sxBX8mnJHxPVf7pmt+TkMK80rNSfdKFOzlPeeFZOuVTtsUOL9VVt oOs4ciHQjA+GE6IaeCduhug0nN2WH1RTuZlwwh4I6ZVqAlKg/wOV/YtLvwt/YoXlrJEA 5GPjIn1tj1LoT197H3ePF7zygCzBoOXJZR309n0ENstuVFl15nZp3MILx+z6TKYdo5CQ nRMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=h5j30dEY1GOlpVbNdh9kQJ7j5PfncyfdXuV6beFTXYk=; b=TMxwtY/lJfjdcunFHRtMDbnOelapcxxSS9nvdPRR7f8uX/oYZfns/gBoKLXFVTC7RQ zZDAR6mlgUerLgCZIv+t4V0YF2+l233JZqMZ4+1GFqkXtIOrq3zRO71ab/1XrP3B3NvU vYxaayoBUzvrcOjntd1FS8h/xmJ0bdUPKyxPrzgbQMECvwCUdHXQFIV93EmYvkZ7TBTf mv01AU+/BDNWl18IN47YOpEUue18w47MYSxsI7WCqTfZFpFTHJnNpQmOXrQkH0ZvlGOe tw8X6p0nR7VEg8FxhHXYuN4VpB1dZpodCGAXl0crFARIYTFAFglkL6w5nfaaCOdOmvDW 65PQ== 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 w81si4527972oia.48.2020.03.09.10.31.16; Mon, 09 Mar 2020 10:31:30 -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 S1727286AbgCIRa7 (ORCPT + 99 others); Mon, 9 Mar 2020 13:30:59 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:45589 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727185AbgCIRa6 (ORCPT ); Mon, 9 Mar 2020 13:30:58 -0400 X-Originating-IP: 86.202.105.35 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 4773AE000A; Mon, 9 Mar 2020 17:30:54 +0000 (UTC) Date: Mon, 9 Mar 2020 18:30:54 +0100 From: Alexandre Belloni To: Guenter Roeck Cc: Anson Huang , shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, dmitry.torokhov@gmail.com, a.zummo@towertech.it, rui.zhang@intel.com, daniel.lezcano@linaro.org, amit.kucheria@verdurent.com, wim@linux-watchdog.org, daniel.baluta@nxp.com, gregkh@linuxfoundation.org, linux@rempel-privat.de, tglx@linutronix.de, m.felsch@pengutronix.de, andriy.shevchenko@linux.intel.com, arnd@arndb.de, ronald@innovation.ch, krzk@kernel.org, robh@kernel.org, leonard.crestez@nxp.com, aisheng.dong@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-rtc@vger.kernel.org, linux-pm@vger.kernel.org, linux-watchdog@vger.kernel.org, Linux-imx@nxp.com Subject: Re: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU case Message-ID: <20200309171556.GH3563@piout.net> References: <1583714300-19085-1-git-send-email-Anson.Huang@nxp.com> <20200309110609.GE3563@piout.net> <1ad38cdb-bf0d-1c19-b233-15a5857bd6fa@roeck-us.net> <20200309164705.GG3563@piout.net> <20200309171012.GA24802@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200309171012.GA24802@roeck-us.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/03/2020 10:10:12-0700, Guenter Roeck wrote: > On Mon, Mar 09, 2020 at 05:47:05PM +0100, Alexandre Belloni wrote: > > On 09/03/2020 06:27:06-0700, Guenter Roeck wrote: > > > On 3/9/20 4:06 AM, Alexandre Belloni wrote: > > > > On 09/03/2020 08:38:14+0800, Anson Huang wrote: > > > >> Add stubs for those i.MX SCU APIs to make those modules depending > > > >> on IMX_SCU can pass build when COMPILE_TEST is enabled. > > > >> > > > >> Signed-off-by: Anson Huang > > > >> --- > > > >> Changes since V2: > > > >> - return error for stubs. > > > > > > > > I'm not sure why you are sending v3 with the stubs as we determined that > > > > 2/7 is enough to compile all the drivers with COMPILE_TEST. > > > > > > > > > > > 2/7 alone is not sufficient. With only 2/7, one can explicitly configure > > > IMX_SCU=n, COMPILE_TEST=y, and get lots of compile failures. Granted, > > > one should not do that, but 0day does (I don't know if that is the result > > > of RANDCONFIG), and I am not looking forward having to deal with the > > > fallout. > > > > > > > How would that be possible if the drivers all depend on IMX_SCU? > > > That dependency is being changed to IMX_SCU || COMPILE_TEST > as part of the series. > Yes, my point is that those patches should not be applied at all, only 2/7. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com