Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1479118 > unrolled thread

Re: [RFC v4 10/22] arch/tile/kernel/time: set ->min_delta_ticks and ->max_delta_ticks

Started byNicolai Stange <nicstange@gmail.com>
First post2016-09-08 13:30 +0200
Last post2016-09-08 13:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC v4 10/22] arch/tile/kernel/time: set ->min_delta_ticks and ->max_delta_ticks Nicolai Stange <nicstange@gmail.com> - 2016-09-08 13:30 +0200

#1479118 — Re: [RFC v4 10/22] arch/tile/kernel/time: set ->min_delta_ticks and ->max_delta_ticks

FromNicolai Stange <nicstange@gmail.com>
Date2016-09-08 13:30 +0200
SubjectRe: [RFC v4 10/22] arch/tile/kernel/time: set ->min_delta_ticks and ->max_delta_ticks
Message-ID<sf5GO-5a7-7@gated-at.bofh.it>
Chris Metcalf <cmetcalf@mellanox.com> writes:

> On 08/22/2016 07:33 PM, Nicolai Stange wrote:
>> With the yet to come introduction of NTP correction awareness to the
>> clockevent core, drivers should report their valid ranges in units of
>> cycles to the latter.
>>
>> Currently, the tile's timer clockevent device is initialized as follows:
>>
>>   evt->max_delta_ns = clockevent_delta2ns(MAX_TICK, evt);
>>
>> and
>>
>>   .min_delta_ns = 1000,
>>
>> The first one translates to a ->max_delta_ticks value of MAX_TICK.
>> For the latter, note that the clockevent core will superimpose a
>> minimum of 1us by itself -- setting ->min_delta_ticks to 1 is safe here.
>>
>> Initialize ->min_delta_ticks and ->max_delta_ticks with these values.
>>
>> Signed-off-by: Nicolai Stange <nicstange@gmail.com>
>> ---
>>  arch/tile/kernel/time.c | 2 ++
>>  1 file changed, 2 insertions(+)
>
> Thanks.  Taken into the tile tree.

I thank you for caring, but may I ask you to drop this again?

The reasons are twofold:

1.) It isn't clear yet whether this series is worth it and will be
    accepted at all (hence the "RFC" tag). This patch by itself would
    not make any sense.

2.) The patches in this series depend heavily on each other. So I'd
    personally prefer if those more or less trivial changes to arch/
    could be taken through the same tree as the rest, i.e. through the
    timers/core tree. I have no idea whether this is feasible and
    perhaps I'll have to get back to you. But for now, getting this
    patch removed from your tree would certainly simplify things a
    lot for me...

Thanks and sorry for the inconvenience,

Nicolai Stange

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web