[PATCH v3] clocksource: sh_cmt: fixup for 64-bit machines

2018-09-08 Thread Sergei Shtylyov
When trying to use CMT for clockevents on R-Car gen3 SoCs, I noticed that 'max_delta_ns' for the broadcast timer (CMT) was shown as 1000 in /proc/timer_list. It turned out that when calculating it, the driver did 1 << 32 (causing what I think was undefined behavior) resulting in a zero delta,

Re: [PATCH v2] clocksource: sh_cmt: fixup for 64-bit machines

2018-09-08 Thread Sergei Shtylyov
Hello! On 09/06/2018 03:18 PM, Geert Uytterhoeven wrote: >> When trying to use CMT for clockevents on R-Car gen3 SoCs, I noticed >> that 'max_delta_ns' for the broadcast timer (CMT) was shown as 1000 in >> /proc/timer_list. It turned out that when calculating it, the driver did >> 1 << 32

Re: watchdog: renesas_wdt: convert to SPDX identifiers

2018-09-08 Thread Guenter Roeck
On Fri, Sep 07, 2018 at 02:10:58AM +, Kuninori Morimoto wrote: > From: Kuninori Morimoto > > This patch updates license to use SPDX-License-Identifier > instead of verbose license text. > > Signed-off-by: Kuninori Morimoto > Reviewed-by: Guenter Roeck Hmmm .. any chance for you folks to

Re: [PATCH v3 1/2] watchdog: rza_wdt: Support longer timeouts

2018-09-08 Thread Guenter Roeck
On 09/06/2018 06:22 PM, Chris Brandt wrote: The RZ/A2 watchdog timer extends the clock source options in order to allow for longer timeouts. Signed-off-by: Chris Brandt --- v3: * Removed + 1 from DIV_ROUND_UP line * resetting to 0 if time to big did not make as much sense are resetting