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 6D31FC433FE for ; Thu, 10 Mar 2022 13:26:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B70CF83ACB; Thu, 10 Mar 2022 14:26:25 +0100 (CET) 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="TKTNDSv6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BEAB583ABB; Thu, 10 Mar 2022 14:26:07 +0100 (CET) Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) (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 9AE1D838C8 for ; Thu, 10 Mar 2022 14:25:58 +0100 (CET) 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-x731.google.com with SMTP id s16so4328533qks.4 for ; Thu, 10 Mar 2022 05:25:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=qDLUzpjRMGAUu+fTi2jm4JNcp2Iw0dc17iUU0dy1oOI=; b=TKTNDSv6Vj7Wr8omMB5KHK4mXJ0/iBYyMv1l2gpvWaOf94tXYTazuNJXVzJ8GIIxaR xPn0u6ACAwbc+yMjcizdAmqaa73m5DYjC0thHuyZYYJtZ3/WXD94ypcDc08ddszYSnez zIj9XRS20G/q2kvuj2XLCKRNrdsfe81Osy2qs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=qDLUzpjRMGAUu+fTi2jm4JNcp2Iw0dc17iUU0dy1oOI=; b=XDmpeDqzflY4WhwL/ItoheRtw7iCVv7TPJvO+l9OkRZV2oZ3PJI0hgKqslCGe4K9aH Xn4fhUdbTbmvuddrQ07WlJB6zviPELzexjGTk2VrN2QQXDRorvd9x7Yw2sgSGpewhusM 92vLdvDdlayBmHtiuV1cucCxGiN91drFWO9c5vYw8TAO03fTHU42jeKoDOS/1tTiqZcX PW2LzgFfzUXEwihT+SGpL/KuqlNTyDg0fw7edO6I+PVlphYIEfO1HEDDScGyI8HgTOML lx2Ni/jHDVdIFNn8BPFyBnyeU54la3O3YxuDFNEdSNXKdPVm6siqTbrqN0ohqkOlvB57 megg== X-Gm-Message-State: AOAM532SeqsSu9aCuKsaeg8lSGMn44rWUck21G4y+Odol2YNUirYUkM0 Yki7ZAgwE6aR40ktw4EpZ2uU1g== X-Google-Smtp-Source: ABdhPJy0PVkHj2PKsZQWgKlBaXJvVMaNAOZV3bLwfEo85kcAh9MyXWospL+8VNQIwUittjJYDDpVeg== X-Received: by 2002:a05:620a:2098:b0:67b:4698:aa93 with SMTP id e24-20020a05620a209800b0067b4698aa93mr2914449qka.764.1646918757464; Thu, 10 Mar 2022 05:25:57 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-2ef0-5dff-fedb-a8ba.res6.spectrum.com. [2603:6081:7b01:cbda:2ef0:5dff:fedb:a8ba]) by smtp.gmail.com with ESMTPSA id t1-20020a05620a0b0100b0067d3ac00982sm1875740qkg.57.2022.03.10.05.25.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 05:25:56 -0800 (PST) Date: Thu, 10 Mar 2022 08:25:54 -0500 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List , Marek Vasut , Masahiro Yamada , AKASHI Takahiro , Marek =?iso-8859-1?Q?Beh=FAn?= , Heinrich Schuchardt Subject: Re: [PATCH v2 05/13] event: Add basic support for events Message-ID: <20220310132554.GC5020@bill-the-cat> References: <20220304154308.2547711-1-sjg@chromium.org> <20220304154308.2547711-6-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lE3gG894P96VuAc/" Content-Disposition: inline In-Reply-To: <20220304154308.2547711-6-sjg@chromium.org> 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.5 at phobos.denx.de X-Virus-Status: Clean --lE3gG894P96VuAc/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 04, 2022 at 08:43:00AM -0700, Simon Glass wrote: > Add a way to create and dispatch events without needing to allocate > memory. Also add a way to 'spy' on events, thus allowing 'hooks' to be > created. >=20 > Use a linker list for static events, which we can use to replace functions > like arch_cpu_init_f(). Allow an EVENT_DEBUG option which makes it > easier to see what is going on at runtime, but uses more code space. >=20 > Dynamic events allow the creation of a spy at runtime. This is not always > necessary, but can be enabled with EVENT_DYNAMIC if needed. >=20 > A 'test' event is the only option for now. >=20 > Signed-off-by: Simon Glass Applied to u-boot/next, thanks! --=20 Tom --lE3gG894P96VuAc/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmIp/GIACgkQFHw5/5Y0 tywhZAv/edu64YIvUDD+vHSDGFXM/A5Psz+dgWAo+KZ+k/uUQk33kQPIUPNeuiUH pd0hdJ1/CWi9vq3XTYb4woOZJH68+P+ZSQQGMf0VGJTqB/eCCGjw6r5FvXcG2was 2+1XdXBiiWOxozWOZr0YRvxq5chSRZOc+dJdJwkAUwS5K+JHj1nnRsPdDFab3TUt LHjtTIp2EPWKwKDl4nvpuGDBtwlzOo5pM3owEsx1m+DCEe3mo2mbbUuihzQQtIiy BgGDliHYsdNxJZFVpEnnluBKdyX+aRjTgNHBj0aJ6zMO8uRvLeOCwmkA/0/FifhG Wb9Sp6itWUopEDO4NpmBMDfVNU9AclOEjr6bgMpuJen0ETjqe2hu57NUiLcL1YL0 k0WqrKFGBvKufH3mk2splGANn3IXSxlnGZAbELSgN5KU5OU3lXps1pQS5Gi9JmjI E5216l34kx9pvbEWCQPMj9aJZ5dm1S+F+v91pjF+55zpBRMRQn6iOzSoJp6ijq2u 7mGo7SzV =9sf+ -----END PGP SIGNATURE----- --lE3gG894P96VuAc/--