Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2162463ybh; Sun, 15 Mar 2020 20:43:22 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuCvHT9Bo+0rdipK72Cedm2/KR0WAW0exPU0IwtLwp6whx7aORcsU4UBTlvQjdP9kVIuJTb X-Received: by 2002:a05:6830:11cc:: with SMTP id v12mr1772518otq.131.1584330202436; Sun, 15 Mar 2020 20:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584330202; cv=none; d=google.com; s=arc-20160816; b=YG770rpF9onJekvPNzOvK1jTuEj+3LlJKyFakk2IqiFJ9cb0V4/Lkg8Ge0o4N6uARZ UJO4aRREEE2icBf8669HowwM8WCYYjsYTjYzTYcM8VI6LGCjvo1qgGCLmPeCtH5oIrFN rEsjfuOfBkcWTn3qjTGbYGSF9CVmLmoXp5mvxDJ/bQuExregH735O3uWUJwkU/KV/V3U 0KUIJe3VMQyjk/PMiHRoT6viIh8ffVPmasuBR/GwhXeDRBKSF+nI95wL74F7L1uQMiEw Q/vyk+v5ygK11gZHpGqtB0h22kbDSrjPZ9AGr9uijJkZ+7jvUMTlH2NJNyK482vo3YQW l07g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=nM/K/KxD0JXH4TFtkmiHgDMm1Xjyc/06jcdhQFzsM0s=; b=PDGPKQfxD86jPAUWFL/r7VcyhmGbNE5lD64//VLWs9YtJ4W9D0BIga8+uJ8CFCPqcu nOkfs5j6HGUgDq7Rbmff8IhjW1bJ/s5wMY5Tp/ytMXsqUuXMq39ZfAiNlBdZjaxy90tY QyBjTogOKu9C9nhi38RXXYFGcuLV/Zu+WfQYaEOxqofK5ML83BROxV3FX4SSSWMmoS89 21JtAdHupOlB+3hX8Umt13eYKxAFn+dDu0/ud91nMeH7KRL/k9mwMsmOY3xByg/4Tkoz eRJ62ZOq3Z/SlY51G3B1nwfftTs21YogJ+Q1b71heRVBLLejmpUXtqp1D35Hp8dD8Alr Nnjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YuPz9BDe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o7si8839079otk.185.2020.03.15.20.43.09; Sun, 15 Mar 2020 20:43:22 -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; dkim=pass header.i=@kernel.org header.s=default header.b=YuPz9BDe; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729583AbgCPDIA (ORCPT + 99 others); Sun, 15 Mar 2020 23:08:00 -0400 Received: from mail.kernel.org ([198.145.29.99]:51988 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729384AbgCPDIA (ORCPT ); Sun, 15 Mar 2020 23:08:00 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B83B420409; Mon, 16 Mar 2020 03:07:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584328079; bh=Ta/7YQGMbWyIGTwkBfx9j6N2DjoHmcD3pjam5ZHomYo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YuPz9BDeEmfsDued5suhi+F0CzjEaeD6rv51BFRYQ1JaiZD34V1qqxHrXeYsPG8zj XJXVKJ1sBrjUt3Ir53ZsoMrcqk/HSbkX4EXZp3wKxeD2iUNhqlSKLac+Dt3aXcpzLA Kjjwq/qCLJvbt4xwZRgKKwRuuvh3evpEwRSh3zWY= Date: Mon, 16 Mar 2020 11:07:45 +0800 From: Shawn Guo To: Peng Fan Cc: Anson Huang , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "dmitry.torokhov@gmail.com" , "a.zummo@towertech.it" , "alexandre.belloni@bootlin.com" , "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: <20200316030744.GC17221@dragon> References: <1583714300-19085-1-git-send-email-Anson.Huang@nxp.com> <20200316005219.GD17221@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 16, 2020 at 02:51:47AM +0000, Peng Fan wrote: > Hi Shawn, > > > Subject: Re: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU > > case > > > > On Mon, Mar 09, 2020 at 01:40:18PM +0000, Peng Fan wrote: > > > > Subject: [PATCH V3 1/7] firmware: imx: Add stubs for !CONFIG_IMX_SCU > > > > case > > > > > > I have one patch pending reviewing. > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc > > > > > hwork.kernel.org%2Fpatch%2F11395247%2F&data=02%7C01%7Cpeng.f > > an%40n > > > > > xp.com%7C995815002e2b490791e008d7c9445133%7C686ea1d3bc2b4c6fa9 > > 2cd99c5c > > > > > 301635%7C0%7C0%7C637199167574579419&sdata=RM4Mtwl8LZ3ft9 > > 3uL3FQPcHT > > > 9lPHSqBOgugozkcLvag%3D&reserved=0 > > > > I dropped that patch from my queue and picked patch #2 from this series as > > the favor. > > I think dropping that patch might cause Linux-next build fail as previously showed, > because IMX_SCU_SOC depends on COMPILE_TEST. If you drop that patch, > also need to drop COMPILE_TEST from IMX_SCU_SOC. > > ld: drivers/soc/imx/soc-imx-scu.o: in function `.imx_scu_soc_probe': > soc-imx-scu.c:(.text.imx_scu_soc_probe+0x44): undefined reference to > `.imx_scu_get_handle' > ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x134): undefined reference > to `.imx_scu_call_rpc' > ld: soc-imx-scu.c:(.text.imx_scu_soc_probe+0x20c): undefined reference > to `.imx_scu_call_rpc' > > Caused by commit > > 68c189e3a93c ("soc: imx: increase build coverage for imx8m soc > driver") > > What do you prefer? I personally think dummy functions would be good. I would rather drop COMPILE_TEST from IMX_SCU_SOC. Could you send a patch for that shortly? Shawn