public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Support for ARM architected timer event stream generation on x86
@ 2013-11-20 19:21 Pavel Machek
  2013-11-20 20:02 ` [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM Stephen Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2013-11-20 19:21 UTC (permalink / raw)
  To: kernel list, daniel.lezcano, will.deacon, catalin.marinas, olof,
	sudeep.karkadanagesha

Hi!

On x86, I get asked if I want to support arm architectured
timer. That's not exactly clever question... right?

I'd say it is from this merge... please fix.
								Pavel

commit 191124efb4d6e5e47fe073b4b97350873523e88c
Merge: 68e9074 346e748
Author: Daniel Lezcano <daniel.lezcano@linaro.org>
Date:   Thu Oct 3 16:13:51 2013 +0200

    Merge branch 'timer_evtstrm' of git://linux-arm.org/linux-skn into
    clockevents/3.13
    


-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM
  2013-11-20 19:21 Support for ARM architected timer event stream generation on x86 Pavel Machek
@ 2013-11-20 20:02 ` Stephen Boyd
  2013-11-20 21:09   ` Pavel Machek
  2013-11-21  9:20   ` Takashi Iwai
  0 siblings, 2 replies; 5+ messages in thread
From: Stephen Boyd @ 2013-11-20 20:02 UTC (permalink / raw)
  To: Pavel Machek
  Cc: linux-kernel, daniel.lezcano, will.deacon, catalin.marinas, olof,
	sudeep.karkadanagesha

Pavel Machek reports that this config is exposed on x86 where the
ARM architected timers aren't even present. Make it depend on the
ARM architected timers being selected so that non-ARM builds
aren't asked about it.

Reported-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
---
 drivers/clocksource/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index bdb953e..5c07a56 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -87,6 +87,7 @@ config ARM_ARCH_TIMER
 config ARM_ARCH_TIMER_EVTSTREAM
 	bool "Support for ARM architected timer event stream generation"
 	default y if ARM_ARCH_TIMER
+	depends on ARM_ARCH_TIMER
 	help
 	  This option enables support for event stream generation based on
 	  the ARM architected timer. It is used for waking up CPUs executing
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM
  2013-11-20 20:02 ` [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM Stephen Boyd
@ 2013-11-20 21:09   ` Pavel Machek
  2013-11-20 21:16     ` Daniel Lezcano
  2013-11-21  9:20   ` Takashi Iwai
  1 sibling, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2013-11-20 21:09 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: linux-kernel, daniel.lezcano, will.deacon, catalin.marinas, olof,
	sudeep.karkadanagesha

On Wed 2013-11-20 12:02:03, Stephen Boyd wrote:
> Pavel Machek reports that this config is exposed on x86 where the
> ARM architected timers aren't even present. Make it depend on the
> ARM architected timers being selected so that non-ARM builds
> aren't asked about it.
> 
> Reported-by: Pavel Machek <pavel@ucw.cz>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Reviewed-by: Pavel Machek <pavel@ucw.cz>

Thanks!
								Pavel
								
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM
  2013-11-20 21:09   ` Pavel Machek
@ 2013-11-20 21:16     ` Daniel Lezcano
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Lezcano @ 2013-11-20 21:16 UTC (permalink / raw)
  To: Pavel Machek, Stephen Boyd
  Cc: linux-kernel, will.deacon, catalin.marinas, olof,
	sudeep.karkadanagesha

On 11/20/2013 10:09 PM, Pavel Machek wrote:
> On Wed 2013-11-20 12:02:03, Stephen Boyd wrote:
>> Pavel Machek reports that this config is exposed on x86 where the
>> ARM architected timers aren't even present. Make it depend on the
>> ARM architected timers being selected so that non-ARM builds
>> aren't asked about it.
>>
>> Reported-by: Pavel Machek <pavel@ucw.cz>
>> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
>
> Reviewed-by: Pavel Machek <pavel@ucw.cz>
>
> Thanks!

Applied to my tree as a 3.13 fix.

Thanks Stephen and Pavel !

   -- Daniel

-- 
  <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM
  2013-11-20 20:02 ` [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM Stephen Boyd
  2013-11-20 21:09   ` Pavel Machek
@ 2013-11-21  9:20   ` Takashi Iwai
  1 sibling, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2013-11-21  9:20 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: Pavel Machek, linux-kernel, daniel.lezcano, will.deacon,
	catalin.marinas, olof, sudeep.karkadanagesha

At Wed, 20 Nov 2013 12:02:03 -0800,
Stephen Boyd wrote:
> 
> Pavel Machek reports that this config is exposed on x86 where the
> ARM architected timers aren't even present. Make it depend on the
> ARM architected timers being selected so that non-ARM builds
> aren't asked about it.
> 
> Reported-by: Pavel Machek <pavel@ucw.cz>
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
> ---
>  drivers/clocksource/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
> index bdb953e..5c07a56 100644
> --- a/drivers/clocksource/Kconfig
> +++ b/drivers/clocksource/Kconfig
> @@ -87,6 +87,7 @@ config ARM_ARCH_TIMER
>  config ARM_ARCH_TIMER_EVTSTREAM
>  	bool "Support for ARM architected timer event stream generation"
>  	default y if ARM_ARCH_TIMER
> +	depends on ARM_ARCH_TIMER

We can drop "if ARM_ARCH_TIMER" in "default y" line now.
But do we need "default y" at the first place?


Takashi

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-11-21  9:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-20 19:21 Support for ARM architected timer event stream generation on x86 Pavel Machek
2013-11-20 20:02 ` [PATCH] drivers: clocksource: Hide arm_arch_timer eventstream Kconfig on non-ARM Stephen Boyd
2013-11-20 21:09   ` Pavel Machek
2013-11-20 21:16     ` Daniel Lezcano
2013-11-21  9:20   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox