Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6936480rwr; Wed, 10 May 2023 01:13:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6X4WCfigL5XZYr23b9Bk/9xGmMISzbT1+2+DvU+GDDyY/3jYidf9tCiR61KpIKpoyIBROP X-Received: by 2002:a05:6a20:7354:b0:101:1d1d:43a4 with SMTP id v20-20020a056a20735400b001011d1d43a4mr7352588pzc.15.1683706387873; Wed, 10 May 2023 01:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683706387; cv=none; d=google.com; s=arc-20160816; b=xMFLUlq9ybZlCHUtKI3ydGFao6tEPT4wHFgirHpkq0h2rSFiME4EBkCSlnzkiaO22b KWj5+PxVzhEx2BK52jk1tu0t1pTke6oRGz4n1F/ffUQjWohh0wJqkCc8L/JQDlIZtiHO bY04OBe2cSP+R8WmCJ1xQDI1uj96wz6EIlifekYkrC3atoIwwmaupt1ZMSF8dbaUj5dV wYnq7TWRmxYyuyMSbD/rZ6wPpCI0dJCFuh1/SXcoyhJbxaMhBhcYGiXjBAEtfTnZBLe+ eqHEy7JK/jY4WgKzVdVJsrSDhHFEgS0OKmy4OFPAygp/9E0B1fKClyXs9tDCFjTT7vxS ZvGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4sOeJLiPiOGVs6BbJ7CjIzoRxu7RKH1WHYhNglS9JWI=; b=KHL03LylrM1iqalPM/UIvhaL9e4X8ME74IHujx9SgmUYUkkSVrat3SdJxi44QQ6lpU CtcVd/pAb2+hHG+GeQzGmUcXZx0MdImHWODsb/ls7eEvaFQ1SeRraBRhFI3E0JkuhmMG E+UU+kx/6vbUerTfY1MdT2XYOur7DTJae4CV66MDjqrHzb+L+vIMliAKxgPWtUb/evdB Sg6zrVNGZ02LbUe+DST0t2BCuDXMKbKp6/n2GOf/e95XSgxtYQs6XPnCU4cn8J8b2f+3 B/rQdpoKQrO2WnNpK4VNqjdk4zs5RtUv6rQ8H7u7QLZjYNV7MgP0THNXL1iSj9kxYbCZ 78hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GKKyKA42; 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 h27-20020a63385b000000b0052c6d017b24si3338361pgn.601.2023.05.10.01.12.53; Wed, 10 May 2023 01:13:07 -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=GKKyKA42; 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 S236485AbjEJIFi (ORCPT + 99 others); Wed, 10 May 2023 04:05:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236015AbjEJIFg (ORCPT ); Wed, 10 May 2023 04:05:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23A281BC0; Wed, 10 May 2023 01:05:35 -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 dfw.source.kernel.org (Postfix) with ESMTPS id A344A63B91; Wed, 10 May 2023 08:05:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 297C9C433D2; Wed, 10 May 2023 08:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1683705933; bh=zAtZ70naQXiiJhGVd2X1W6n4PKQ2vnqsXMKHc0aV1PA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=GKKyKA42JDR90NrVwF45MXcGgM8C6GYVbd/ltDYA/rLLcBwYNSCbdLqKOuL4Qv314 Yo6DDlidCG0a1SPvpzZsBcUehYoRPa3WieWEvZThD6u0fCFrwCfQS+fMuIecCE/uGv SfVwCx2PN2BEPQKl+WtrEp/EK8e+nXKHI/FoypIUxXVgMW6rTi1H3bLdZPwbsnDjMF h0N+iroiEEfh405dmPAS7IwJ+fXvlV7efHo6FqGBkOnM15XKW/uDjBGxt+cOX+FVft 7aPEamaz4tLDKZqOKCD6AK0Wd5vPbpuTa3AtTwS5ehEcaUXbnZhujH7246TqNeIyzx PD+sQsUMMsjmg== Date: Wed, 10 May 2023 09:05:27 +0100 From: Mauro Carvalho Chehab To: Linus Torvalds Cc: Linux regressions mailing list , "Sudip Mukherjee (Codethink)" , Laurent Pinchart , Shawn Guo , Sascha Hauer , NXP Linux Team , linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Pengutronix Kernel Team , Fabio Estevam Subject: Re: mainline build failure due to cf21f328fcaf ("media: nxp: Add i.MX8 ISI driver") Message-ID: <20230510090527.25e26127@sal.lan> In-Reply-To: References: <51cff63a-3a04-acf5-8264-bb19b0bee8a3@leemhuis.info> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Linus, Em Mon, 8 May 2023 09:27:28 -0700 Linus Torvalds escreveu: > On Mon, May 8, 2023 at 3:55=E2=80=AFAM Linux regression tracking #adding > (Thorsten Leemhuis) wrote: > > > > Thanks for the report. The fixes (see the mail from Laurent) apparently > > are still not mainlined (or am I missing something?), so let me add this > > report to the tracking to ensure this is not forgotten: =20 >=20 > Gaah. I was intending to apply the patch directly before rc1, but then > I forgot about this issue. >=20 > Mauro: I'm currently really *really* fed up with the media tree. This > exact same thing happened last merge window, where the media tree > caused pointless build errors, and it took way too long to get the > fixes the proper ways. >=20 > If something doesn't even build, it should damn well be fixed ASAP. >=20 > Last release it was imx290.c and PM support being disabled, and I had > to apply the fix manually because it continued to not come in the > proper way. >=20 > See commit 7b50567bdcad ("media: i2c: imx290: fix conditional function > defintions"). >=20 > But also see commit b928db940448 ("media: i2c: imx290: fix conditional > function definitions"), which you *did* commit, but note this on that > commit: >=20 > AuthorDate: Tue Feb 7 17:13 > CommitDate: Sat Mar 18 08:44 >=20 > so it took you a MONTH AND A HALF to react to a build failure. >=20 > And see this: >=20 > git name-rev b928db940448 > b928db940448 tags/v6.4-rc1~161^2~458 >=20 > ie that build fix that you finally committed came in *AFTER* the 6.3 > release, even though the bug it fixes was introduced in the 6.3 merge > window: >=20 > git name-rev 02852c01f654 > 02852c01f654 tags/v6.3-rc1~72^2~2^2~193 >=20 > and now we're in the *EXACT*SAME* situation, with me applying a build > fix directly, because you couldn't get it fixed in a timely manner. Sorry for the mess. I'll work to improve the process to avoid this to happen again. FYI, in order to reduce build issues, we have a Jenkins instance doing builds with gcc and CLANG at the media stage tree, before we even mer= ge them at the main media development tree. They run with allyesconfig for x86_64 arch, with W=3D1: https://builder.linuxtv.org/job/media_stage_clang/ https://builder.linuxtv.org/job/media_stage_gcc/ And another CI job testing bisect breakages as I receive pull requests, applying patch per patch and using both allyesconfig and allmodconfig, also on x86_64 arch with W=3D1: https://builder.linuxtv.org/job/patchwork/ The rule is to not merge stuff on media tree if any of those jobs fail. I also fast-forward merging patches whose subject states that the build has failed. In order to help with that, on normal situation, I usually take one week to merge stuff from media_stage into media_tree, doing rebases at media_stage if needed to avoid git bisect build breakages at media_tree (which is from where I send my update PRs to you). Unfortunately, currently we don't have resources to do multiple randconfig on Jenkins, as the build machines on the server are very slow. Yet, I'll add CONFIG_PM disabled to the test set, as it seems to be a recurrent source of troubles those days. I'll also try to identify a couple of other=20 randconfigs that would help to catch earlier problems like that. If some other problematic Kconfig variables comes to your mind, please feel free to suggest them for us to add to the CI automation. - In the specific case of this fixup patch, I didn't identify it as a build issue, so it followed the usual workflow. We have a huge number of patches for media, and it usually takes some time to handle all of them. This one just followed the normal flow, as it didn't break Jenkins builds nor the subject mentioned anything about build breakage. Regards, Mauro