From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E00AC2BB1D for ; Mon, 16 Mar 2020 10:06:02 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6ECF920724 for ; Mon, 16 Mar 2020 10:06:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Oe1VXKkx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6ECF920724 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=svVkVbzaizUFsszNzvl3PI3xzJtkJU3x9h7WtfE2qWk=; b=Oe1VXKkxs5igFc bJIUj2CStG4dxnnX7yjvgXWapbaWjYVtLf2xKGPThXNbmlvJ879mVznaWfFCAqNRtPrez4D9kYxM9 1DfSapE/06w567VoKMW1f9FSiMemd7If9r3xHh936YZtFLdDt3vhaOt6RdbBEiL82MRwjWlGLiCoP JrwvQr/QFwsu8AadtPrb9yNtu9KCrPkAe2IqLa6JkoTdAUAxLP4v8nNiEXkd0tKRq1ORQkx6Vobhp H+IJR19rUr2OWx02c/Dwm1N75WD/qy8kXFNwr1rAKGjvSr38P1iVyb0pRPaVnksX2RmQ3JsFca+1U RjM+VQyctUq/lT8/oIxw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jDmdF-0004UE-Q5; Mon, 16 Mar 2020 10:06:01 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jDmdC-0004T9-28 for linux-arm-kernel@lists.infradead.org; Mon, 16 Mar 2020 10:05:59 +0000 Received: from localhost (lfbn-lyo-1-9-35.w86-202.abo.wanadoo.fr [86.202.105.35]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 34E39240037; Mon, 16 Mar 2020 10:00:17 +0000 (UTC) Date: Mon, 16 Mar 2020 11:00:17 +0100 From: Alexandre Belloni To: Anson Huang Subject: Re: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU case Message-ID: <20200316100017.GM4518@piout.net> References: <20200316030744.GC17221@dragon> <20200316033447.GE17221@dragon> <20200316084056.GG4518@piout.net> <20200316090053.GH4518@piout.net> <20200316091541.GI4518@piout.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200316_030558_235260_F1207F7F X-CRM114-Status: GOOD ( 12.71 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peng Fan , "m.felsch@pengutronix.de" , Leonard Crestez , "festevam@gmail.com" , "linux-rtc@vger.kernel.org" , "robh@kernel.org" , "amit.kucheria@verdurent.com" , "wim@linux-watchdog.org" , "daniel.lezcano@linaro.org" , "krzk@kernel.org" , dl-linux-imx , "linux-input@vger.kernel.org" , "rui.zhang@intel.com" , "ronald@innovation.ch" , "linux@roeck-us.net" , "linux-watchdog@vger.kernel.org" , "arnd@arndb.de" , "linux-pm@vger.kernel.org" , "s.hauer@pengutronix.de" , "tglx@linutronix.de" , "andriy.shevchenko@linux.intel.com" , Daniel Baluta , "linux-arm-kernel@lists.infradead.org" , Aisheng Dong , "a.zummo@towertech.it" , "gregkh@linuxfoundation.org" , "dmitry.torokhov@gmail.com" , "linux-kernel@vger.kernel.org" , "linux@rempel-privat.de" , "kernel@pengutronix.de" , Shawn Guo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16/03/2020 09:40:52+0000, Anson Huang wrote: > > Why is that an issue? If they don't have IMX_SCU selected, then the other > > SCU driver are not selected either, having stubs doesn't change that you will > > have to select at least one option. Please explain what is the issue that is not > > solved here. > > OK, what I thought is even without IMX_SCU selected, other SCU drivers still can be > selected for build test after adding "COMPILE_TEST" to the kconfig, like below, if > without IMX_SCU API stubs, the "COMPILE_TEST" can NOT be added to SCU drivers > to enable build test, so I think the IMX_SCU API stubs should be added? > No they shouldn't because there is not point adding COMPILE_TEST to the SCU drivers. We don't add COMPILE_TEST to all the drivers and add stubs to all the subsystems. E.g there is no point trying to compile an I2C driver if the I2C core is not enabled. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel