Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp1031152imw; Wed, 13 Jul 2022 12:28:00 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sFGdmgP0wPLwsDxjbkp/Ff6J8e+yA5RSgn/vcEJi0m+l5D3gDh/EsVPWyhAYDzJRu5gB1q X-Received: by 2002:a17:906:6a16:b0:72c:e324:9845 with SMTP id qw22-20020a1709066a1600b0072ce3249845mr2996102ejc.512.1657740480215; Wed, 13 Jul 2022 12:28:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657740480; cv=none; d=google.com; s=arc-20160816; b=uOGN+6ObcHAHD5z8QErFJ7Qm8/6EuJ9oziBz/jFTSQYkbUUzgNwTsfZPYP+yJqRn/H 1bZoytLxQ/NS/FAv72EX//P76Cf4zRD4SfMMyPg8BHxs0/wAtHGFhUsDlYV9ylvrF8iv E2a9e7gYR8rXz4wQEUE2mjPhTl0Ly1PQ+NdWBb5PGYT/psUFPgfJvziuqr/8520uN8Qu f/RlTElO3SlfSio7iLyKkFwDsqBRmHl8U/xNmYptQllcc8HI+9Yr91FvMqfvC7C46fyL B5e/t1yhm+nwDkSp1zQPeml/4Y1TAjdN8KfPENWt8moJqcZF6Jwrvnrm59cWXMBswwNv QjwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=4gRkzlpRhfwDwt3txru4R7vN1hWK8tgG6Ph6530NTVo=; b=YkRQhflCBCWBY5FOT/iVq0fDIt2lGLFcEK2w/0WUTIWJUDZALg84emdvCxbTKfeFmy FwZAqXmj8/ABWPRTB8RsnIfrBDXx0Df70hZtMNZtz2o3cVdqetVG1nrPCGfe4AiA+Mia Wwp/dBqZhQZ3pPtmSieCtn/zYnxWQxlCYxaB+6mjKmklqaGKsulDzAuvgVjPO6wWR3va rYtSrol/5v2VBJnwOdHoGALZ6SQ6OOXh4+TJ2wWaPoeyQo1fKIMBB7OvTdI876vrph/s aS/M+5UDT8XRLqCHCuNr6xu7FnqBvHBGpsSc46TIkYX3GrO7hdIP3ARsPgigOZAROnvC xuyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UuH0pAnT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs17-20020a170906dc9100b0071216d32d8dsi21929311ejc.673.2022.07.13.12.27.34; Wed, 13 Jul 2022 12:28:00 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UuH0pAnT; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236876AbiGMTNr (ORCPT + 99 others); Wed, 13 Jul 2022 15:13:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231612AbiGMTNp (ORCPT ); Wed, 13 Jul 2022 15:13:45 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95D8613F45; Wed, 13 Jul 2022 12:13:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3E7BEB8212F; Wed, 13 Jul 2022 19:13:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7E60C34114; Wed, 13 Jul 2022 19:13:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657739621; bh=4gRkzlpRhfwDwt3txru4R7vN1hWK8tgG6Ph6530NTVo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=UuH0pAnTY9nEcydrnNYcOa5n1c/Q3n+hmxm5Sk2ITyB+Uwc3RwAp7z9Ps05oK1Qwj G/Jpu9PDW2tFbCKugdTVfT5/g0Unp976NCEOtJmzWgSFT29IKehx68gmSEweUprYdw FIi9BBJoE6jlWrP85eNFO9ABl4iS0mPrLEjDDeI+uK4anIlJyirV68Wd4BPC5Ti8wd eEgPgyXI7puyJVJsoA3It7LeDtk06PUUqXUzpMslOZSJ1KhtMxC3gX2kGfLFmJjJQX JovsQTsc5N+8MbMt+tX89dUZYllae7XmiVdlRvJMuRhUEVeRhGl1POtkFjOeeAOZFB o8/4C/5iUAXxA== Message-ID: Date: Wed, 13 Jul 2022 21:13:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH V4 18/20] rv/monitor: Add safe watchdog monitor Content-Language: en-US To: Steven Rostedt , Guenter Roeck Cc: Wim Van Sebroeck , Jonathan Corbet , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , Will Deacon , Catalin Marinas , Marco Elver , Dmitry Vyukov , "Paul E. McKenney" , Shuah Khan , Gabriele Paoloni , Juri Lelli , Clark Williams , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org References: <6366fdc89d65b8d9b14ccd1e42fa0d793fbe9f73.1655368610.git.bristot@kernel.org> From: Daniel Bristot de Oliveira In-Reply-To: <6366fdc89d65b8d9b14ccd1e42fa0d793fbe9f73.1655368610.git.bristot@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 6/16/22 10:45, Daniel Bristot de Oliveira wrote: > The watchdog is an essential building block for the usage of Linux in > safety-critical systems because it allows the system to be monitored from > an external element - the watchdog hardware, acting as a safety-monitor. Guenter and Steven, I will move the watchdog monitor to a separated thread, as it will require further discussions specific to it, mainly to get feedback from watchdog maintainers. Anyways, I am adding additional information for the sample monitors based on our discussions here. They are: I added documentation about the automata format and the translation between the formal <-> dot -> C. I am adding the .dot file to the tools/verification/models/ so that one can get the .dot file and convert it to other formats, like, a png file. This will make it easy to read the automata model. I am adding a .rst documentation for each model, including details about it. I will send the v5 of RV without the safe_wtd monitor and then start a new one about the watchdog later, after getting the RV interface series ready. -- Daniel