Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp732670rwb; Tue, 27 Sep 2022 04:03:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Ux0Qs0Gge1T1+VTmgnkEDGgZrgY+gTWT4YnOLA/4KaautmfadQL+jeYUDLD5bU9kWeNGY X-Received: by 2002:a17:90b:1e49:b0:203:38c:365a with SMTP id pi9-20020a17090b1e4900b00203038c365amr4008795pjb.133.1664276613354; Tue, 27 Sep 2022 04:03:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664276613; cv=none; d=google.com; s=arc-20160816; b=cWr1PdFwvmblZR7rPUGgmgxo1/HuUZXlmprxyhs27T1FNnS8ucgnDU8zwPxqNul5SP Rbos1eC4V7a9j8nDIx7jFzfoIPRNf1hJ4+PWCc1tbN50bu7iYGr9Qe0LkOEl7sx7P/sg sIJ7QMUzw+EGLewBKHuHCFNk4Yqjt7jAGBEVJyFMjbznrwDWLUtr4sXpsSud1BBB9Ia2 yWsd4kvWz5nFLj5cSN4iHrkkPkcIZJFmtNwOSI4bPw5MfHRWLi+9eXqQXmSexfkjcm2V IZnzSKS+ndCv9dJg0eQ1L4d1E9AOmbHuTZW+jW82K2XowDYKyAVMGbv9W+1mHVbx3PuR bPWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=yfbNCopZ72XGstF61OAFj3khLlDjMus5EFx+0XOK5BI=; b=vhv5lYVwOtUSCc2SZY9U7I43YbbYkqgVALb1BgBG/QO71ocYQsoxmRlx2CKOIgyRrD t80guUya9kaB2JvnHMHNh6iqP60/l2sgdpGzRrqCnSGaHKwb5adHt0/43+Cp6S7flGPd sHs0rrpmd6/LX/KNyalpxx/MflWTb4Efgv721IPoMutSYLuhkE0nGhRYg7xmX109ifl8 3AbdpxdQaBA/XM/Jkifs87MGDlMtjgNJW0X6mTShKuMFJIvQGEXMe2pNx8ghO1PsG6DH E0I5/E6wU3gprw77qq/O46hKpNPTazjRGLfnao//f073OQcO6ouBlBVTP6qJwCqEjbl3 r23Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="GH2U78y/"; 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 o26-20020aa7979a000000b0052d9e5f07d9si1613243pfp.210.2022.09.27.04.03.20; Tue, 27 Sep 2022 04:03:33 -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="GH2U78y/"; 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 S231222AbiI0Kk5 (ORCPT + 99 others); Tue, 27 Sep 2022 06:40:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbiI0Kkr (ORCPT ); Tue, 27 Sep 2022 06:40:47 -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 1166192585; Tue, 27 Sep 2022 03:40:46 -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 42D0261765; Tue, 27 Sep 2022 10:40:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00533C433C1; Tue, 27 Sep 2022 10:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664275245; bh=DA4fSOa6GRctG/cz6WPvoD1hPM15TyILiZ0edmgdXBE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GH2U78y/mpeStLQelepkQSPwkIumC5OU4regHqfZ0qggtQDJAFEFIU5kWazfBL4Wj BmYTA/xGPCvK62LHkFMajL4fk9ZN9dmySTCfhW+pZ3OiHSv4Q29Rsc7ClSgd5iLd6e xmvij6CMrrntkVH/xYuOs0xdgMQzRXigFIECJgDIOReu/iZGGZI1ji/HI9Lcw01tpF yCWQN4lwK5pKQu9mzJwPYvou/FMO4U8MiEniXYO16qNALBOs2/ubMjZaDJWjUO6+9V Oc9lQt4HUSaBWjOxYSweRitzkozSZMKswkg5aYzqnhSiAQBNZU1cTCOLImt0HZcAEn 0DgbQ27azZrcw== Date: Tue, 27 Sep 2022 12:40:38 +0200 From: Lorenzo Pieralisi To: Hongxing Zhu Cc: Bjorn Helgaas , Ahmad Fatoum , "l.stach@pengutronix.de" , "bhelgaas@google.com" , "lorenzo.pieralisi@arm.com" , "vkoul@kernel.org" , Marcel Ziswiler , "kishon@ti.com" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , "kernel@pengutronix.de" , "linux-phy@lists.infradead.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v1 0/2] Fix the wrong order of phy callbacks Message-ID: References: <20220830150534.GA97821@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS 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 On Wed, Aug 31, 2022 at 01:37:02AM +0000, Hongxing Zhu wrote: > > -----Original Message----- > > From: Bjorn Helgaas > > Sent: 2022年8月30日 23:06 > > To: Hongxing Zhu > > Cc: Ahmad Fatoum ; l.stach@pengutronix.de; > > bhelgaas@google.com; lorenzo.pieralisi@arm.com; vkoul@kernel.org; Marcel > > Ziswiler ; kishon@ti.com; > > linux-pci@vger.kernel.org; linux-kernel@vger.kernel.org; dl-linux-imx > > ; kernel@pengutronix.de; linux-phy@lists.infradead.org; > > linux-arm-kernel@lists.infradead.org > > Subject: Re: [PATCH v1 0/2] Fix the wrong order of phy callbacks > > > > On Tue, Aug 30, 2022 at 07:50:55AM +0000, Hongxing Zhu wrote: > > > > -----Original Message----- > > > > From: Ahmad Fatoum > > > > Sent: 2022年8月30日 15:16 > > > > To: Hongxing Zhu ; l.stach@pengutronix.de; > > > > bhelgaas@google.com; lorenzo.pieralisi@arm.com; vkoul@kernel.org; > > > > Marcel Ziswiler ; kishon@ti.com > > > > Cc: linux-pci@vger.kernel.org; linux-kernel@vger.kernel.org; > > > > dl-linux-imx ; kernel@pengutronix.de; > > > > linux-phy@lists.infradead.org; linux-arm-kernel@lists.infradead.org > > > > Subject: Re: [PATCH v1 0/2] Fix the wrong order of phy callbacks > > > > The above quoting style makes it harder than necessary to follow conversation. > > See hints at: > > > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wiki > > pedia.org%2Fwiki%2FPosting_style%23Interleaved_style&data=05%7C01 > > %7Chongxing.zhu%40nxp.com%7C70f38214c8f94c5932b408da8a991996%7C > > 686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637974687433589209 > > %7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLC > > JBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ceZmDd > > sNeC9nU6qmt2qXR03fQn33vY%2FqvBIYzeWW7mk%3D&reserved=0 > > > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpeople. > > kernel.org%2Ftglx%2Fnotes-about-netiquette&data=05%7C01%7Chongxi > > ng.zhu%40nxp.com%7C70f38214c8f94c5932b408da8a991996%7C686ea1d3b > > c2b4c6fa92cd99c5c301635%7C0%7C0%7C637974687433589209%7CUnkno > > wn%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1ha > > WwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=PkhpGGf7FcvsQTjc0 > > hUMpr9Q4JVKeFoLR4foA6zt6jg%3D&reserved=0 > > > > The ideal thing would be something like this, where there's a single line for > > each sender: > > > > On Tue, Aug 30, 2022 at 07:50:55AM +0000, Hongxing Zhu wrote: > > > On Tue, Aug 30, 2022, at 03:16PM, Ahmad Fatoum wrote: > > > > On 30.08.22 05:47, Hongxing Zhu wrote: > > > > > Do you mean to squash this fix to the preview series? > > > > > I'm afraid that it's not easy to do that. > > > > > Because there are a lot of pci-imx6 code changes after > > > > > commit: 1aa97b002258 ("phy: freescale: pcie: Initialize the imx8 > > > > > pcie standalone phy driver"). > > > > > > > > The way I understand it, if a bisect ends up between your two > > > > patches, i.MX8M PCIe will be broken, whereas it worked before. I > > > > thus wonder if we shouldn't instead squash this series here into a > > > > single patch. > > > > > > Yes, it's a possible case when do the bisect. > > > Since these changes are belong to different git repo. > > > > I don't understand the point about different git repos. Patch 1/2 touches > > drivers/pci/controller/dwc/pci-imx6.c, patch 2/2 touches > > drivers/phy/freescale/phy-fsl-imx8m-pcie.c. They're in different directories, > > of course, but are in the same Linux kernel source repo. > > > > They're maintained by different people, but we can easily deal with that by > > getting an ack from one and merging via the other. > > > > > It will bring maintain difficulties if these two patches are squashed > > > into a single one. > > > It's difficult to make a choice. > > > > What maintenance difficulty do you see here? I think it looks > > *easier* if these are squashed -- that would avoid the possibility of backporting > > one without the other, which would certainly be a problem. > > > > If a bisect lands after patch 1/2 but before 2/2, it looks like i.MX8M will break > > unnecessarily. > > > > I think Ahmad is right that patches 1/2 and 2/2 should be squashed into a > > single patch to avoid this bisection hole. > Hi Bjorn: > Thanks for your comments. > My descriptions are not accurate enough. These two files are maintained by > different people, I'm afraid to bring troubles to the maintainers if > I squash these two patch into a single one before. > Now, I understood the situation. > I'm glad to squash them to avoid the bisetion hole. Are you sending an updated patch ? Thanks, Lorenzo