Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6016348pxb; Mon, 14 Feb 2022 13:12:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzXcyocsii4QyymPMjWka0Ywf86Gbt73I2dLFFZ5XB0pK7XgpDZx+2KwpiizsCWP7jcmaMx X-Received: by 2002:a63:1662:: with SMTP id 34mr775593pgw.466.1644873147265; Mon, 14 Feb 2022 13:12:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644873147; cv=none; d=google.com; s=arc-20160816; b=0yJYNF13cL6RvBFJTxwo3vN5x/YDiUxlYOfW7PFSKMD84WyX0d2ombhA0zphGJvNfY sa/WDMpoQ1wVBrKegwZmtg8r2Og3y5wKwUIuAxoeYpQztFw2eRdMWaZKYrmK7dIg1e3P BIiozIJmUNlZE1eKs4lCJxh5YeK8PfBBPwBfkAQ7EUJ0UFjYMsjQP7A7tU09ThHcvpLt SJu0RkVdNRDR51wJusAWXC6y3Xi2xF48PG7EWKSRSwOmkztSB7yMVQNQQ8/eJCFq2se4 mc5BPjwjiT5Vo/kVG9cfXtQ8Dq7KgjiLEeIEpikPoySkBFw/29wSOefaJEv8c7Xwr9HU PIJw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nXkcQkooWkrm2NheIUMk0Gazb5xGfcyAn01jdo29FwI=; b=rQtx5dGs3Bj0PVbWDe1z4E5e/SEwKIUupNbKL5qo1DzjadsBUO6t3sy0RSnB9Airl9 n38v3S8OXw+x2nfVJs7lP7xzzPJjTWIYYKuQBkkhJIABOtXCCKt5NN7t2nXbpM0uTDrK S4Jxs0qR+jN2siLZIw/wN3VJYD993hKLB0DC8tWFNdj+XjkR8cXNfN/znh4mWJlmZ28a Ex0y+1ET3sWkr1V8RGYdbjVVNm+RMXZ6n6qQ6XOemyzA5zSHD9y0qs0FErfkMcIkrWnk 21t/MqbuknU+8qhKgKn4CR1hMbMUig8aWW8zRGonl2Ub5F+qYZS9dUsLH7uZ8bj0FJWW zkrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DFVNYgy4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i184si789675pge.260.2022.02.14.13.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 13:12:27 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DFVNYgy4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E032106628; Mon, 14 Feb 2022 12:31:44 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351131AbiBNL2P (ORCPT + 99 others); Mon, 14 Feb 2022 06:28:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351329AbiBNL1z (ORCPT ); Mon, 14 Feb 2022 06:27:55 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7478B70921; Mon, 14 Feb 2022 03:04:25 -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 ams.source.kernel.org (Postfix) with ESMTPS id 309A0B80E19; Mon, 14 Feb 2022 11:04:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE0F9C340E9; Mon, 14 Feb 2022 11:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1644836662; bh=8zKQrxrSbs2sLa4lKKkzE4l1ysqU7kXTR92mFBlUseg=; h=From:To:Cc:Subject:Date:From; b=DFVNYgy4Y1EfP/LXNEojYxILPWcXVJRmdS5IQYHl0jL+yDDjDH5ZHMJtjRjPnoZtG ynmGqjpivDuybxbJ+Vuxafte8Q4c4EaxjtShz0d+atzK0Di2Fj9LBWfOf6i1OOJW5A 9d7wuKgjOH3xd0+BRxnLFdhrO+bjO5FWioN1e2Q8FSC40rAYFyFIIfvBrsEn/+6gKV LKs7Hj2eTyYlaCMRqm+TG1b0XbDuo/z/t79ljDk4YYaxZAkPaOUWgRyGotQuV5Lati jzAM4VakOVZBHD2lCMd1o2u7iDcrJINvz8bCkG6Ffq3kC5jIDu8a28q9UlCslBzLU+ DIh9gUnu1xaJA== Received: by pali.im (Postfix) id EF5A4CAA; Mon, 14 Feb 2022 12:04:19 +0100 (CET) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Bjorn Helgaas , Lorenzo Pieralisi , Thomas Petazzoni , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Jan Palus , =?UTF-8?q?Marek=20Beh=C3=BAn?= Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PCI: mvebu: Fix merge conflicts in commit 91a8d79fc797 Date: Mon, 14 Feb 2022 12:02:28 +0100 Message-Id: <20220214110228.25825-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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 --- 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