On 10/09/2018 22:22, Sergei Shtylyov wrote: > The driver seems to abuse *unsigned long* not only for the (32-bit) > register values but also for the 'sh_cmt_channel::total_cycles' which > needs to always be 64-bit -- as a result, the clocksource's mask is > needlessly clamped down to 32-bits on the 32-bit machines... > > Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> > Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> > > --- Applied for 4.20, thanks.