Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp452387pxk; Wed, 2 Sep 2020 06:15:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxIvkzYqoPSMUWE/JKKyjRpMEK35XmVu84r0YdalitNTE0Rwv57BQCcExiNJ1micq8PZ7sG X-Received: by 2002:a17:906:f157:: with SMTP id gw23mr6086144ejb.325.1599052539783; Wed, 02 Sep 2020 06:15:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599052539; cv=none; d=google.com; s=arc-20160816; b=gC7ohu60DZAC/IWx8NNdGhQd+RtqxpxzCjVsutMfBqdyUkaQizbP56tzdNsZLnXmWA ocuDJJPcFt6sYA/XpctyU1aEVbPApTne/tsjHoPylj5KtSeLs+Xf3m2ZaUlyBCr9s4Mi kJbOkf1z7jjnunwortIXlPnEX72oQY07A6zANziIdyd2sLLYv3HrIJ7Xc/8qD4qXdaY6 cao3b65Lv9xGGt88zsXtX8kAAferFzJPVvbH5g9phjPv6ATtA+dnWG0lDF7TtKOnckdf kS5pGQwoFBVsjDd56WY1vTodZNkYJx8M/yEX1NPCvW4XChZJXlNBBO4onkSShFHT3622 oVqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :user-agent:organization:date:cc:from:subject:message-id :dkim-signature; bh=dxrkS/aX5yeChGiqu1IMF0Fne/EsfHUnIkOcp1B4TN8=; b=hkzMmyHbVtCybbRbhcgWNd9Xr0ptwdBQL5yN1YNYXx3pQ6DfeWnWUIdQ5zq5UtF85/ c6dQF32VxeKFfKghlbDJxbfkV7q5NRUMaypYGY6/wTD+yLJmCwx6EfEE8byawyJHNxD6 MVpSBPLC6UoXG0pR1ENhue103CF4JF+LPYm03DG6oRpGlr/q4XMazAxIccAlauNUNqOR uux+GlMSY75JcBHUYvNLkNKxH+XZtzE+ihax0JVlgfJzHMEnuuMRxluB3Nj131+6PRvo K+NZma1ila/bIc4ZTkvI8d7Tdan7RUTcRFaMh/WsoGDAxboTQb4BqNPtlz1m1lMqPVgQ 8UIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=hIB8qVeU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yadro.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g6si2476749edy.241.2020.09.02.06.15.14; Wed, 02 Sep 2020 06:15:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=hIB8qVeU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yadro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726637AbgIBNJy (ORCPT + 99 others); Wed, 2 Sep 2020 09:09:54 -0400 Received: from mta-02.yadro.com ([89.207.88.252]:41982 "EHLO mta-01.yadro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726310AbgIBNJa (ORCPT ); Wed, 2 Sep 2020 09:09:30 -0400 Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 0F011574E9; Wed, 2 Sep 2020 13:01:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= content-transfer-encoding:mime-version:user-agent:content-type :content-type:organization:date:date:from:from:subject:subject :message-id:received:received:received; s=mta-01; t=1599051709; x=1600866110; bh=dxrkS/aX5yeChGiqu1IMF0Fne/EsfHUnIkOcp1B4TN8=; b= hIB8qVeU9aSDbCq8oo0SIymw3RagNFW6M8y0CevJWdj6qJHNFbfjvYoItoHAPotU jwQvYfbRuBxCR6gk2jAaTvdkXK9vSFRsCE1qV2pdvieXQKYXdU9jqtRbWac8E0TI hmghWAjnIL2ldcv2/HAn45mNx2kaAzFCh4qVSkg13cg= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9t_TD-qV_gA5; Wed, 2 Sep 2020 16:01:49 +0300 (MSK) Received: from T-EXCH-02.corp.yadro.com (t-exch-02.corp.yadro.com [172.17.10.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id 65A6B574FE; Wed, 2 Sep 2020 15:59:33 +0300 (MSK) Received: from localhost.localdomain (10.199.3.6) by T-EXCH-02.corp.yadro.com (172.17.10.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Wed, 2 Sep 2020 15:59:32 +0300 Message-ID: Subject: watchdog start on restart From: Ivan Mikhaylov CC: Wim Van Sebroeck , Guenter Roeck , , , Ivan Mikhaylov Date: Wed, 2 Sep 2020 16:02:53 +0300 Organization: YADRO Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.5 (3.32.5-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.199.3.6] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-02.corp.yadro.com (172.17.10.102) To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello everyone. Currently, the watchdog interface only has "stop watchdog on restart" but lacks a "start watchdog on restart" one. Is there a way to achieve such functionality? I'd like to know why "stop watchdog on restart" wasn't implemented via ioctl interface? It would be more convenient from user perspective and you can control that behavior whenever you want from application layer. I have some thoughts on this problem that solve the aforementioned issue with "start watchdog on restart" but I don't think that my solution is correct. Looking forward for your feedback. Thanks.