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 82F89C433F5 for ; Fri, 4 Feb 2022 14:01:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E822382135; Fri, 4 Feb 2022 15:01:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (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="F4Fz90Ob"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9FA6B8368F; Fri, 4 Feb 2022 15:01:02 +0100 (CET) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (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 D0AF48210D for ; Fri, 4 Feb 2022 15:00:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82e.google.com with SMTP id x5so5670063qtw.10 for ; Fri, 04 Feb 2022 06:00: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=bLoHVkW12ICbiB/oS6bepNsC2XNzhUArM0Yvx2DMM7o=; b=F4Fz90Obpjws6+r9zWHiuKkR0Mu5dFM4zpL3AN/vXpNPWLukQniBdCzwhK6XKu9Svz k1R29RqHNKQPQQXKKzJSpmmZnlcRaJ4N6ab3CwJwisGQOW5gJZwsx+EKB0UACgHsdEbd 9kZ0sRHnNw1D9ERG6qXzO796nojp8MRoCIpAo= 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=bLoHVkW12ICbiB/oS6bepNsC2XNzhUArM0Yvx2DMM7o=; b=ZoVecE5U+wmqkzGO6Kft8pK3Tmrjsr7D9as2/bdZxtfh3bdYBWiMlXTKKcKag3lfm6 Obei8bh+U/qxEHp7+YhxGcM3YnF5+yXLqF9CARNotOVIRltA5ZhrtRhND03z8B5xIptE k726q3jfOLokoqt3x0vIJgvWlaZSaMh1OshG8egMn7owTy9KR6PLGn4rdHRtuieY0g7w qchHgbtGMHQVjXEmt/Cb8AehufKoIKn+ytrS/yz2ETH00k7+WjrtT5dnWd+ziLDaxo4t emFL5OXQGAPvzu1f9+koiEsNLGXJCOrlO4FB6TfE39mEaQU+bfhwBiGEt2WGr8L3GKl0 B3xQ== X-Gm-Message-State: AOAM533aAcsx6Ac8J+5kl7c6H0dPJTGMVlqxf2q3a+MujaJg7UDTkSzi k6MZU+uN/NTYPA2syOkIyv8tLg== X-Google-Smtp-Source: ABdhPJwdOHbgGytgXqlhYOqfXU6Y2ibpGykFFZdbZ1iPdyMPpxT62J1tIDnFc3r8ZF1SaPyO0FQe2Q== X-Received: by 2002:ac8:7c55:: with SMTP id o21mr1982428qtv.659.1643983257424; Fri, 04 Feb 2022 06:00: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 g20sm1224592qtk.2.2022.02.04.06.00.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Feb 2022 06:00:56 -0800 (PST) Date: Fri, 4 Feb 2022 09:00:55 -0500 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Simon Glass , U-Boot Mailing List Subject: Re: [PATCH] Nokia RX-51: Convert to CONFIG_DM_KEYBOARD Message-ID: <20220204140055.GQ7515@bill-the-cat> References: <20220203183850.10186-1-pali@kernel.org> <20220203211623.GY7515@bill-the-cat> <20220203214544.GA7515@bill-the-cat> <20220203215307.GB7515@bill-the-cat> <20220204105652.sluginmttbwgcwku@pali> <20220204134155.GP7515@bill-the-cat> <20220204135539.n24gfoh5nw3wzjw7@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JpiLAyIKUr9Dcxlv" Content-Disposition: inline In-Reply-To: <20220204135539.n24gfoh5nw3wzjw7@pali> 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 --JpiLAyIKUr9Dcxlv Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 04, 2022 at 02:55:39PM +0100, Pali Roh=E1r wrote: > On Friday 04 February 2022 08:41:55 Tom Rini wrote: > > On Fri, Feb 04, 2022 at 11:56:52AM +0100, Pali Roh=E1r wrote: > > > On Thursday 03 February 2022 15:02:02 Simon Glass wrote: > > > > Hi, > > > >=20 > > > > On Thu, 3 Feb 2022 at 14:53, Tom Rini wrote: > > > > > > > > > > On Thu, Feb 03, 2022 at 04:45:44PM -0500, Tom Rini wrote: > > > > > > On Thu, Feb 03, 2022 at 04:16:23PM -0500, Tom Rini wrote: > > > > > > > On Thu, Feb 03, 2022 at 07:38:50PM +0100, Pali Roh=E1r wrote: > > > > > > > > > > > > > > > Signed-off-by: Pali Roh=E1r > > > > > > > > --- > > > > > > > > > > > > > > > > I would really appreciate if U-Boot test framework starts p= rinting > > > > > > > > deprecation warnings, instead of sending patches which dire= ctly drop > > > > > > > > support for some boards. > > > > > > > > > > > > > > > > There is absolutely no warning during building U-Boot for R= X-51 board > > > > > > > > that this board has not been converted to DM_KEYBOARD yet. > > > > > > > > > > > > > > Please send some patch that implements what you're wanting to= see for > > > > > > > how to make the warnings more visible. I do agree the warnin= g for > > > > > > > v2022.10 only showed up after the merge to -next once v2022.0= 1 came out, > > > > > > > but it's still a fairly long time to clean up the few unconve= rted > > > > > > > boards. > > > > > > > > > > > > Oh, I see what's going on. Simon, the DM_KEYBOARD check isn't > > > > > > triggering for any boards. I'll look more. > > > > > > > > > > And here's where we're at. nokia_rx51 doesn't set CONFIG_KEYBOAR= D, so > > > > > didn't trigger the warning about migration. Every platform that= sets > > > > > CONFIG_KEYBOARD is migrated. I don't know how many other platfor= ms are > > > > > in the situation nokia_rx51 is in. Yanking out the legacy code a= nd > > > > > seeing what fails to build, and going from there is probably the = next > > > > > option. > > > >=20 > > > > Yes. > > > >=20 > > > > As to your questoin, none that I know of. I sent a series to drop > > > > cfb_console which was how this used to work, although in fact it > > > > hasn't worked for a while. The problem here seems to be that this > > > > board was multiple migrations behind and so was not caught. > > >=20 > > > It is not truth that cfb_console has not worked. This driver is / was > > > working fine on n900 without any issues. > >=20 > > Yes, it's such an old missed migration that there's no check for it. > >=20 > > > > We should be able to remove the migration check. > > > >=20 > > > > Pali, just to explain from the other POV, I am finding it increasin= gly > > > > frustrating dealing with ad-hoc CONFIG options, old drivers, etc. We > > > > really need to complete some of the migrations we started 6 years a= go. > > > >=20 > > > > Regards, > > > > Simon > > >=20 > > > Well, I see and understand you. But as I explained it more times, it = was > > > me who is/was waiting for review of n900 patches and I was not able to > > > speed up review process. There was always some n900 patch in waiting > > > state. > > >=20 > > > Now when pending n900 patches were reviewed and merged, I prepared and > > > sent another one -- this DM_KEYBOARD which removes one part of > > > cfb_console code from n900 board code. > >=20 > > Alright. So, do you see the warning about DM_SERIAL? Are you going to > > start work on that migration now, or in about a week or two when I pick > > this up, assuming no changes are requested? >=20 > I do not see any warning, neither about DM_SERIAL nor any other in RX-51 > test job which builds bootable image for RX-51. See CI link: > https://dev.azure.com/u-boot/u-boot/_build/results?buildId=3D3580&view=3D= logs&j=3D7f54f624-c8dd-54be-07eb-7f2dda6bba78&t=3Dfc9e5b19-7cbc-51d2-a2e2-6= e73893dece5 >=20 > But there is CONFIG_DM_SERIAL warning for nokia_rx51 board in the > Build the World omap job, see CI link: > https://dev.azure.com/u-boot/u-boot/_build/results?buildId=3D3580&view=3D= logs&j=3D36d465ef-27e5-5934-99d6-cf4495f0bf3d&t=3D2b422a7f-7065-531c-aa25-e= 0171b04f5d1 It's also visible when just doing "make CROSS_COMPILE=3D... nokia_rx51_config all" so I guess you need to debug your script and see why it's not showing that? > After this DM_KEYBOARD patch, I'm planning to look at DM_VIDEO as Simon > really wants it and then I can look at DM_SERIAL. OK. But, are you going to start before or after this gets merged? --=20 Tom --JpiLAyIKUr9Dcxlv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmH9MZMACgkQFHw5/5Y0 tyxTbgwAmqXZs7wEMoHnPxLFedmeVvfiZTQKQGCVZNVU9AEKsyDDlyWMgIrLIhHM Vk0jiO+Y/4a7zza7ENzzqs16XxOLYFvFdfF6vYnLDxcRYTIyYzVQvoJnc81bZPgT K5r7xQxKmjCZQLrB63HdI0aKlKN6B24Oo46k1YekgcBzg6KjJUaIPqucVebxl9nP Gy378+XGsOYzSrK0PVuQtqAyGfYW4LbrXFgagB+YNdVXdtDyvDU60UwRA2Z3Jm/w zjmhAA6KJ7lhvhdHywjaIBjgmHwkPAraB6i3DOoSS1tu+sxhk+eXJ/YSm8SR45XA 6Sdj5ZmrwJ0tmo8nYZdJartA+S1pIOvqwsfx7UtkN3zhiGvA6sLi5hNEb76bCXYe xVTTxk8j8eUH9Bh0bByYw5wjKVI3c0/j0Y+dKXLI3h3AGYqYobiWX8S0lcWxlR5l h8pxVS7K/ts9s1rqyZk2S6/B4ljlHYHaNSy+k+0an0VqxMJIWGRHZO85q9xKs3D3 IZJcvXYL =6O08 -----END PGP SIGNATURE----- --JpiLAyIKUr9Dcxlv--