Hi Wolfram, Thanks for the response. I will check. Meantime, I got a way to test clock event device. Hacked the driver to make the channel as clock event device rather than architectural timer. + ced->rating = 500; Cheers, Biju >; Geert Uytterhoeven > <geert+renesas@xxxxxxxxx> > Subject: Re: Regarding clock event driver testing > > Hi Biju, > > > On RZ/V2M, we have 16 timer channels. First channel we planned to use > > it as clock source And remaining 15 channels as clock event devices. I > > used clocksource-switch to verify Clocksource functionality. But > currently I do not know how to test the clock event? > > I would love to help, but sadly I can't. CMT/TMU haven't been changed in > ages. So, when I upstream them for new SoCs, I test basic/slightly > advanced functionality with 'clocksource-switch' and assume the rest has > been tested before. I didn't test clocksource events. Magnus seems to > have started something, but AFAIU it does the same as your devmem tests: > > https://patchwork.kernel.org/project/linux-renesas- > soc/list/?series=&submitter=19&state=*&q=cmt&archive=&delegate= > > Sorry I can't be of more help. > > Wolfram