Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3853233ybl; Mon, 13 Jan 2020 03:52:17 -0800 (PST) X-Google-Smtp-Source: APXvYqzyVr6G8gweNC/hU8vJy09BWCa9Ge38Z6wS0GrjSmlDFSfVkgkSeIkEIjipUEVkXOXqNWPN X-Received: by 2002:a05:6830:1481:: with SMTP id s1mr12891232otq.66.1578916337559; Mon, 13 Jan 2020 03:52:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578916337; cv=none; d=google.com; s=arc-20160816; b=WUyJx1vPEkVH+JAp6opgnbGJN41x4OnswKJ7qpopxX3S4YHvnS8eVdVjJnYPMGKLUN Ozniy7v3v2qPENdMqldkLvAiKwF1FxAfkGgysNSK6RW0q2WvSgEqZBSSXt0n99vKejsk iMa7T2PSu/DgD/6ncJN4SvLqrB6oiasMuJzfuhf3gDys0kefyt0ML9T9OUJSeIZR5grQ sXU2CAmArD6wRQoV5Fjru9lNWYY0K2BTzK93YvsnXqt9DZnnGts7oEfF8HzA6HGBehSb 8HH/KIrgRiUMqZJXSpqsFSh5JvuVn14PQO/Cb021dj79UlS9ecXtAG0t6C9X9M9xmEDA 1/NQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=hoX2SbLxNZLutMBCxHPy7ef/k6/3Nen3Sy/5ISQmC/Q=; b=dpSIo4egg82c9rN4RYanFm4tFDcnaVw9s3G0MZsUfjEuKAQ8VO+7bhgDOQZEzsQoez adAtJtjFb86VLOD1KW4TB9JaPmWZBr51oRx3jc95G/kP9MadObeyNx6OGFxHQQdqexR7 HVzwf7eDUpILXSsbCvW1Vi7UpQb4XM97k3iPOL67rHC9ZrpFS/fSvMoG4JqVHJjGE9+5 iVoEIqPgj1rM/Aqjd5O7KnwIyb/s8Fd5JzvDTU4jUth6l3wwHdjOXf5Wssy9mpBZEn9r 8EBu2c4PeQrhRRa7sekxObIeLZzj9ANjxQtDpUlu/er1Nh7SrOD4M27tDjQAD8qk87CH IVgQ== ARC-Authentication-Results: i=1; mx.google.com; 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 l186si5632398oib.226.2020.01.13.03.52.04; Mon, 13 Jan 2020 03:52:17 -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; 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 S1727014AbgAMLvP (ORCPT + 99 others); Mon, 13 Jan 2020 06:51:15 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:58142 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbgAMLvO (ORCPT ); Mon, 13 Jan 2020 06:51:14 -0500 Received: from 79.184.255.90.ipv4.supernova.orange.pl (79.184.255.90) (HELO kreacher.localnet) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.320) id e837cbaf30ffdffb; Mon, 13 Jan 2020 12:51:12 +0100 From: "Rafael J. Wysocki" To: Krzysztof Kozlowski , Daniel Lezcano Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Nicolas Ferre , Alexandre Belloni , Lorenzo Pieralisi , Bartlomiej Zolnierkiewicz , Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH] cpuidle: arm: Enable compile testing for some of drivers Date: Mon, 13 Jan 2020 12:51:12 +0100 Message-ID: <112783298.KOQPr5xTch@kreacher> In-Reply-To: <20191229180912.17100-2-krzk@kernel.org> References: <20191229180912.17100-1-krzk@kernel.org> <20191229180912.17100-2-krzk@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sunday, December 29, 2019 7:09:12 PM CET Krzysztof Kozlowski wrote: > 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. > Daniel, any concerns regarding this one?