From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754229Ab3KCRwz (ORCPT ); Sun, 3 Nov 2013 12:52:55 -0500 Received: from 19.mo6.mail-out.ovh.net ([188.165.56.177]:42132 "EHLO mo6.mail-out.ovh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754034Ab3KCRww (ORCPT ); Sun, 3 Nov 2013 12:52:52 -0500 From: Boris BREZILLON To: Wim Van Sebroeck Cc: Fabio Porcedda , Nicolas Ferre , Guenter Roeck , Yang Wenyou , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-watchdog@vger.kernel.org, Boris BREZILLON Subject: [PATCH 0/3] watchdog: at91sam9_wdt: various fixes and improvements Date: Sun, 3 Nov 2013 18:52:41 +0100 Message-Id: <1383501164-8111-1-git-send-email-b.brezillon@overkiz.com> X-Mailer: git-send-email 1.7.9.5 X-Ovh-Tracer-Id: 10213601005247953080 X-Ovh-Remote: 78.236.240.82 (cha74-5-78-236-240-82.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeiledrhedvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeiledrhedvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patch series fix the secs_to_ticks macro in case 0 is passed as an argument. It also rework the heartbeat calculation to increase the security margin of the watchdog reset timer, and use the min_heartbeat value instead of the calculated heartbeat value for the first watchdog reset (to avoid spurious watchdog reset). Best Regards, Boris Boris BREZILLON (3): watchdog: at91sam9_wdt: fix secs_to_ticks watchdog: at91sam9_wdt: avoid spurious watchdog reset during init watchdog: at91sam9_wdt: increase security margin on watchdog counter reset drivers/watchdog/at91sam9_wdt.c | 38 +++++++++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 11 deletions(-) -- 1.7.9.5