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 C5C8FC004D4 for ; Thu, 19 Jan 2023 14:48:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 81491856B2; Thu, 19 Jan 2023 15:47:11 +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="KFc7j/K/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0A53E856B5; Thu, 19 Jan 2023 15:46:29 +0100 (CET) Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) (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 18DA18543D for ; Thu, 19 Jan 2023 15:46:26 +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-qt1-x832.google.com with SMTP id o5so1665203qtr.11 for ; Thu, 19 Jan 2023 06:46:26 -0800 (PST) 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:message-id:reply-to; bh=7lYYAI6cLxnXJTEh+bIShSn/nStWeMklu2uZmAoId+8=; b=KFc7j/K/Npz/dytY7NTeAsYJ5xxkhZd8CKihsOJ6UXdnP5iaVnUYUygAiJnD8U4da5 WcKmQ71kJDxuqOXCRejHjFjJLHKwCMmAU9VYJ4YU7w4UAUcj8L8CcJkh/p8338OBn+1M bVclDEBx2XNpNm02iHCvg44r7glTDM+cxjh8U= 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 :message-id:reply-to; bh=7lYYAI6cLxnXJTEh+bIShSn/nStWeMklu2uZmAoId+8=; b=PQI5GNcNdT4gXZ/CWE5dGywrp5nygiHlE8S1lgvx+INRGhxDMFuhx0IxmOPXB/O53R gTN3KkBP0QX+Eq+ICurP8wuUe2+QsR1v4MYva/3RCTrWMZeQSwagJ1gYa4SSN5FV+XxR z0VoDmmNUFh5aHL5rC1mYoZ8+xn/tm5EJOxOALiYVTBtsXl8fIWQ0FkBrf46rkG/PYuO yS3pkqjGSTymPsX4BiOYxzoWbIJVdq+jltfnqSozXoxlVIkIdjx1tUCQUybreYZ4BSOd RDIPCYdt/Gb2yGlqYdjKmLmWCkP+0IBGz/OJNpp5hIfGuUkwCi8QW+xcP44nk+38+CEb bykQ== X-Gm-Message-State: AFqh2kpY3EDWLvwRbOT9zZ+aILLesca5jIo53ivB1fUZqE1kN92T02WR RySojjqmhyC58F/pTQlqQN0O9HSg08GCA+loBsg= X-Google-Smtp-Source: AMrXdXsgIfJWbQpkUhk+qEemQ/PEtCpWYY2qOM80r2CrkdAxXfB6Wg3ew/9OjZq+jrLx8rq7nCTKqA== X-Received: by 2002:ac8:12c2:0:b0:3b3:6088:9e7a with SMTP id b2-20020ac812c2000000b003b360889e7amr14560000qtj.36.1674139584790; Thu, 19 Jan 2023 06:46:24 -0800 (PST) Received: from bill-the-cat (2603-6081-7b00-6400-99bd-1ec8-6b02-61e8.res6.spectrum.com. [2603:6081:7b00:6400:99bd:1ec8:6b02:61e8]) by smtp.gmail.com with ESMTPSA id fe13-20020a05622a4d4d00b003a580cd979asm19154575qtb.58.2023.01.19.06.46.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Jan 2023 06:46:24 -0800 (PST) Date: Thu, 19 Jan 2023 09:46:22 -0500 From: Tom Rini To: u-boot@lists.denx.de Cc: AKASHI Takahiro , Heinrich Schuchardt , Oliver Graute , Francesco Dolcini , Simon Glass , Fabio Estevam Subject: Re: [v3 2/2] event: Correct dependencies on the EVENT framework Message-ID: <20230119144622.GZ631605@bill-the-cat> References: <20230114204936.3832739-1-trini@konsulko.com> <20230116204649.616532-1-trini@konsulko.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OtXN0xDA1zr/oUEL" Content-Disposition: inline In-Reply-To: <20230116204649.616532-1-trini@konsulko.com> 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 --OtXN0xDA1zr/oUEL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 16, 2023 at 03:46:49PM -0500, Tom Rini wrote: > The event framework is just that, a framework. Enabling it by itself > does nothing, so we shouldn't ask the user about it. Reword (and correct > typos) around this the option and help text. This also applies to > DM_EVENT and EVENT_DYNAMIC. Only EVENT_DEBUG and CMD_EVENT should be > visible to the user to select, when EVENT is selected. >=20 > With this, it's time to address the larger problems. When functionality > uses events, typically via EVENT_SPY, the appropriate framework then > must be select'd and NOT imply'd. As the functionality will cease to > work (and so, platforms will fail to boot) this is non-optional and > where select is appropriate. Audit the current users of EVENT_SPY to > have a more fine-grained approach to select'ing the framework where > used. Also ensure the current users of event_register and also select > EVENT_DYNAMIC. >=20 > Cc: AKASHI Takahiro > Cc: Heinrich Schuchardt > Reported-by: Oliver Graute > Reported-by: Francesco Dolcini > Fixes: 7fe32b3442f0 ("event: Convert arch_cpu_init_dm() to use events") > Fixes: 42fdcebf859f ("event: Convert misc_init_f() to use events") > Fixes: c5ef2025579e ("dm: fix DM_EVENT dependencies") > Signed-off-by: Tom Rini > Tested-by: Simon Glass > Reviewed-by: Simon Glass > Reviewed-by: Fabio Estevam Applied to u-boot/master, thanks! --=20 Tom --OtXN0xDA1zr/oUEL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmPJV74ACgkQFHw5/5Y0 tywp9gv8DuhjzMNwC39FHxX6plWAHTMFrjRBUBKe/mjpIRSMk408bHjhKO1GAyvb Oom4a4ERDSsQoD4LdEvMMxx0OfNaM0f5+BX1lBe8SWIfTI3if6Kd4wTn3AEdANGS RuSWgqsi/KyXNjB9nOyqFj2nFrJkMRr9kURmVvQlb4XDzhDlQsrXlZVhyW9RjbI2 AH4Hu3zRLZHaRdHYRdoCMEe3Lhm4BjslEs88OPk/h92FVZ5VelS5BoOEt40ajsy7 imp/v9G4YwMgzKvHJesBjYF/fdBioMa32G3bOwpNjV2aiv/DdEqzricSLaZAy97t 43E6Y4BIBIAwBAPw1RI/XCiyqPRigbl744qSvx7uKTJ7UZLaBqQqovPZHkLQQrE0 OPzXRRQlg5b2XFCmFd4TyyjFy+gGIQLWvJuA7KNm3DoNXRK+lSjxMN63GAnWuxLX xrccF3lG2xeQifyqFDWLO0WGmKczJj2uc22NMmfWX4hNb/UyYjRGb4beTf2Ijcav IHVCBUgI =KDcw -----END PGP SIGNATURE----- --OtXN0xDA1zr/oUEL--