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 681B3C18E5B for ; Mon, 16 Mar 2020 09:22:29 +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 29C6820674 for ; Mon, 16 Mar 2020 09:22:29 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="nmAfZDKF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29C6820674 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=NzCFX1vohLskaSypdPvKabSoav96qHhvgHJ6kzQjzJo=; b=nmAfZDKFCBh6Xz 4AK8p+WBHXsGANdwg2RuV+v7ICDspjJ6nakvAFLhr860EmHVuZGOl97XJOoEccsfuGi3Y1jGO1mWK odsjICXwfx4IvCQHUHYvwBpTkktZ6Hw7Ej9hDuFDJO92/W7DV/gAwWLgtFKN2GzSaNhgo3rlGxm5P Jc6B4XocdSWAyaVqiiknjbvj2OYgKQ3P5JX2W5hNMxzITTqsShVndS6LwdFllfIN1GdYSyzdsqvtg L5eShVc0IWd0Nl03SLbUIgiBts8J0M3ZOOiyy4AU8N0k+niN0iAFWwyVrvOIboXlF+ui2+Oo9I4rB EQoSZtOHNqg+CzeNiUUQ==; 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 1jDlx5-000139-NK; Mon, 16 Mar 2020 09:22:27 +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 1jDlx2-00012S-9C for linux-arm-kernel@lists.infradead.org; Mon, 16 Mar 2020 09:22:26 +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 F1229240035; Mon, 16 Mar 2020 09:15:41 +0000 (UTC) Date: Mon, 16 Mar 2020 10:15:41 +0100 From: Alexandre Belloni To: Anson Huang Subject: Re: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU case Message-ID: <20200316091541.GI4518@piout.net> References: <20200316005219.GD17221@dragon> <20200316030744.GC17221@dragon> <20200316033447.GE17221@dragon> <20200316084056.GG4518@piout.net> <20200316090053.GH4518@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_022224_457815_85256EE4 X-CRM114-Status: GOOD ( 10.27 ) 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:08:53+0000, Anson Huang wrote: > > Why do you absolutely need to compile them independently? From a code > > coverage point of view, having: > > > > COMPILE_TEST=y > > CONFIG_IMX_SCU=y > > > > is enough to select and compile the remaining drivers. > > What I meant is for below case, like using other arch config which does NOT have > CONFIG_IMX_SCU selected, ONLY with COMPILE_TEST selected, adding stubs for > IMX_SCU APIs can fix such scenario. > > COMPILE_TEST=y > CONFIG_IMX_SCU=n > 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. -- 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