Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp660111imu; Thu, 13 Dec 2018 02:10:27 -0800 (PST) X-Google-Smtp-Source: AFSGD/XV4HQMJ+YcV3+slKrfXbQ4noG+AcZiPq8dz3IwvvQ5WRMwkUMw8bVQWLMLSyGXhh1r78F3 X-Received: by 2002:a62:e201:: with SMTP id a1mr22956819pfi.75.1544695826969; Thu, 13 Dec 2018 02:10:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544695826; cv=none; d=google.com; s=arc-20160816; b=ZQRKbS/MNyrz6cUyRnrike96y3ZUj08azQoCHfcauFh522gaxcsG8c+7YUCDFIc6Rz ChqRYuUUp40xOk1by88q8TX2Npb09iMN8148/LU8XexytkMG8A3EojPuWxvaLUcehc+M XdOjx5jjAKvxowegIsFXvxfntbtpzth1ahojDhxTFKkGNkL0E+hnxwXeG7p8+F1K+yah UHIsL0aNrmGeDnhRtvtl2lnumcOvYVduFYMaa6foMc4uPX1mmUfniH2SPS12f2N71XrQ Je0HyS/vXVQIFf/hU60WEliyGaKP2UOEYye25CoMGBmuncAC0u5mL9lj0f/hUsk5+1eB z52w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:cc:user-agent:from:message-id :references:to:subject:in-reply-to:content-transfer-encoding :mime-version:dkim-signature; bh=RCb5g1ryIEqUMVkvnlJbC6/eT2tckLJ9Jf+oJ0iTv9k=; b=qZVLxKpcCwndHC3BVkpmUD06val2jcGj3XJey3eKp+wyzAIyHKpfRkx8r74bo/Nv4f oWlpDYmmAW1ewuoY779WZkKTXTEkdgEs/3dxprSwioqX6NP8MAPQLm7jrFmIk1c+092n HCYtuXi/iasihxKDeFI4TsqfxjnFhaRqZoaxGEvBQmrvXA1pgw8PSzfN9kpa0U1G/RJI WYbnehnrDxz4Cfzo5eKqj6lDDI15eIfSxmKJOPCh66KCK9BIrNIjW+/950OWBSIYb4YF 4vMjnbgRqCzyRRof5sCxPJpoWGc4aW6G754FeZbeyZpX1bPpNgvCtoXG5y0QmZ0fyShL nW1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=iywQkorT; 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 g22si1445429pfj.222.2018.12.13.02.10.12; Thu, 13 Dec 2018 02:10:26 -0800 (PST) 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=iywQkorT; 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 S1728168AbeLMKJD (ORCPT + 99 others); Thu, 13 Dec 2018 05:09:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:36696 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727489AbeLMKJD (ORCPT ); Thu, 13 Dec 2018 05:09:03 -0500 Received: from localhost (unknown [104.132.0.74]) (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 717F220873; Thu, 13 Dec 2018 10:09:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544695742; bh=4KZrYhuv+BjbMc4+Wo/IAXPh9npge/nL0CZtitRKs78=; h=In-Reply-To:Subject:To:References:From:Cc:Date:From; b=iywQkorT9MeT61z77QAQlQEWGa+ZYpN5Av7KorPB9jsk2jjmCyZ6i2mfMqpRfivey ppV5sdasybAt2sYaC7v6EiE7RoyTSDxDjcghsoDEHZ1eaebyvSTR57ilS3f9TvbdUo Q7FFGSIygMytYrVmFLkD0H23UUso+UmnpmaIm+TY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <1544694374-21231-1-git-send-email-jonathanh@nvidia.com> Subject: Re: [PATCH] soc/tegra: pmc: Drop SMP dependency from CPU APIs To: Arnd Bergmann , Jon Hunter , Thierry Reding References: <1544694374-21231-1-git-send-email-jonathanh@nvidia.com> Message-ID: <154469574166.19322.12426804406101736786@swboyd.mtv.corp.google.com> From: Stephen Boyd User-Agent: alot/0.8 Cc: linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Jon Hunter Date: Thu, 13 Dec 2018 02:09:01 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Jon Hunter (2018-12-13 01:46:14) > When CONFIG_SMP is disabled, the tegra clk driver now fails to build: >=20 > drivers/clk/tegra/clk-tegra30.c: In function =E2=80=98tegra30_cpu_rail_of= f_ready=E2=80=99: > drivers/clk/tegra/clk-tegra30.c:1151:2: error: implicit declaration of fu= nction =E2=80=98tegra_pmc_cpu_is_powered=E2=80=99 [-Werror=3Dimplicit-funct= ion-declaration] > cpu_pwr_status =3D tegra_pmc_cpu_is_powered(1) || > ^ > Fix the above error by removing the CONFIG_SMP ifdef around the > declaration around the PMC CPU APIs because although these are not > needed for non-SMP configurations, there is no harm in including these > for non-SMP builds either. >=20 > Fixes: 61866523ed6e ("clk: tegra30: Use Tegra CPU powergate helper functi= on") > Reported-by: Arnd Bergmann > Signed-off-by: Jon Hunter Can I pick this into clk tree? That would make the compilation bisection hole very small. I could even reorder the clk-tegra branch to have this before the user so the bisection hole doesn't exist.