Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752108AbdCDNZm (ORCPT ); Sat, 4 Mar 2017 08:25:42 -0500 Received: from mail1.hce-engineering.com ([104.233.86.154]:49677 "EHLO mail1.hce-engineering.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368AbdCDNZl (ORCPT ); Sat, 4 Mar 2017 08:25:41 -0500 To: Alexander Gerasiov References: <1487169069-15721-1-git-send-email-immortalguardian1@gmail.com> <1487169069-15721-9-git-send-email-immortalguardian1@gmail.com> <20170304121945.06e7bbfd@brick.gerasiov.net> Cc: Andrey Drobyshev , linux-kernel@vger.kernel.org, Thomas Gleixner From: Rodolfo Giometti Message-ID: <84a7df19-109a-7ebd-b630-a6e4f424cbd2@enneenne.com> Date: Sat, 4 Mar 2017 14:25:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20170304121945.06e7bbfd@brick.gerasiov.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 93.146.66.165 X-SA-Exim-Mail-From: giometti@enneenne.com Subject: Re: [PATCH 8/8] LinuxPPS: pps_gen_parport: Add check for bad clocksource. X-SA-Exim-Version: 4.2.1 (built Mon, 26 Dec 2011 16:24:06 +0000) X-SA-Exim-Scanned: Yes (on hce1.hce-engineering.com) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 27 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@hce-engineering.com GNU/Linux Solutions giometti@enneenne.com Linux Device Driver giometti@linux.it 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