Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752047AbdCDILf (ORCPT ); Sat, 4 Mar 2017 03:11:35 -0500 Received: from mail1.hce-engineering.com ([104.233.86.154]:43326 "EHLO mail1.hce-engineering.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751858AbdCDILc (ORCPT ); Sat, 4 Mar 2017 03:11:32 -0500 To: Andrey Drobyshev , linux-kernel@vger.kernel.org References: <1487169069-15721-1-git-send-email-immortalguardian1@gmail.com> <1487169069-15721-9-git-send-email-immortalguardian1@gmail.com> Cc: gq@cs.msu.su From: Rodolfo Giometti Message-ID: Date: Sat, 4 Mar 2017 08:44:03 +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: <1487169069-15721-9-git-send-email-immortalguardian1@gmail.com> 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: 878 Lines: 19 On 02/15/17 15:31, Andrey Drobyshev wrote: > From: Nikita Edward Baruzdin > > This commit is supposed to resolve the issue with hard lockups on systems using > jiffies as their clock source. Namely, it sets limits on number of iterations > clock source may remain unchanged (i. e. not being updated for one reason or > another, as it is with jiffies clock source), and on unsuccessful > getnstimeofday() polls as well. In case limit is reached, we consider clock > source incompatible with this driver or unstable. > > Considering this issue to be fixed, un-BROKEN pps_gen_parport. > > For explanation of the problem see this thread on lkml: > https://lkml.org/lkml/2011/2/18/310 > > Signed-off-by: Nikita Edward Baruzdin > Signed-off-by: Alexander GQ Gerasiov Acked-by: Rodolfo Giometti