Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2432305ybh; Mon, 16 Mar 2020 03:06:34 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvvkiGHGghxkZF5eUPqRbv6HSbiQPW4LgfzzHqohbIGQLSrkXa3UYuYef/7cc2WSR3MI6pc X-Received: by 2002:a9d:6a0b:: with SMTP id g11mr20718324otn.31.1584353193908; Mon, 16 Mar 2020 03:06:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584353193; cv=none; d=google.com; s=arc-20160816; b=zqX73mECnVeSsHYJLAnOWBqV5pOF8UTdvZ3LT1OY8w9EJuA5REksBMViodHAHUTW/c hMIOgqmGr4L+ZWhmdEq/hzerP6rnoolkbmvCVqKY2klFJTTRwbB3H40S/giYroRwr3Q5 96WKvmtwUPbPkG45OqaINMCWzea9gATG1Ot4LiKJ00CYrfWakeszQ3GRRdXpai4pB6hY OXkJcpqp+H2bGwfEowy0WLSq+ze2jWfOIXnIkucLbUpeA4q+CTBPVOkfwzXB1dR7TdsZ 8b+OCdPU+sBTRbX1DzDcDWu1fhjmGHB/tKV+TDDG3oOI6w4Ot2b7ahdlf+mHz1yztw9i 74xg== 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=6KCtTArZjfM3B37EiFS/f0HwJRXKDQDz77fIxdBzVIo=; b=WxMM601ZowgSpW6ofcezz55ksvgqCxjZliU/oPLoe6CLUgzFnCB3SjRgJ0oXFk3X0e JOTH8kb/WvgU0/1uY+RyHG8Fw+MT+aj2hDfVfONvGvzBD5De3lbLUiFsT1tTmKw599sB JbFz3xYmJblfj+o2uMvtL7XfKmVPvVm2goSqmuY+rS+b1csyXVeFWlE7GWgLYt22s3to wEhBaZEOtj4GPoOXIrY8DVe8OuwDhDPQi8+LBIS1KItDs3XoCxpIe0obzNlHCyQrjzoh 5jtKKOY4cTibOAoCIH7sZPEg59N1MqOyxr2OIyNWbKbwugDF9Cwi4lqzgex1BB5X58uV a/og== 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 z14si9564149otq.257.2020.03.16.03.06.21; Mon, 16 Mar 2020 03:06:33 -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 S1730562AbgCPKF6 (ORCPT + 99 others); Mon, 16 Mar 2020 06:05:58 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:37275 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730491AbgCPKF5 (ORCPT ); Mon, 16 Mar 2020 06:05:57 -0400 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 Cc: Shawn Guo , Peng Fan , "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" , "linux@roeck-us.net" , Daniel Baluta , "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 , Aisheng Dong , "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" , dl-linux-imx 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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