Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1243867imu; Thu, 13 Dec 2018 11:43:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wbc5shxI+1KjBI3XKjs+l7EuieM7uSlIvw3qzvwYCKyhdQuMMp4VKa+Z/uI0VAAJCb4XoP X-Received: by 2002:a65:6684:: with SMTP id b4mr92239pgw.55.1544730196381; Thu, 13 Dec 2018 11:43:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544730196; cv=none; d=google.com; s=arc-20160816; b=F4f3GvCtOQWGJHiGw2JGQ3UBgOLgfchhT7FCQuktEwm86xS8bS6Q5vQmPjiBcfu4gE Wxy/aKqQjy0lVcBw4m2rB2+CMwdLbBARTj5exeYuG0OLsJ5Oy3wgcjx4bLH2U4CIkKXo nhWueYnl4Uj9vK9KMiV0mO+n7gWKZvLp+OIZRDQp1tnMLW7aiHhPeHfskSFjUq76nWmW 93HoVE4cguESd+YaGsuuOy6/MecPNeMZOenv9C13v75+damjE4urWLLE1lZvv1vuCmWF JNh5P+6dH9NN6ocBQYAG8cCZFQuJho8xmHtiUU6s6EVJN1mbDIaCGNATG7+taKA7jP+x DyFA== 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=VA9wUhG3WFcdNH1PyBogaCMUFRUHjcGNbQyWZFnFAzY=; b=a2A69FR1g1KyS/3xJgjdDJzqwQVL0iJtQfcfRikq4n2zASjbz1K5bK7RmUdFornqpo OvNUlpBHMEs/KtobGEX64JKOt4LiruGBb7TZ//MVu0WAm50JwRR3DcB7ulpAm7wcUFCX EcZKtnGWeOx5lvZAP+bl6fqZ/6NSRXfsj4sMhJ92CfkEj9e/ONQOlc2uIs8i9ZAWB381 bCV1HMZsZy5X8PacnCK5Ppk4RJMdyjRT73GwCoUh0nW/kgCCNWo2/AAczlFV2+v9cC4J 3b6HEN7UEYZCiHytGdj0rAFfyzD6+L7S6yfdyKCTjdFkpiMR/NJMlw4cC6HzIL1cMEwv dz/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uLAXStnL; 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 5si2249700plx.391.2018.12.13.11.43.01; Thu, 13 Dec 2018 11:43:16 -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=uLAXStnL; 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 S1728774AbeLMTll (ORCPT + 99 others); Thu, 13 Dec 2018 14:41:41 -0500 Received: from mail.kernel.org ([198.145.29.99]:59548 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728368AbeLMTll (ORCPT ); Thu, 13 Dec 2018 14:41:41 -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 75E582086D; Thu, 13 Dec 2018 19:41:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544730100; bh=nLmhhOidzO6lg+xbApmuZDdtiXnVp8VFIXqT/N5kF2M=; h=In-Reply-To:Subject:To:References:From:Cc:Date:From; b=uLAXStnLOabSIfW5Cms5tLz7wzivlZgukBei+M3kLNLUbxr6/iqKv7zJc16hxQGq7 17jJp3XGIx/NzXSZGmVKHnFGzk8OGytz1WHTa8ycnQMyQZT6vGBErg+JEr4Ldj5Loh 9PbkBZIdQCBBgV/+hmEXJCXII7PFQBbybPHHjELY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20181213160746.GA13531@ulmo> Subject: Re: [PATCH] soc/tegra: pmc: Drop SMP dependency from CPU APIs To: Thierry Reding References: <1544694374-21231-1-git-send-email-jonathanh@nvidia.com> <154469574166.19322.12426804406101736786@swboyd.mtv.corp.google.com> <20181213160746.GA13531@ulmo> Message-ID: <154473009969.19322.6318653154876468527@swboyd.mtv.corp.google.com> From: Stephen Boyd User-Agent: alot/0.8 Cc: Arnd Bergmann , Jon Hunter , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 13 Dec 2018 11:41:39 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Thierry Reding (2018-12-13 08:07:46) > On Thu, Dec 13, 2018 at 02:09:01AM -0800, Stephen Boyd wrote: > > 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_rai= l_off_ready=E2=80=99: > > > drivers/clk/tegra/clk-tegra30.c:1151:2: error: implicit declaration o= f function =E2=80=98tegra_pmc_cpu_is_powered=E2=80=99 [-Werror=3Dimplicit-f= unction-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 fu= nction") > > > Reported-by: Arnd Bergmann > > > Signed-off-by: Jon Hunter > >=20 > > 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. >=20 > Fine with me: >=20 > Acked-by: Thierry Reding Ok thanks. I'll reorder things soon, but for now I'll just pick this atop the tegra branch and merge it up to next.