Re: [PATCH 8/8] LinuxPPS: pps_gen_parport: Add check for bad clocksource.

From: Rodolfo Giometti
Date: Sat Mar 04 2017 - 08:26:04 EST


On 03/04/17 10:19, Alexander Gerasiov wrote:
Hello Rodolfo,

I should say, that I found this solution is not the best. For example on
high speed PCs (I think over 3GHz) 5 iteration is not enough and module
stops working after several hours. That makes it not user-friendly,
cause user had to calibrate and set failure_iterations manually.

It would be better to use pre-measured loops_per_jiffy (from delay.h)
some way.

I see... however I cannot test the patch so if you tried it and you noticed these issues we should consider to add it but with the experimental warning?

Ciao,

Rodolfo

--

HCE Engineering e-mail: giometti@xxxxxxxxxxxxxxxxxxx
GNU/Linux Solutions giometti@xxxxxxxxxxxx
Linux Device Driver giometti@xxxxxxxx
Embedded Systems phone: +39 349 2432127
UNIX programming skype: rodolfo.giometti
Cosino Project - the quick prototyping embedded system - www.cosino.io
Freelance ICT Italia - Consulente ICT Italia - www.consulenti-ict.it