Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13365618ybl; Sun, 29 Dec 2019 10:10:38 -0800 (PST) X-Google-Smtp-Source: APXvYqwsQB0ZVcHE13SxdCfM+X5NkISPtvuMI+iHTQ+to5rfUU9spsLsZUmZIHcJvUaRc6RM3LVa X-Received: by 2002:a9d:32c7:: with SMTP id u65mr51426739otb.224.1577643038272; Sun, 29 Dec 2019 10:10:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577643038; cv=none; d=google.com; s=arc-20160816; b=RxT/xfWwcplbOFNCOgWLkMLyG+BkIC1ssb3pCvStvh1/68KJJC21B3T3LJvzpMyycB D2nloZlnktxNdHorXEOUIdNeUn5dda2732SxrMfRR9HPPH22gLU1pEdusbslYaI3O6/Z V19djNoFPGIIpNwyxdXIfMK3W0RRNMxaPgZKlqhLLXvOWqpdNFPjmyq9FDfViUUJJAFT JzCl9XS7Oqkciknw8rQmyDcFzChHJ6PsLaL1G3pThiBB3w0niaP8NuUIkKtttSyIjEwt HNe/IESjHyCUp2kznfftc6FxXYMcMU5Pu4cqlKTKmqO0H0lSO1CAkFzHs3O63QZINJ7t i9Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=6w2cAER3Qk/fUnPYer32Xh7jEw/rRFDlUorv6vvwFGg=; b=0x/e56uffcR1EhBEZRrPGI2ZHu/MNT5BiXpQaKdwFKtyjp6UbYIrIBypyM5JpmpwGT Z7vkC8hx20Ky+6yL45MPNTmHer4kbm682kh91M775w9AhDWiloqTxV5Hv3jc9pqYNmK/ pv21QtyfGWQx5pt79iI2x4qFkYSMKy/OzeeYuWnEFqzvca5HpFYenlREE8hci8Ulth0D AwJ4k2DRKTN7KuQSGPcaYTwvtjO1rIQE4nLt4mQrwCqtY6ingznPs802P2CGyoP2tMFQ 3jNuRxPmCGn3UHmAR+AxWtN2k+azT59lKQBzfCzm7o/J1fZBd+lH+fwdHDkOVaBPEIZC yyIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uMgwPoib; 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 x24si20541353oto.255.2019.12.29.10.10.27; Sun, 29 Dec 2019 10:10:38 -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=uMgwPoib; 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 S1732681AbfL2SJ3 (ORCPT + 99 others); Sun, 29 Dec 2019 13:09:29 -0500 Received: from mail.kernel.org ([198.145.29.99]:33896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731365AbfL2SJ1 (ORCPT ); Sun, 29 Dec 2019 13:09:27 -0500 Received: from localhost.localdomain (unknown [194.230.155.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 70560222C2; Sun, 29 Dec 2019 18:09:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577642966; bh=+YBS7n7jqJ53S6HvX93BfgZRfoAttIJ+SIElGBLSgqM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uMgwPoibTPvXMuBnLasQwLeJludmN8WbGDEYxBWxxnh0U6rfIf1l/FTZyhAcMB23c kDdi/LXORjlV7nRi8wYZhjc3QkRJzJn2u5rEXoEN3hGw07unFOx4hpQDUtK56XXsnb B+2XHtCEwb47/eSsX21hJrZ+L/Q0LdGjKxpIZxh8= From: Krzysztof Kozlowski To: "Rafael J. Wysocki" , Daniel Lezcano , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Ferre , Alexandre Belloni , Lorenzo Pieralisi , Bartlomiej Zolnierkiewicz , Sudeep Holla Cc: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH] cpuidle: arm: Enable compile testing for some of drivers Date: Sun, 29 Dec 2019 19:09:12 +0100 Message-Id: <20191229180912.17100-2-krzk@kernel.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191229180912.17100-1-krzk@kernel.org> References: <20191229180912.17100-1-krzk@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some of cpuidle drivers for ARMv7 can be compile tested on this architecture because they do not depend on mach-specific bits. Enable compile testing for big.LITTLE, Kirkwood, Zynq, AT91, Exynos and mvebu cpuidle drivers. Signed-off-by: Krzysztof Kozlowski --- drivers/cpuidle/Kconfig.arm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/cpuidle/Kconfig.arm b/drivers/cpuidle/Kconfig.arm index a224d33dda7f..62272ecfa771 100644 --- a/drivers/cpuidle/Kconfig.arm +++ b/drivers/cpuidle/Kconfig.arm @@ -25,7 +25,7 @@ config ARM_PSCI_CPUIDLE config ARM_BIG_LITTLE_CPUIDLE bool "Support for ARM big.LITTLE processors" - depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS + depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS || COMPILE_TEST depends on MCPM && !ARM64 select ARM_CPU_SUSPEND select CPU_IDLE_MULTIPLE_DRIVERS @@ -51,13 +51,13 @@ config ARM_HIGHBANK_CPUIDLE config ARM_KIRKWOOD_CPUIDLE bool "CPU Idle Driver for Marvell Kirkwood SoCs" - depends on MACH_KIRKWOOD && !ARM64 + depends on (MACH_KIRKWOOD || COMPILE_TEST) && !ARM64 help This adds the CPU Idle driver for Marvell Kirkwood SoCs. config ARM_ZYNQ_CPUIDLE bool "CPU Idle Driver for Xilinx Zynq processors" - depends on ARCH_ZYNQ && !ARM64 + depends on (ARCH_ZYNQ || COMPILE_TEST) && !ARM64 help Select this to enable cpuidle on Xilinx Zynq processors. @@ -70,19 +70,19 @@ config ARM_U8500_CPUIDLE config ARM_AT91_CPUIDLE bool "Cpu Idle Driver for the AT91 processors" default y - depends on ARCH_AT91 && !ARM64 + depends on (ARCH_AT91 || COMPILE_TEST) && !ARM64 help Select this to enable cpuidle for AT91 processors. config ARM_EXYNOS_CPUIDLE bool "Cpu Idle Driver for the Exynos processors" - depends on ARCH_EXYNOS && !ARM64 + depends on (ARCH_EXYNOS || COMPILE_TEST) && !ARM64 select ARCH_NEEDS_CPU_IDLE_COUPLED if SMP help Select this to enable cpuidle for Exynos processors. config ARM_MVEBU_V7_CPUIDLE bool "CPU Idle Driver for mvebu v7 family processors" - depends on ARCH_MVEBU && !ARM64 + depends on (ARCH_MVEBU || COMPILE_TEST) && !ARM64 help Select this to enable cpuidle on Armada 370, 38x and XP processors. -- 2.17.1