Re: [PATCH 04/12] clocksource: Add max_cycles to clocksource structure

2015-03-07 Thread Ingo Molnar
* John Stultz wrote: > --- a/kernel/time/clocksource.c > +++ b/kernel/time/clocksource.c > @@ -469,11 +469,14 @@ static u32 clocksource_max_adjustment(struct > clocksource *cs) > * @shift: cycle to nanosecond divisor (power of two) > * @maxadj: maximum adjustment value to mult (~11%) >

Re: [PATCH 04/12] clocksource: Add max_cycles to clocksource structure

2015-03-07 Thread Ingo Molnar
* John Stultz john.stu...@linaro.org wrote: --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -469,11 +469,14 @@ static u32 clocksource_max_adjustment(struct clocksource *cs) * @shift: cycle to nanosecond divisor (power of two) * @maxadj: maximum adjustment value

[PATCH 04/12] clocksource: Add max_cycles to clocksource structure

2015-03-06 Thread John Stultz
In order to facilitate some clocksource validation, add a max_cycles entry to the structure which will hold the maximum cycle value that can safely be multiplied without potentially causing an overflow. Cc: Dave Jones Cc: Linus Torvalds Cc: Thomas Gleixner Cc: Richard Cochran Cc: Prarit

[PATCH 04/12] clocksource: Add max_cycles to clocksource structure

2015-03-06 Thread John Stultz
In order to facilitate some clocksource validation, add a max_cycles entry to the structure which will hold the maximum cycle value that can safely be multiplied without potentially causing an overflow. Cc: Dave Jones da...@codemonkey.org.uk Cc: Linus Torvalds torva...@linux-foundation.org Cc:

[PATCH 04/12] clocksource: Add max_cycles to clocksource structure

2015-01-22 Thread John Stultz
In order to facilitate some clocksource validation, add a max_cycles entry to the structure which will hold the maximum cycle value that can safely be multiplied without potentially causing an overflow. Cc: Dave Jones Cc: Linus Torvalds Cc: Thomas Gleixner Cc: Richard Cochran Cc: Prarit

[PATCH 04/12] clocksource: Add max_cycles to clocksource structure

2015-01-22 Thread John Stultz
In order to facilitate some clocksource validation, add a max_cycles entry to the structure which will hold the maximum cycle value that can safely be multiplied without potentially causing an overflow. Cc: Dave Jones da...@codemonkey.org.uk Cc: Linus Torvalds torva...@linux-foundation.org Cc: