Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 14:05, Benjamin Gaignard wrote: > 2017-12-08 13:51 GMT+01:00 Daniel Lezcano : >> On 08/12/2017 12:32, Benjamin Gaignard wrote: >>> From: Benjamin Gaignard >>> >>> The clock driving counters is at 90MHz so the maximum period

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 14:05, Benjamin Gaignard wrote: > 2017-12-08 13:51 GMT+01:00 Daniel Lezcano : >> On 08/12/2017 12:32, Benjamin Gaignard wrote: >>> From: Benjamin Gaignard >>> >>> The clock driving counters is at 90MHz so the maximum period >>> for 16 bis counters is around 728us (2^16 /

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Benjamin Gaignard
2017-12-08 13:51 GMT+01:00 Daniel Lezcano : > On 08/12/2017 12:32, Benjamin Gaignard wrote: >> From: Benjamin Gaignard >> >> The clock driving counters is at 90MHz so the maximum period >> for 16 bis counters is around 728us (2^16 /

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Benjamin Gaignard
2017-12-08 13:51 GMT+01:00 Daniel Lezcano : > On 08/12/2017 12:32, Benjamin Gaignard wrote: >> From: Benjamin Gaignard >> >> The clock driving counters is at 90MHz so the maximum period >> for 16 bis counters is around 728us (2^16 / 90.000.000). >> For 32 bits counters this period is close 47

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 12:32, Benjamin Gaignard wrote: > From: Benjamin Gaignard > > The clock driving counters is at 90MHz so the maximum period > for 16 bis counters is around 728us (2^16 / 90.000.000). > For 32 bits counters this period is close 47 secondes which is >

Re: [PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Daniel Lezcano
On 08/12/2017 12:32, Benjamin Gaignard wrote: > From: Benjamin Gaignard > > The clock driving counters is at 90MHz so the maximum period > for 16 bis counters is around 728us (2^16 / 90.000.000). > For 32 bits counters this period is close 47 secondes which is > more acceptable. > > When using

[PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Benjamin Gaignard
From: Benjamin Gaignard The clock driving counters is at 90MHz so the maximum period for 16 bis counters is around 728us (2^16 / 90.000.000). For 32 bits counters this period is close 47 secondes which is more acceptable. When using 16 bits counters the kernel may

[PATCH v9 3/6] clocksource: stm32: only use 32 bits timers

2017-12-08 Thread Benjamin Gaignard
From: Benjamin Gaignard The clock driving counters is at 90MHz so the maximum period for 16 bis counters is around 728us (2^16 / 90.000.000). For 32 bits counters this period is close 47 secondes which is more acceptable. When using 16 bits counters the kernel may not be able to boot because it