From patchwork Tue May 24 15:57:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 575901 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8ECBC433F5 for ; Tue, 24 May 2022 15:57:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233885AbiEXP5o (ORCPT ); Tue, 24 May 2022 11:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232287AbiEXP5n (ORCPT ); Tue, 24 May 2022 11:57:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75D5D986D7; Tue, 24 May 2022 08:57:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:In-Reply-To:References; bh=B8XT5WxddcuyBOpLYerWnhTOFuVD+zv031mAdqT881Y=; b=qnN3we4WI+oi/EwyaNHt8O2sCV kHYyoy78xzATv6nYHAqOJz/lRBrRGh+1vbn83L7gWzIjQSWbwCV/v2v/H3O7IGkCOld/JYiecMtZa LbK9ZWRWW3LcV+1WCu41UfNAS1tHHLEnaaFHDFiqGjgxI2J4dRe5+TsF+J8FFiiGFYoweeRdT5mVp IYg8KuwK63VGm1bc2oSCsRRVpqmbKyTCtJYr5QtQ8UiR1U3j+A+pvK14wXcaVJpac/59NLvrmHDvk 6E+iZTW54PPVI4M4+6TvGDKQpGFR8U4wRZUVbBR4thmFIdqZahF66ENjamuDwN2UtLWdP2cJWGqQq Z19JrGAA==; Received: from [2601:1c0:6280:3f0::aa0b] (helo=casper.infradead.org) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntWug-00HEa4-Ux; Tue, 24 May 2022 15:57:39 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , "Rafael J. Wysocki" , Daniel Lezcano , linux-pm@vger.kernel.org, Dmitry Osipenko , Thierry Reding Subject: [PATCH] cpuidle: tegra: honor ARCH_SUSPEND_POSSIBLE Date: Tue, 24 May 2022 08:57:33 -0700 Message-Id: <20220524155733.28262-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org When ARCH_SUSPEND_POSSIBLE is not enabled, selecting ARM_CPU_SUSPEND causes a Kconfig warning, so make ARM_TEGRA_CPUIDLE depend on ARCH_SUSPEND_POSSIBLE to prevent that warning. WARNING: unmet direct dependencies detected for ARM_CPU_SUSPEND Depends on [n]: ARCH_SUSPEND_POSSIBLE [=n] Selected by [y]: - ARM_TEGRA_CPUIDLE [=y] && CPU_IDLE [=y] && (ARM [=y] || ARM64) && (ARCH_TEGRA [=n] || COMPILE_TEST [=y]) && !ARM64 && MMU [=y] Fixes: 860fbde438dc ("cpuidle: Refactor and move out NVIDIA Tegra20 driver into drivers/cpuidle") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano Cc: linux-pm@vger.kernel.org Cc: Dmitry Osipenko Cc: Thierry Reding --- drivers/cpuidle/Kconfig.arm | 1 + 1 file changed, 1 insertion(+) --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -100,6 +100,7 @@ config ARM_MVEBU_V7_CPUIDLE config ARM_TEGRA_CPUIDLE bool "CPU Idle Driver for NVIDIA Tegra SoCs" + depends on ARCH_SUSPEND_POSSIBLE depends on (ARCH_TEGRA || COMPILE_TEST) && !ARM64 && MMU select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP select ARM_CPU_SUSPEND