* [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock
@ 2013-10-07 15:27 dinguyen at altera.com
2013-10-07 16:09 ` Daniel Lezcano
0 siblings, 1 reply; 6+ messages in thread
From: dinguyen at altera.com @ 2013-10-07 15:27 UTC (permalink / raw)
To: linux-arm-kernel
From: Dinh Nguyen <dinguyen@altera.com>
Hi Thomas, John,
I am hoping you can pull in these 2 patches. These 2 patches have been floating
around for almost 2 months now. They are needed to get the Altera SOCFPGA
booting again because of a DTS binding change in 3.12.
The other change was correctly return the current clock counter.
The discussion thread can be found here:
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198818.html
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198903.html
This patch does not attempt or change the behaviour of the ordering of how a
clocksource or clockevent is use. These 2 patches only enables a platform to boot.
Thanks,
Dinh
The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f:
Linux 3.12-rc1 (2013-09-16 16:17:51 -0400)
are available in the git repository at:
git://git.rocketboards.org/linux-socfpga-next.git tags/dw_apb_timer_fix_for_jstultz
for you to fetch changes up to c3c3e0d0fee2f4e1a9897094107dd8eae87503fb:
clocksource: dw_apb_timer_of: Fix read_sched_clock (2013-10-07 09:57:15 -0500)
----------------------------------------------------------------
dw_apb_timer changes:
- Move defines from dw_apb_timer.c to include/linux/dw_apb_timer.h
- The dw_apb_timer implementation is a countdown timer. Fix the code
to return the correct current counter.
- Add backwards compatibilty for deprecated "snps,dw-apb-timer-osc"
and "snps,dw-apb-timer-sp"
- Add compatiblity for "snps,dw-apb-timer". This is the new binding
to be used going forward.
----------------------------------------------------------------
Dinh Nguyen (2):
clocksource: dw_apb_timer: Move timer defines to header file.
clocksource: dw_apb_timer_of: Fix read_sched_clock
drivers/clocksource/dw_apb_timer.c | 19 -------------------
drivers/clocksource/dw_apb_timer_of.c | 9 +++++----
include/linux/dw_apb_timer.h | 19 +++++++++++++++++++
3 files changed, 24 insertions(+), 23 deletions(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock
2013-10-07 15:27 [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock dinguyen at altera.com
@ 2013-10-07 16:09 ` Daniel Lezcano
2013-10-07 17:10 ` John Stultz
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Lezcano @ 2013-10-07 16:09 UTC (permalink / raw)
To: linux-arm-kernel
On 10/07/2013 05:27 PM, dinguyen at altera.com wrote:
> From: Dinh Nguyen <dinguyen@altera.com>
>
> Hi Thomas, John,
>
> I am hoping you can pull in these 2 patches. These 2 patches have been floating
> around for almost 2 months now. They are needed to get the Altera SOCFPGA
> booting again because of a DTS binding change in 3.12.
>
> The other change was correctly return the current clock counter.
>
> The discussion thread can be found here:
>
> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198818.html
> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198903.html
>
> This patch does not attempt or change the behaviour of the ordering of how a
> clocksource or clockevent is use. These 2 patches only enables a platform to boot.
John,
I agree with Dinh, these patches fixes a boot issue on Altera SOCFPGA
and should be merged.
Thanks
-- Daniel
> The following changes since commit 272b98c6455f00884f0350f775c5342358ebb73f:
>
> Linux 3.12-rc1 (2013-09-16 16:17:51 -0400)
>
> are available in the git repository at:
>
> git://git.rocketboards.org/linux-socfpga-next.git tags/dw_apb_timer_fix_for_jstultz
>
> for you to fetch changes up to c3c3e0d0fee2f4e1a9897094107dd8eae87503fb:
>
> clocksource: dw_apb_timer_of: Fix read_sched_clock (2013-10-07 09:57:15 -0500)
>
> ----------------------------------------------------------------
> dw_apb_timer changes:
> - Move defines from dw_apb_timer.c to include/linux/dw_apb_timer.h
> - The dw_apb_timer implementation is a countdown timer. Fix the code
> to return the correct current counter.
> - Add backwards compatibilty for deprecated "snps,dw-apb-timer-osc"
> and "snps,dw-apb-timer-sp"
> - Add compatiblity for "snps,dw-apb-timer". This is the new binding
> to be used going forward.
>
> ----------------------------------------------------------------
> Dinh Nguyen (2):
> clocksource: dw_apb_timer: Move timer defines to header file.
> clocksource: dw_apb_timer_of: Fix read_sched_clock
>
> drivers/clocksource/dw_apb_timer.c | 19 -------------------
> drivers/clocksource/dw_apb_timer_of.c | 9 +++++----
> include/linux/dw_apb_timer.h | 19 +++++++++++++++++++
> 3 files changed, 24 insertions(+), 23 deletions(-)
>
--
<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] 6+ messages in thread
* [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock
2013-10-07 16:09 ` Daniel Lezcano
@ 2013-10-07 17:10 ` John Stultz
2013-10-07 19:18 ` Daniel Lezcano
0 siblings, 1 reply; 6+ messages in thread
From: John Stultz @ 2013-10-07 17:10 UTC (permalink / raw)
To: linux-arm-kernel
On 10/07/2013 09:09 AM, Daniel Lezcano wrote:
> On 10/07/2013 05:27 PM, dinguyen at altera.com wrote:
>> From: Dinh Nguyen <dinguyen@altera.com>
>>
>> Hi Thomas, John,
>>
>> I am hoping you can pull in these 2 patches. These 2 patches have
>> been floating
>> around for almost 2 months now. They are needed to get the Altera
>> SOCFPGA
>> booting again because of a DTS binding change in 3.12.
>>
>> The other change was correctly return the current clock counter.
>>
>> The discussion thread can be found here:
>>
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198818.html
>>
>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198903.html
>>
>>
>> This patch does not attempt or change the behaviour of the ordering
>> of how a
>> clocksource or clockevent is use. These 2 patches only enables a
>> platform to boot.
>
> John,
>
> I agree with Dinh, these patches fixes a boot issue on Altera SOCFPGA
> and should be merged.
>
Hey Dinh,
Thanks for persisting here! Sorry this has taken awhile. Just as an
FYI, Daniel is maintaining the drivers/clocksource dir these days.
So, I've not been following this closely, but if I recall we had a merge
conflict that we backed out, since it seemed that everyone involved in
this driver weren't working together. Then Thomas had some objections,
but it *looks* like that's been resolved. So I don't have any objections
at this point.
Daniel: if you want to pull these in to your tree, that's fine by me.
thanks
-john
^ permalink raw reply [flat|nested] 6+ messages in thread
* [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock
2013-10-07 17:10 ` John Stultz
@ 2013-10-07 19:18 ` Daniel Lezcano
2013-11-24 4:05 ` Dinh Nguyen
0 siblings, 1 reply; 6+ messages in thread
From: Daniel Lezcano @ 2013-10-07 19:18 UTC (permalink / raw)
To: linux-arm-kernel
On 10/07/2013 07:10 PM, John Stultz wrote:
> On 10/07/2013 09:09 AM, Daniel Lezcano wrote:
>> On 10/07/2013 05:27 PM, dinguyen at altera.com wrote:
>>> From: Dinh Nguyen <dinguyen@altera.com>
>>>
>>> Hi Thomas, John,
>>>
>>> I am hoping you can pull in these 2 patches. These 2 patches have
>>> been floating
>>> around for almost 2 months now. They are needed to get the Altera
>>> SOCFPGA
>>> booting again because of a DTS binding change in 3.12.
>>>
>>> The other change was correctly return the current clock counter.
>>>
>>> The discussion thread can be found here:
>>>
>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198818.html
>>>
>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198903.html
>>>
>>>
>>> This patch does not attempt or change the behaviour of the ordering
>>> of how a
>>> clocksource or clockevent is use. These 2 patches only enables a
>>> platform to boot.
>>
>> John,
>>
>> I agree with Dinh, these patches fixes a boot issue on Altera SOCFPGA
>> and should be merged.
>>
>
> Hey Dinh,
> Thanks for persisting here! Sorry this has taken awhile. Just as an
> FYI, Daniel is maintaining the drivers/clocksource dir these days.
>
> So, I've not been following this closely, but if I recall we had a merge
> conflict that we backed out, since it seemed that everyone involved in
> this driver weren't working together. Then Thomas had some objections,
> but it *looks* like that's been resolved. So I don't have any objections
> at this point.
Yeah, it happens the same to me :)
> Daniel: if you want to pull these in to your tree, that's fine by me.
Ok, pulled to my tree.
Thanks !
-- 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] 6+ messages in thread
* [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock
2013-10-07 19:18 ` Daniel Lezcano
@ 2013-11-24 4:05 ` Dinh Nguyen
2013-11-24 21:53 ` Daniel Lezcano
0 siblings, 1 reply; 6+ messages in thread
From: Dinh Nguyen @ 2013-11-24 4:05 UTC (permalink / raw)
To: linux-arm-kernel
Hi Daniel,
On 10/7/13 2:18 PM, Daniel Lezcano wrote:
> On 10/07/2013 07:10 PM, John Stultz wrote:
>> On 10/07/2013 09:09 AM, Daniel Lezcano wrote:
>>> On 10/07/2013 05:27 PM, dinguyen at altera.com wrote:
>>>> From: Dinh Nguyen <dinguyen@altera.com>
>>>>
>>>> Hi Thomas, John,
>>>>
>>>> I am hoping you can pull in these 2 patches. These 2 patches have
>>>> been floating
>>>> around for almost 2 months now. They are needed to get the Altera
>>>> SOCFPGA
>>>> booting again because of a DTS binding change in 3.12.
>>>>
>>>> The other change was correctly return the current clock counter.
>>>>
>>>> The discussion thread can be found here:
>>>>
>>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198818.html
>>>>
>>>>
>>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198903.html
>>>>
>>>>
>>>>
>>>> This patch does not attempt or change the behaviour of the ordering
>>>> of how a
>>>> clocksource or clockevent is use. These 2 patches only enables a
>>>> platform to boot.
>>>
>>> John,
>>>
>>> I agree with Dinh, these patches fixes a boot issue on Altera SOCFPGA
>>> and should be merged.
>>>
>>
>> Hey Dinh,
>> Thanks for persisting here! Sorry this has taken awhile. Just as an
>> FYI, Daniel is maintaining the drivers/clocksource dir these days.
>>
>> So, I've not been following this closely, but if I recall we had a merge
>> conflict that we backed out, since it seemed that everyone involved in
>> this driver weren't working together. Then Thomas had some objections,
>> but it *looks* like that's been resolved. So I don't have any objections
>> at this point.
>
> Yeah, it happens the same to me :)
>
>> Daniel: if you want to pull these in to your tree, that's fine by me.
>
> Ok, pulled to my tree.
I did not see these 2 patches in 3.13-rc1. Just wondering what happened
to them?
Thanks,
Dinh
>
> Thanks !
> -- Daniel
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock
2013-11-24 4:05 ` Dinh Nguyen
@ 2013-11-24 21:53 ` Daniel Lezcano
0 siblings, 0 replies; 6+ messages in thread
From: Daniel Lezcano @ 2013-11-24 21:53 UTC (permalink / raw)
To: linux-arm-kernel
On 11/24/2013 05:05 AM, Dinh Nguyen wrote:
> Hi Daniel,
>
> On 10/7/13 2:18 PM, Daniel Lezcano wrote:
>> On 10/07/2013 07:10 PM, John Stultz wrote:
>>> On 10/07/2013 09:09 AM, Daniel Lezcano wrote:
>>>> On 10/07/2013 05:27 PM, dinguyen at altera.com wrote:
>>>>> From: Dinh Nguyen <dinguyen@altera.com>
>>>>>
>>>>> Hi Thomas, John,
>>>>>
>>>>> I am hoping you can pull in these 2 patches. These 2 patches have
>>>>> been floating
>>>>> around for almost 2 months now. They are needed to get the Altera
>>>>> SOCFPGA
>>>>> booting again because of a DTS binding change in 3.12.
>>>>>
>>>>> The other change was correctly return the current clock counter.
>>>>>
>>>>> The discussion thread can be found here:
>>>>>
>>>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198818.html
>>>>>
>>>>>
>>>>> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-September/198903.html
>>>>>
>>>>>
>>>>>
>>>>> This patch does not attempt or change the behaviour of the ordering
>>>>> of how a
>>>>> clocksource or clockevent is use. These 2 patches only enables a
>>>>> platform to boot.
>>>>
>>>> John,
>>>>
>>>> I agree with Dinh, these patches fixes a boot issue on Altera SOCFPGA
>>>> and should be merged.
>>>>
>>>
>>> Hey Dinh,
>>> Thanks for persisting here! Sorry this has taken awhile. Just as an
>>> FYI, Daniel is maintaining the drivers/clocksource dir these days.
>>>
>>> So, I've not been following this closely, but if I recall we had a merge
>>> conflict that we backed out, since it seemed that everyone involved in
>>> this driver weren't working together. Then Thomas had some objections,
>>> but it *looks* like that's been resolved. So I don't have any objections
>>> at this point.
>>
>> Yeah, it happens the same to me :)
>>
>>> Daniel: if you want to pull these in to your tree, that's fine by me.
>>
>> Ok, pulled to my tree.
> I did not see these 2 patches in 3.13-rc1. Just wondering what happened
> to them?
Me too :/
I will take them for 3.13 fixes.
--
<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] 6+ messages in thread
end of thread, other threads:[~2013-11-24 21:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 15:27 [GIT PULL]clocksource: dw_apb_timer_of: Fix read_sched_clock dinguyen at altera.com
2013-10-07 16:09 ` Daniel Lezcano
2013-10-07 17:10 ` John Stultz
2013-10-07 19:18 ` Daniel Lezcano
2013-11-24 4:05 ` Dinh Nguyen
2013-11-24 21:53 ` Daniel Lezcano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).