Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3367277ioa; Tue, 26 Apr 2022 02:04:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAYRhjArgu03w2/g4RmLrTV6rMpQGrV77TtPttkqyDKHXLNaXLnP2jfC2fVNfkFHb5Oabt X-Received: by 2002:a05:6a00:1687:b0:4e1:45d:3ded with SMTP id k7-20020a056a00168700b004e1045d3dedmr23473272pfc.0.1650963899739; Tue, 26 Apr 2022 02:04:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650963899; cv=none; d=google.com; s=arc-20160816; b=SdXxQmM7eSMEgjz0todzLqgyOqbcjAzJlIT4S3qY5Ii+6D5WBi1RaBytzOV3Ex1E+g HVa1BKimfNOJvnPp2pwpb4owUYLA7VfLp2BF6sWwTFmNk1TtIdmngg7HIJaEoiVBnqMR hZwzA6bmPM3oSKOj+sMnzianxrl14NxrgIyJvTdZkQgdp/L4+sDcrxBQhC8ZywX8RvUS j/PfEPc9WTKtmuuDs/CW6QRVc+htkO0xjzKQZM2OOxzLXu0H+kNDuEmOgVAqSqKikbHS 7JnRTGdEzJTSDvhw//CqG/AghkOFdahM4AcqAoq60QgieqGIQSXUv3Wknnr0Z/kZV6ot cXMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:sender :hmm_source_type:hmm_attache_num:hmm_source_ip; bh=U0ley7veI0DnLTVqZqFS0h6YEVZZAjDeMZE2R8ZbWbM=; b=B+HnJKvy1fvWUjPqDl1sj5VM+qmkYaAWACfoSX4H4Cp4Ok+4irgECbWV5vjTpjC7xy yFQgxw4hebaPhd/odV8tUsl31LfGiU7juvGjZLwcugb3OMXlZfS8RdBQiQGhSTWnH4Se LvcGn/uNVGrOf3eoRYeWzXJmPQeXIA27Gb+jEuLfLkmdb87FbQG5xdMkTFkGBi4oSp/P FBLE06NwQ5ks7oyw47PY1SXTruUUByFJUmDA5wskAhWf6z4LVqHIYcytEJgrgL411NZ2 upuSGdv9rWbEXcR7CtCe7MpDm/aos4S3bABolYfU9YvuPVMZIsaYPVM0Dul5XFJt/Prk CQpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h20-20020a056a00231400b004fa3a8dffa1si19689755pfh.88.2022.04.26.02.04.45; Tue, 26 Apr 2022 02:04:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343621AbiDZHGk (ORCPT + 99 others); Tue, 26 Apr 2022 03:06:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbiDZHGf (ORCPT ); Tue, 26 Apr 2022 03:06:35 -0400 Received: from chinatelecom.cn (prt-mail.chinatelecom.cn [42.123.76.226]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6236E6D4C0; Tue, 26 Apr 2022 00:03:28 -0700 (PDT) HMM_SOURCE_IP: 172.18.0.48:51254.2065698957 HMM_ATTACHE_NUM: 0000 HMM_SOURCE_TYPE: SMTP Received: from clientip-202.80.192.38 (unknown [172.18.0.48]) by chinatelecom.cn (HERMES) with SMTP id EB35E2800DE; Tue, 26 Apr 2022 15:03:20 +0800 (CST) X-189-SAVE-TO-SEND: +liuxp11@chinatelecom.cn Received: from ([172.18.0.48]) by app0024 with ESMTP id 9e3d1b3071354b8886c605386b93e40a for wim@linux-watchdog.org; Tue, 26 Apr 2022 15:03:22 CST X-Transaction-ID: 9e3d1b3071354b8886c605386b93e40a X-Real-From: liuxp11@chinatelecom.cn X-Receive-IP: 172.18.0.48 X-MEDUSA-Status: 0 Sender: liuxp11@chinatelecom.cn From: Liu Xinpeng To: wim@linux-watchdog.org, linux@roeck-us.net, tzungbi@kernel.org Cc: linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org, Liu Xinpeng Subject: [PATCH v3 0/4] Some impovements about watchdog Date: Tue, 26 Apr 2022 15:03:04 +0800 Message-Id: <1650956588-795-1-git-send-email-liuxp11@chinatelecom.cn> X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Changelog: v1->v2 Update the commit messages v2->v3 - Add the context about why using watchdog_timeout_invalid. - Using SET_NOIRQ_SYSTEM_SLEEP_PM_OPS reduces redundant code for iTCO watchdog. v3->v4 - For patch 1, update commit message, rename WDAT_TIMEOUT_MIN to WDAT_MIN_TIMEOUT, keeps consistent with WDAT_DEFAULT_TIMEOUT. - For patch 4, iTCO_wdt_suspend_noirq and iTCO_wdt_resume_noirq are possible unused, so keep "ifdef CONFIG_PM_SLEEP ... #endif". Liu Xinpeng (4): watchdog: wdat_wdg: Using the existed function to check parameter timeout watchdog: wdat_wdg: Stop watchdog when rebooting the system watchdog: wdat_wdg: Stop watchdog when uninstalling module watchdog: iTCO_wdg: Make code more clearly with macro definition drivers/watchdog/iTCO_wdt.c | 12 +++--------- drivers/watchdog/wdat_wdt.c | 7 +++++-- 2 files changed, 8 insertions(+), 11 deletions(-) -- 2.23.0