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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 68995ECAAD3 for ; Wed, 14 Sep 2022 14:47:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10AD084B1C; Wed, 14 Sep 2022 16:47:14 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="i4nwwGyi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5E4D784A04; Wed, 14 Sep 2022 16:47:11 +0200 (CEST) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4B7CE84AF5 for ; Wed, 14 Sep 2022 16:47:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x729.google.com with SMTP id k12so11015254qkj.8 for ; Wed, 14 Sep 2022 07:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=57pO58IWG7YmtRcbkInGIdPNZszjrPWcmYW8Pc1YCwk=; b=i4nwwGyiyGkYp/VKpSrzV620z6lBGCWpeLOoXgtbvGzOvnXXLyTHlQpDuAcaoxXUyG KdyjcZp6htK/sqH7r2wJ5pu4ih/sFwk6TVJcvQdjcmPN95M/00BSmejtmtV7Rfp0jnIX 1HxHaVWAOzR8nZIA5ZeiRREmZ/HT69yK6QWvA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=57pO58IWG7YmtRcbkInGIdPNZszjrPWcmYW8Pc1YCwk=; b=GkgmuWYt8f1our1P+DRMRmmB27Pc5YYu3B4Eon907/6SqJsLjI6xrKtmBToTQ6nwiz tH4Y5//88EYWoya4beg27AF0shC7hZ1sz7nSOqi6rTToss5YPb4Rh3qGyND2vOUbqQH9 usI4Tl2qjsrGRHWKp935PyM03wyWuSgpuueKnJNK+Y/BT4ReDfEQe7fnBjt5sL2apXum kCiCEsvrE1aKwdu7GEUQ7u7Y0pzlLYfxJq6zDs3HJN3MwNsXIig1O3LJMp7CughgDBv3 UYbAo5sFvI071fMMVyESC86+K3cY6RpVwWFiYMveZtxiFcigT0dFpHoW8nOL5LoNz+nR omZg== X-Gm-Message-State: ACgBeo1gI6K12ldcvaRPtYaS/MZPw4KVlqmtMqmMWDLzje4XJFJN0XeL 74O1xwVwZ6QcmEtdDNB1PG9Rcw== X-Google-Smtp-Source: AA6agR6AlNTqQLNwgaVE7m0zlgU3IAaLR6ViKNDlEMNqQOMfFpF4c37sZChJG7jjnkUS1Ia5afcq7A== X-Received: by 2002:a05:620a:46a7:b0:6ce:4075:4e4d with SMTP id bq39-20020a05620a46a700b006ce40754e4dmr9970103qkb.621.1663166826900; Wed, 14 Sep 2022 07:47:06 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-6011-212c-4988-e1af.res6.spectrum.com. [2603:6081:7b00:6400:6011:212c:4988:e1af]) by smtp.gmail.com with ESMTPSA id y16-20020a05620a25d000b006bc0980db76sm1748058qko.126.2022.09.14.07.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Sep 2022 07:47:06 -0700 (PDT) Date: Wed, 14 Sep 2022 10:47:04 -0400 From: Tom Rini To: Stefan Roese Cc: u-boot@lists.denx.de, awilliams@marvell.com, cchavva@marvell.com, sjg@chromium.org Subject: Re: [PATCH v6 0/8] Add support for cyclic function execution infrastruture Message-ID: <20220914144704.GS6993@bill-the-cat> References: <20220902115754.1280789-1-sr@denx.de> <166316029537.384403.17041270748286061433.b4-ty@konsulko.com> <636e0e41-b5a0-36e0-bd19-d9435513a5d3@denx.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4oF+6Ged69J0+4/e" Content-Disposition: inline In-Reply-To: <636e0e41-b5a0-36e0-bd19-d9435513a5d3@denx.de> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --4oF+6Ged69J0+4/e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 14, 2022 at 04:29:36PM +0200, Stefan Roese wrote: > On 14.09.22 14:58, Tom Rini wrote: > > On Fri, 2 Sep 2022 13:57:46 +0200, Stefan Roese wrote: > >=20 > > > This patchset adds the basic infrastructure to periodically execute > > > code, e.g. all 100ms. Examples for such functions might be LED blinki= ng > > > etc. The functions that are hooked into this cyclic list should be > > > small timewise as otherwise the execution of the other code that reli= es > > > on a high frequent polling (e.g. UART rx char ready check) might be > > > delayed too much. This patch also adds the Kconfig option > > > CONFIG_CYCLIC_MAX_CPU_TIME_US, which configures the max allowed time > > > for such a cyclic function. If it's execution time exceeds this time, > > > this cyclic function will get removed from the cyclic list. > > >=20 > > > [...] > >=20 > > For the series, applied to u-boot/next, thanks! >=20 > Thanks Tom. >=20 > This patch series should not introduce any functional changes. The > next one though, which migrates the WATCHDOG_RESET into the cyclic > function execution IF needs a quite some testing. Perhaps it makes > sense to pull this other series as well quite early in the release > cycle, so that it receives a lot of "attention"? So that we have > time to fix potential problems here. >=20 > What do you think? Yes, the watchdog series should come to next, for v2023.01 as well. Are you comfortable with it now, or are you planning to v2 it? --=20 Tom --4oF+6Ged69J0+4/e Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmMh6WEACgkQFHw5/5Y0 tywJWQwAkLAP9j/k19Ph4Bsvq50iuoZt/O9mJk4piMv7wpkpGLTmsgovnpVGvEl9 0EpCFpNZgyllEuZyoe9Mr/iQyH1Dcoy+kxCiFn/xosUPghaucCE7cqldT/Lym7Lj JPs+PkD54kjOhWaWPifcT0ktrBdtYv2a1/S9mjVd7h8S9M/vI+5lMd1h6bF1Q59S ISQfV7vuBG/eOdqEkkHQpeY/KU6Js6zhLb4PSHwXqUTaXG3wvWvAW2MGP2v77Mna d/9Exhc3J8YtNdhBLv4Cn0GhZfB9saptd+F353VFJfeb+pTkAWtpU9IjSuejWKH5 O5l0PJOHFcWC35Wyn6kQ16MWBgWP39RH208rnfLAB+GC5w7V+qd894KylkvAwICA rT02Kk1Z++yUeMCqa8fGYhdQTUwtyWhz8XcAYrgdDCGcwqfYW/Ix87e2p17oNMtX SkeB6I5nTjWPJfbkP9Q5/4l2oCMrSC3B1BI1CElyu+/TH1qzhhGi6HrGNEWuOBk9 u/uy/II+ =9oin -----END PGP SIGNATURE----- --4oF+6Ged69J0+4/e--