On Fri, Jun 20, 2014 at 11:17 PM, Doug Anderson wrote:
> Hi,
>
> On Fri, Jun 20, 2014 at 4:19 AM, amit daniel kachhap
> wrote:
>> On Fri, Jun 20, 2014 at 1:45 PM, Will Deacon wrote:
>>> On Thu, Jun 19, 2014 at 05:40:49PM +0100, Tomasz Figa wrote:
On 19.06.2014 18:31, Doug Anderson wrote:
>>
Hi,
On Fri, Jun 20, 2014 at 4:19 AM, amit daniel kachhap
wrote:
> On Fri, Jun 20, 2014 at 1:45 PM, Will Deacon wrote:
>> On Thu, Jun 19, 2014 at 05:40:49PM +0100, Tomasz Figa wrote:
>>> On 19.06.2014 18:31, Doug Anderson wrote:
>>> >>> My personal vote would be to submit a patch to change "cycle
On Fri, Jun 20, 2014 at 1:45 PM, Will Deacon wrote:
> On Thu, Jun 19, 2014 at 05:40:49PM +0100, Tomasz Figa wrote:
>> On 19.06.2014 18:31, Doug Anderson wrote:
>> >>> My personal vote would be to submit a patch to change "cycles_t" to
>> >>> always be 32-bits. Given that 32-bits was fine for udel
On Thu, Jun 19, 2014 at 05:40:49PM +0100, Tomasz Figa wrote:
> On 19.06.2014 18:31, Doug Anderson wrote:
> >>> My personal vote would be to submit a patch to change "cycles_t" to
> >>> always be 32-bits. Given that 32-bits was fine for udelay() for ARM
> >>> that seems sane and simple. If someone
On 19.06.2014 18:31, Doug Anderson wrote:
> Tomasz,
>
> On Thu, Jun 19, 2014 at 9:17 AM, Tomasz Figa wrote:
>> On 19.06.2014 18:01, Doug Anderson wrote:
>>> Hi,
>>>
>>> On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa wrote:
> +static struct delay_timer exynos4_delay_timer;
> +
> +static
Tomasz,
On Thu, Jun 19, 2014 at 9:17 AM, Tomasz Figa wrote:
> On 19.06.2014 18:01, Doug Anderson wrote:
>> Hi,
>>
>> On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa wrote:
+static struct delay_timer exynos4_delay_timer;
+
+static unsigned long exynos4_read_current_timer(void)
>>
>> N
On 19.06.2014 18:01, Doug Anderson wrote:
> Hi,
>
> On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa wrote:
>>> +static struct delay_timer exynos4_delay_timer;
>>> +
>>> +static unsigned long exynos4_read_current_timer(void)
>
> Note: I think this should return a cycles_t, not an unsigned long.
> Th
Hi,
On Thu, Jun 19, 2014 at 3:21 AM, Tomasz Figa wrote:
>> +static struct delay_timer exynos4_delay_timer;
>> +
>> +static unsigned long exynos4_read_current_timer(void)
Note: I think this should return a cycles_t, not an unsigned long.
They're the same (right now), but probably shouldn't be (se
On Thu, Jun 19, 2014 at 4:00 PM, Daniel Lezcano
wrote:
> On 06/19/2014 12:21 PM, amit daniel kachhap wrote:
>>
>> On Thu, Jun 19, 2014 at 2:41 PM, Daniel Lezcano
>> wrote:
>>>
>>> On 06/19/2014 10:39 AM, Amit Daniel Kachhap wrote:
This patch register the exynos mct clocksource as t
On 06/19/2014 12:21 PM, amit daniel kachhap wrote:
On Thu, Jun 19, 2014 at 2:41 PM, Daniel Lezcano
wrote:
On 06/19/2014 10:39 AM, Amit Daniel Kachhap wrote:
This patch register the exynos mct clocksource as the current timer
as it has constant clock rate. This will generate correct udelay for
On Thursday 19 June 2014 15:51:58 amit daniel kachhap wrote:
> I also didn't want to use macros but used as a last option. you want
> me to put more comments here?
> Or something like below is also possible for checking the size of
> (unsigned long) in runtime.
>
> unsigned long x;
> unsigned int
Hi Amit,
Please see my comments inline.
On 19.06.2014 10:39, Amit Daniel Kachhap wrote:
> This patch register the exynos mct clocksource as the current timer
> as it has constant clock rate. This will generate correct udelay for the
> exynos platform and avoid using unnecessary calibrated jiffies
On Thu, Jun 19, 2014 at 2:41 PM, Daniel Lezcano
wrote:
> On 06/19/2014 10:39 AM, Amit Daniel Kachhap wrote:
>>
>> This patch register the exynos mct clocksource as the current timer
>> as it has constant clock rate. This will generate correct udelay for the
>> exynos platform and avoid using unnec
On 06/19/2014 10:39 AM, Amit Daniel Kachhap wrote:
This patch register the exynos mct clocksource as the current timer
as it has constant clock rate. This will generate correct udelay for the
exynos platform and avoid using unnecessary calibrated jiffies. This change
has been tested on exynos5420
This patch register the exynos mct clocksource as the current timer
as it has constant clock rate. This will generate correct udelay for the
exynos platform and avoid using unnecessary calibrated jiffies. This change
has been tested on exynos5420 based board and udelay is very close to
expected.
S
15 matches
Mail list logo