From patchwork Wed Aug 11 07:14:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 12430227 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 05705C4338F for ; Wed, 11 Aug 2021 07:16:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA1D0604AC for ; Wed, 11 Aug 2021 07:16:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BA1D0604AC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=qGL9W6ceqeRFVEXt2CYcBSGnG87IP5QJ1eis/4cMI2U=; b=JzuLQ0WT20pjWm vLZ0er/uIWwsTbt9V0xNcfqpAUYQAzVe2iOteoU1uoxP/NueSpUsXPvKbmHlMDciZTA9KNd2ZIToj bG1LoQc3L+BkAz/iuzVQONuJ/bs2nXPk+ivMB2PJGpsfCm2rBEmfRN71iJ83L9d63l9u1eAXdV5/L MR1/9f0mnWMnbFM1CDrYrh9s2a9qxikCOL+jikE4tOJzDKPAIDm5ZXbBUxPb5LWazeqIqDG9jFIAc 6B7rg80K/HvKA7CIL9Bp7Tg5TV5CClSBcl8riEzl3SsI+8iTrHvrw3YKhVmW/2GQRkH5SBCZodWIP 6vrSKSMeK8VY9qjh9i0Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDiRl-005rmD-Pg; Wed, 11 Aug 2021 07:14:41 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mDiRi-005rlY-Qh for linux-arm-kernel@lists.infradead.org; Wed, 11 Aug 2021 07:14:40 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 642C7601FE; Wed, 11 Aug 2021 07:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628666078; bh=iS6H6YaZt439MG1gVB47NVuu85jYESbYxNTfU/8PEnM=; h=From:To:Cc:Subject:Date:From; b=gbv4Ri4duexJ5RJFW3Kh1RGsYH7tugv5mOIUFgeSw23fBQU7aHy7FXcUzZ2tz0k6n gsL6KuATKR5ELh+ews9bEOgYX7UiwDupfxonk/zg+rpa0VujRVSlzeOxUTEo5QCocL mE1e0CrNErmqCh+V7FA2EYtXedk7vrQUMTch72D0gOyKhASbKOlZeUjS+nRx92g5TT bQn4Lx5p6wf4bHRW5iont99+IQ1SzXaXWIiBF00/ZmjU9xrQ2tJSfYgCMhGgJSuAZb mTmtG4em56A386xa2Hw8x9lzFBvAVJit8jOV/OYxTpwzpMVgmJWZKna35+V2FJPU+k R+xO5Xk5I5Eqw== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mDiRc-00BrrA-MV; Wed, 11 Aug 2021 09:14:32 +0200 From: Mauro Carvalho Chehab To: Wei Xu Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: HiSilicon: hi3660: address a PCI warning Date: Wed, 11 Aug 2021 09:14:31 +0200 Message-Id: <934f397d227ea589a16c89f1ee9c6f199c662093.1628666047.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210811_001438_920491_39092F65 X-CRM114-Status: GOOD ( 11.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org When the driver is registered, it produces a warning when registering the PCI bridge: [ 5.363450] pci_bus 0000:00: root bus resource [bus 00-01] [ 5.396998] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] under [bus 00-01] (conflicts with (null) [bus 00-01]) [ 5.284831] pci 0000:00:00.0: PCI bridge to [bus 01-ff] The reason is that the bus-range is wrong. Address it. Signed-off-by: Mauro Carvalho Chehab --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index f1ec87c05842..cf2079590ad8 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -1002,7 +1002,7 @@ pcie@f4000000 { <0x0 0xf3f20000 0x0 0x40000>, <0x0 0xf5000000 0x0 0x2000>; reg-names = "dbi", "apb", "phy", "config"; - bus-range = <0x0 0x1>; + bus-range = <0x0 0xff>; #address-cells = <3>; #size-cells = <2>; device_type = "pci";