Re: [PATCH v2 1/7] clocksource: export "arch_timer_get_rate" for the other drivers

2015-05-22 Thread Timur Tabi
On 05/22/2015 10:16 AM, Guenter Roeck wrote: Doo bad that SBSA is not hardware independent enough to provide all the information needed to implement such a driver:-(. The SBSA is designed and intended only for ARM Servers. It has no value on non-ARM SOCs and and non-server SOCs. The SBSA is

Re: [PATCH v2 1/7] clocksource: export "arch_timer_get_rate" for the other drivers

2015-05-22 Thread Guenter Roeck
On Fri, May 22, 2015 at 09:09:10AM -0500, Timur Tabi wrote: > fu@linaro.org wrote: > >Some devices get clock from system counter, like SBSA watchdog > >driver. They may need to get system counter rate. > > We don't need this patch. The watchdog driver can use > arch_timer_get_cntfrq() instead

Re: [PATCH v2 1/7] clocksource: export "arch_timer_get_rate" for the other drivers

2015-05-22 Thread Timur Tabi
fu@linaro.org wrote: Some devices get clock from system counter, like SBSA watchdog driver. They may need to get system counter rate. We don't need this patch. The watchdog driver can use arch_timer_get_cntfrq() instead of arch_timer_get_rate(). There's nothing wrong with arch_timer_get

Re: [PATCH v2 1/7] clocksource: export "arch_timer_get_rate" for the other drivers

2015-05-22 Thread Hanjun Guo
On 2015年05月21日 16:32, fu@linaro.org wrote: From: Fu Wei Some devices get clock from system counter, like SBSA watchdog driver. They may need to get system counter rate. and please add a comment that SBSA watchdog is a kernel module, then it would explicit that why EXPORT_SYMBOL_GPL is nee

[PATCH v2 1/7] clocksource: export "arch_timer_get_rate" for the other drivers

2015-05-21 Thread fu . wei
From: Fu Wei Some devices get clock from system counter, like SBSA watchdog driver. They may need to get system counter rate. Signed-off-by: Fu Wei --- drivers/clocksource/arm_arch_timer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clock