All of lore.kernel.org
 help / color / mirror / Atom feed
From: horms@verge.net.au (Simon Horman)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 4/5] arm: fix up ARM_ARCH_TIMER selects
Date: Thu, 16 May 2013 09:07:04 +0900	[thread overview]
Message-ID: <20130516000704.GF27876@verge.net.au> (raw)
In-Reply-To: <1368631441-28434-5-git-send-email-mark.rutland@arm.com>

On Wed, May 15, 2013 at 04:24:00PM +0100, Mark Rutland wrote:
> In 8a4da6e: "arm: arch_timer: move core to drivers/clocksource", the
> selection of ARM_ARCH_TIMER was indirected via HAVE_ARM_ARCH_TIMER,
> though mach-exynos's selection of ARM_ARCH_TIMER was missed, and since
> then mach-shmobile, mach-tegra, and mach-virt have begun selecting
> ARM_ARCH_TIMER. This can lead to architected timer support erroneously
> appearing to not be selected in menuconfig.
> 
> This patch fixes up the Kconfigs for those platforms to select
> HAVE_ARM_ARCH_TIMER.
> 
> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
> Acked-by: Stephen Warren <swarren@nvidia.com>
> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
> Cc: Kukjin Kim <kgene.kim@samsung.com>
> Cc: Marc Zyngier <marc.zyngier@arm.com>
> Cc: Simon Horman <horms@verge.net.au>
> ---
>  arch/arm/mach-exynos/Kconfig   | 2 +-
>  arch/arm/mach-shmobile/Kconfig | 4 ++--
>  arch/arm/mach-tegra/Kconfig    | 2 +-
>  arch/arm/mach-virt/Kconfig     | 2 +-
>  4 files changed, 5 insertions(+), 5 deletions(-)

arch/arm/mach-shmobile/Kconfig portion:

Acked-by: Simon Horman <horms+renesas@verge.net.au>

> 
> diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig
> index d19edff..3c3f36a 100644
> --- a/arch/arm/mach-exynos/Kconfig
> +++ b/arch/arm/mach-exynos/Kconfig
> @@ -76,7 +76,7 @@ config SOC_EXYNOS5440
>  	default y
>  	depends on ARCH_EXYNOS5
>  	select ARCH_HAS_OPP
> -	select ARM_ARCH_TIMER
> +	select HAVE_ARM_ARCH_TIMER
>  	select AUTO_ZRELADDR
>  	select PINCTRL
>  	select PINCTRL_EXYNOS5440
> diff --git a/arch/arm/mach-shmobile/Kconfig b/arch/arm/mach-shmobile/Kconfig
> index 1a517e2..767a6c3 100644
> --- a/arch/arm/mach-shmobile/Kconfig
> +++ b/arch/arm/mach-shmobile/Kconfig
> @@ -23,7 +23,7 @@ config ARCH_R8A73A4
>  	select ARCH_WANT_OPTIONAL_GPIOLIB
>  	select ARM_GIC
>  	select CPU_V7
> -	select ARM_ARCH_TIMER
> +	select HAVE_ARM_ARCH_TIMER
>  	select SH_CLK_CPG
>  	select RENESAS_IRQC
>  
> @@ -56,7 +56,7 @@ config ARCH_R8A7790
>  	select ARCH_WANT_OPTIONAL_GPIOLIB
>  	select ARM_GIC
>  	select CPU_V7
> -	select ARM_ARCH_TIMER
> +	select HAVE_ARM_ARCH_TIMER
>  	select SH_CLK_CPG
>  	select RENESAS_IRQC
>  
> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> index 84d72fc..65c5ae6 100644
> --- a/arch/arm/mach-tegra/Kconfig
> +++ b/arch/arm/mach-tegra/Kconfig
> @@ -60,7 +60,7 @@ config ARCH_TEGRA_3x_SOC
>  
>  config ARCH_TEGRA_114_SOC
>  	bool "Enable support for Tegra114 family"
> -	select ARM_ARCH_TIMER
> +	select HAVE_ARM_ARCH_TIMER
>  	select ARM_GIC
>  	select ARM_L1_CACHE_SHIFT_6
>  	select CPU_FREQ_TABLE if CPU_FREQ
> diff --git a/arch/arm/mach-virt/Kconfig b/arch/arm/mach-virt/Kconfig
> index 8958f0d..081d469 100644
> --- a/arch/arm/mach-virt/Kconfig
> +++ b/arch/arm/mach-virt/Kconfig
> @@ -2,7 +2,7 @@ config ARCH_VIRT
>  	bool "Dummy Virtual Machine" if ARCH_MULTI_V7
>  	select ARCH_WANT_OPTIONAL_GPIOLIB
>  	select ARM_GIC
> -	select ARM_ARCH_TIMER
> +	select HAVE_ARM_ARCH_TIMER
>  	select ARM_PSCI
>  	select HAVE_SMP
>  	select CPU_V7
> -- 
> 1.8.1.1
> 

  reply	other threads:[~2013-05-16  0:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-15 15:23 [PATCHv2 0/5] arm: arch_timer cleanups and niceties Mark Rutland
2013-05-15 15:23 ` [PATCHv2 1/5] ARM: hyp: initialize CNTVOFF to zero Mark Rutland
2013-05-15 15:23 ` [PATCHv2 2/5] ARM: KVM: arch_timers: zero CNTVOFF upon return to host Mark Rutland
2013-05-15 15:23 ` [PATCHv2 3/5] clocksource: arch_timer: use virtual counters Mark Rutland
2013-05-20 19:48   ` Christopher Covington
2013-05-15 15:24 ` [PATCHv2 4/5] arm: fix up ARM_ARCH_TIMER selects Mark Rutland
2013-05-16  0:07   ` Simon Horman [this message]
2013-05-15 15:24 ` [PATCHv2 5/5] ARM: arch_timer: stop virtual timer when booted in HYP mode Mark Rutland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130516000704.GF27876@verge.net.au \
    --to=horms@verge.net.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.