Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2655158ybh; Mon, 9 Mar 2020 10:12:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsYMw5aaEwc8M/j3aodiyOqtj56zOuxkJp2arR3GOjf58DknFQspWQf0gCQdio7T3krtM92 X-Received: by 2002:aca:ed54:: with SMTP id l81mr9974oih.69.1583773969257; Mon, 09 Mar 2020 10:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583773969; cv=none; d=google.com; s=arc-20160816; b=VovybSvl2mNUv0yMJb8UqvY7zlv2ZTvBlv4YKrwGX/HjJXVFAhlFD3LWadbTYD/+qH HB4BhzH1VPCpyvJd6iLeUpOpGlk4zLEJ7X4VoK28aT4bEIDKMkLAzqqdXkFWLzXU0jeU EMBgU0hhpCCrkoEbUxihAajKgMUvbWZrw5M3j7XgCqdxpbqlE8vgS9w4bfRtDW1wnoIU 5LKR2TWN1ekoLneV/w8gk72bVfSPEjMeiGiXcyT4zF12rF0zpVV6LlBcLFDyKzcqm45b i+ORGEw7hhvXU1sNGn9BVwdmis9gNBp2hBD+rkBZcJzjY4asnZiaSKb+9ZkJHgxWxVW1 AErw== 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=Al2h1TKzjElXxyKh+YkzrPKu9p09cB83uwPh3UYud7c=; b=h8x1BEQ0cP5yylutlxiA6Vr5NPVFGxNk3SEILO6TY7ZHYw0k1NUE0uJPAp7Rk188Uo bwRETtMKEnE6YDIvFieRfccevrjL8MSdXqm7sKPlG3j3g6iC2HRpJJbRH5MwZP5HBAFz ATs3HqTXAeojpkex/gQVAVHht59XE7uGjjmwadPUXBqnEl0JrrlsPB88TDSKNhQa7IH/ Fbi9NAZTNmW2f6mFlN55P+ADZUMnHrr1pcFkKbC1PSms0QlARmJpjU+0srlwUYKt+yRi /r2FGuWR5cUuLO9FHkreyvVr2tjFelH2tj3JBaKJGP3Q/46VfIhr6BERhDTEJCvssKNF 5FrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=NMZz5MsM; 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 l136si1146494oib.277.2020.03.09.10.12.34; Mon, 09 Mar 2020 10:12:49 -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=fail header.i=@gmail.com header.s=20161025 header.b=NMZz5MsM; 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 S1727303AbgCIRKR (ORCPT + 99 others); Mon, 9 Mar 2020 13:10:17 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:42043 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbgCIRKQ (ORCPT ); Mon, 9 Mar 2020 13:10:16 -0400 Received: by mail-pf1-f195.google.com with SMTP id f5so5095572pfk.9; Mon, 09 Mar 2020 10:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Al2h1TKzjElXxyKh+YkzrPKu9p09cB83uwPh3UYud7c=; b=NMZz5MsMd3OBckUoOvFxZ2Pg5drge6zfoiRvulGzqFKaFpXvhjE4hgjKmghazwuC5a O2gS54bNl4dSb29oUemufHlBmC6yOiwH/JI/JLOzr0QupydVU4ersjPgkpPTf1pTER0Y znH49FPr7b3NBlFPqcsOkhB3S5JPnszP7eNTa3NxdeWmBmF4lWUxH4nKmI6ivew7l9d8 uZZoKOZhYWbaQZIwlkLtSoRadzCNMFDbfPZ4qxGxAvJrBLiQfWyPBJGEWCmRPEPmui83 Br1tQKj8INp7mtLaSW1TC7zL6pJrbZ3eIibc3MDv56ojXUyegm/3wSKoDT6maLMEIBOy QxDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Al2h1TKzjElXxyKh+YkzrPKu9p09cB83uwPh3UYud7c=; b=Ucq4KR+TWXePEzcZztY55vwRcuI8TjOc5h7fjH5dJ1bLPuifwu6b0lfqu+88tDJYA+ Bnri/NgBKbYhhC/PRFlDWzk4qh4BFqkEQXr/N+D+RDfRiNGfl26Rt7ayCdYIu6LE3jyH s6Ap765lne7utQCHqaSn6IOeLPMIb3LU83zeCdmxAoOkfCjer1N9L8+4uy8kTgiBJwI/ 72PmySThIIZeYZS/3EyGK4WxvtTAwf/dduBGeRCghmwNs+9kah2G3Ua5JuobXOyXagl/ Izxzd/MzwjJL4TudlKxZUzj6x8IE8aHMN6jn8//JEwDkDCAhldX0UjV2V9J4MynYFPR9 pBJw== X-Gm-Message-State: ANhLgQ2b9YdfszWqDRS08rUf2ITIkKsNHYPJv6z5rQ5xzhK21X0NwyHC S+skHHqrTF5OelkHSw6MJ78= X-Received: by 2002:a63:30c2:: with SMTP id w185mr17913850pgw.307.1583773814751; Mon, 09 Mar 2020 10:10:14 -0700 (PDT) Received: from localhost ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id m68sm147089pjb.0.2020.03.09.10.10.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 09 Mar 2020 10:10:13 -0700 (PDT) Date: Mon, 9 Mar 2020 10:10:12 -0700 From: Guenter Roeck To: Alexandre Belloni 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: <20200309171012.GA24802@roeck-us.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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200309164705.GG3563@piout.net> 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 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. Guenter