From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B79C4C433ED for ; Thu, 6 May 2021 02:10:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8762B613BC for ; Thu, 6 May 2021 02:10:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230506AbhEFCLX (ORCPT ); Wed, 5 May 2021 22:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbhEFCLX (ORCPT ); Wed, 5 May 2021 22:11:23 -0400 Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E797C061574; Wed, 5 May 2021 19:10:25 -0700 (PDT) Received: by mail-ot1-x332.google.com with SMTP id u25-20020a0568302319b02902ac3d54c25eso3604288ote.1; Wed, 05 May 2021 19:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ze8nHKCTJVPZAxcqvpeEarc+m37v3jnk/1brv6JR/yY=; b=Gh02vDtS3vVZBZrxQ2uZZWT9rXIwcfGmEiDhAXNKbS+6OH7HHljuhLFCb+8ldMvtme bypprO29OhPi12CKA8ueXpH1LxUgnLpv/kY5p5udC7x+VWBKsAKV4egY9iix6sLA7rcu ohgurC4HoMCZZiCLJKPE/WiETqKpVNSfxSPKYVIJERSxz7HaunNfIVp3Iaaco/2UVP6F jek7vBZPuhEc1SO2xBYG0SyitOkAywkdUBA2aU8Rg5+kF52GdH5z5/ps//Iu0oOI53Fw Ri8M07RORs0i3Buk2SDVXvQ3RgxPkJk0z415ws73Q8CnQD1wmNV/Fw3mwEfizLMrC1m4 hC9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ze8nHKCTJVPZAxcqvpeEarc+m37v3jnk/1brv6JR/yY=; b=dS7TPrqJ1VxTFAjog0t3Hm7GBVWESKmbwkgk9xTG2Ue0qm87FufTgRS+WmzzOQ0UnA r8QLCLc2P6SnvdlJWwqNjOuMRjD/fJQ1YhWo5+ROHc1XAVqEr5vEUKvYT8JeCTCtln+k o3SYC+YP1UmpMaIBuUDL8ifAeEG5EkJDeYIepBe3QXiEgN1Q5rCL9OgrWyBhAhktQMky aqCtpMB9wzAuKIECDZJkDsjA/C1holvTdL8mOrqPJIL/FgmqzEYR/42QinAPMJlz0wku 8tkYvzBcMx52ee/NhU+jbxayvlx/dFF+B3+G7qDlvgpBMRj+BfE+fuHTBCiQDanBjF0y VX0g== X-Gm-Message-State: AOAM530eVQpQno4OnkeDmZT7694UZfYfFU6qc0xqHn0MXJYEnZtYZxk9 pKBb4+z98HB2wDzcHkPyzRx3nD1I4jw= X-Google-Smtp-Source: ABdhPJyDfe/Vr0bIlEEgW1QLVfnkxK0Q+Ez92Z9YkHkRYyp/EYkR5hYMfsCyXLmT+HGErWJNF6gEGQ== X-Received: by 2002:a05:6830:411b:: with SMTP id w27mr1398308ott.80.1620267024455; Wed, 05 May 2021 19:10:24 -0700 (PDT) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id x18sm199395oix.28.2021.05.05.19.10.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 May 2021 19:10:23 -0700 (PDT) Sender: Guenter Roeck Subject: Re: [PATCH V9 1/2] watchdog: mtk: support pre-timeout when the bark irq is available To: =?UTF-8?B?546L5pOO?= Cc: Wim Van Sebroeck , Rob Herring , Matthias Brugger , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: From: Guenter Roeck Message-ID: Date: Wed, 5 May 2021 19:10:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 5/5/21 6:51 PM, 王擎 wrote: > >> On 4/24/21 6:52 PM, Wang Qing wrote: >>> Use the bark interrupt as the pretimeout notifier if available. >>> >>> When the watchdog timer expires in dual mode, an interrupt will be >>> triggered first, then the timing restarts. The reset signal will be >>> initiated when the timer expires again. >>> >>> The pretimeout notification shall occur at timeout-sec/2. >>> >>> V2: >>> - panic() by default if WATCHDOG_PRETIMEOUT_GOV is not enabled. >>> >>> V3: >>> - Modify the pretimeout behavior, manually reset after the pretimeout >>> - is processed and wait until timeout. >>> >>> V4: >>> - Remove pretimeout related processing. >>> - Add dual mode control separately. >>> >>> V5: >>> - Fix some formatting and printing problems. >>> >>> V6: >>> - Realize pretimeout processing through dualmode. >>> >>> V7: >>> - Add set_pretimeout(). >>> >>> V8/V9: >>> - Fix some formatting problems. >>> >>> Signed-off-by: Wang Qing >> >> Reviewed-by: Guenter Roeck >> >> Note that the version history should be after "---". >> >> Guenter >> > > Thanks, Guenter. > And what do I need to do if I want merge into the next-tree? > Wim should take care of that. Guenter