Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp178013pxb; Tue, 15 Feb 2022 10:47:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAL521fHf4GfyJKJ57iEmiqeOuV1LhbH37yeC8F0W2CZJTogf6m3ema/Kxac8QNBNPyfjK X-Received: by 2002:a63:6a46:: with SMTP id f67mr190619pgc.541.1644950841772; Tue, 15 Feb 2022 10:47:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644950841; cv=none; d=google.com; s=arc-20160816; b=RGLe/ZyVSh1NgBhIIsZaaCQ5tHKMOGDZS+v6Oi+dXdCB6OLSGkfyrxrwqbteDsCPVu 5Xfvm/pYIaj9YZRiWB2PgTV8SskLenNtCsDYg4p0gH+gHp3HvMlsBjK/Dw2yHgrtZBBJ TP0a20w2tZ5rkgrmGXwnMjZ2h6Z+sbVOn1sANZBgRNT7ai2QV8NCH3A+R4IjuWrhtyxb FfQ8QC2ngBu+oiDMJYMT5YiQyLUQJp4KH2q/Hrf91dy4ZGahQwmf1pC5Z3ZMXsTu/bRy WYQ4jiMgJXiow8k2Uo3VrFQ84KY9mpDcjtV1W/3iJHnmNcmaS9DUqxb/g6uHKSfmgvrL AgCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/6F5T9LlcQL27Y6ycd1XHgrYGOw9D5Z6CUhdLH00OTI=; b=hL6L8CAFZXEsDcU0f/sEXaBOsRVENxhIFWx0gFl0yr18y4MOiDu5zzvHxjRdShigij hfVNOMZWyq1Ejansc5rbPSI28RLiGOTdTxzZ4GVZr1riE3mIR48xf0OAdprfamZpTxjh KVRMCyTHV3PLrZ+t8zM3/DdowzmsQpN2hQy4/7FIDC7z3mgK0FmPb7rIu7HBSvCowFpu 4Ud2AXfd3LJcckyW+s3RY6ImAKbUCSOFKmIUXewHpQeDcq18O5P4AVgGmwKmSjWygj8d KTB0bFy7FRlki93SxUqo6AZgrkGtj0h7XSEeLreXXrBHSh1s2i1zgkwdRO4LiYHEyfut zKCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Uo45ixEn; 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 q7si33392536pfs.96.2022.02.15.10.47.06; Tue, 15 Feb 2022 10:47:21 -0800 (PST) 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=Uo45ixEn; 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 S236066AbiBOJsd (ORCPT + 99 others); Tue, 15 Feb 2022 04:48:33 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:60206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233134AbiBOJsb (ORCPT ); Tue, 15 Feb 2022 04:48:31 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 851D3E6843; Tue, 15 Feb 2022 01:48:22 -0800 (PST) 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 2164F611D9; Tue, 15 Feb 2022 09:48:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 541D9C340EB; Tue, 15 Feb 2022 09:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644918501; bh=mtgWCmIxtYu+pI+a3qsD5U922sCEn6VGKZmy6iT7BwA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Uo45ixEngtxvGmZy42/+/B/CrC5rIf07aZrIKMDT0L1yKgQVjdZSd7NXVaGG4kvND 6USzuUsq11u4ey35aztktbCTtQ0xwIHBjp64apvdSLLg7j8UhJ9/PZXIkIqZabwF2x 8f87y5sxq9bCl3HayAXqvUCuy3n50Q4Lchh4i1NO7Hf6/RsW1NGCrUnSLuwNc53sk3 8eJ2x1exqYWCb9on035XdntfuJvT4eHufzUIhVyXDEndOWAUvFU9O7ZVls1mjZTJY6 CZVhEhxPq3VRYY/cXpTEiJ+9YuxUHQLuBTsuyrApUXrVmmBqJhR7z4cuzyfLaolffj sl8qI9ARAtECg== Received: by pali.im (Postfix) id A12CAF13; Tue, 15 Feb 2022 10:48:18 +0100 (CET) Date: Tue, 15 Feb 2022 10:48:18 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Bjorn Helgaas Cc: Lorenzo Pieralisi , Thomas Petazzoni , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Jan Palus , Marek =?utf-8?B?QmVow7pu?= , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Thorsten Leemhuis Subject: Re: [PATCH] PCI: mvebu: Fix merge conflicts in commit 91a8d79fc797 Message-ID: <20220215094818.yl44tioh4spauh4q@pali> References: <20220214110228.25825-1-pali@kernel.org> <20220214154628.GA8830@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220214154628.GA8830@bhelgaas> User-Agent: NeoMutt/20180716 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,T_SCC_BODY_TEXT_LINE 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 Monday 14 February 2022 09:46:28 Bjorn Helgaas wrote: > On Mon, Feb 14, 2022 at 12:02:28PM +0100, Pali Rohár wrote: > > Commit 91a8d79fc797 ("PCI: mvebu: Fix configuring secondary bus of PCIe > > Root Port via emulated bridge") was incorrectly applied from mailing list > > patch [1] to the linux git repository [2] probably due to resolving merge > > conflicts incorrectly. Fix it now. > > > > [1] - https://lore.kernel.org/r/20211125124605.25915-12-pali@kernel.org > > [2] - https://git.kernel.org/linus/91a8d79fc797 > > > > Fixes: 91a8d79fc797 ("PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridge") > > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=215540 > > Reported-by: Jan Palus > > Signed-off-by: Pali Rohár > > Applied to for-linus for v5.17 with the following commit log, thanks! > > commit c49ae619905e ("PCI: mvebu: Fix device enumeration regression") > Author: Pali Rohár > Date: Mon Feb 14 12:02:28 2022 +0100 > > PCI: mvebu: Fix device enumeration regression > > Jan reported that on Turris Omnia (Armada 385), no PCIe devices were > detected after upgrading from v5.16.1 to v5.16.3 and identified the cause > as the backport of 91a8d79fc797 ("PCI: mvebu: Fix configuring secondary bus > of PCIe Root Port via emulated bridge"), which appeared in v5.17-rc1. > > 91a8d79fc797 was incorrectly applied from mailing list patch [1] to the > linux git repository [2] probably due to resolving merge conflicts > incorrectly. Fix it now. > > [1] https://lore.kernel.org/r/20211125124605.25915-12-pali@kernel.org > [2] https://git.kernel.org/linus/91a8d79fc797 > > [bhelgaas: commit log] > BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=215540 > Fixes: 91a8d79fc797 ("PCI: mvebu: Fix configuring secondary bus of PCIe Root Port via emulated bridge") > Link: https://lore.kernel.org/r/20220214110228.25825-1-pali@kernel.org > Link: https://lore.kernel.org/r/20220127234917.GA150851@bhelgaas > Reported-by: Jan Palus > Signed-off-by: Pali Rohár > Signed-off-by: Bjorn Helgaas Thanks! > > --- > > drivers/pci/controller/pci-mvebu.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c > > index 71258ea3d35f..f8e82c5e2d87 100644 > > --- a/drivers/pci/controller/pci-mvebu.c > > +++ b/drivers/pci/controller/pci-mvebu.c > > @@ -1329,7 +1329,8 @@ static int mvebu_pcie_probe(struct platform_device *pdev) > > * indirectly via kernel emulated PCI bridge driver. > > */ > > mvebu_pcie_setup_hw(port); > > - mvebu_pcie_set_local_dev_nr(port, 0); > > + mvebu_pcie_set_local_dev_nr(port, 1); > > + mvebu_pcie_set_local_bus_nr(port, 0); > > } > > > > pcie->nports = i; > > -- > > 2.20.1 > >