From patchwork Thu Aug 5 09:04:38 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: 12420669 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,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 54E2EC4338F for ; Thu, 5 Aug 2021 09:06:13 +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 1E26260187 for ; Thu, 5 Aug 2021 09:06:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1E26260187 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=GeDISJw4YnAiuM9Sg1tBdjAU2U3D+x8jvTFRbcBXTFU=; b=a2NnVLQ22Z0T53 s6sMITTFw1eNU0mX88N8GIw0dSEpdg0berko8FQbA0EvaqC0+JnL5JPWxzKhz7OJUSg5KKxvCikXv XgVAW1g9nwlstiye57ut73MZj5UW6mFOWejB4h4c4rn+sj6NVBJ01foQlcXw1xt72MEUbJMmr/tEE +i7uIf/0/QmtSmW5G1YWd+E8lmjQQ+2meIsVRMakvFfp2pdPXWqloTu/IRlAU3YQ6TkD1dL+D3+k3 wxTd8lNOnU44pLegD7eNi9mxWHkk6ciueMEiDMYCA/f/NLyffrlYgkLsWRj56TQDy32OxLo2h3YXj bI201GeDETKGuw7wEb8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBZJ1-008lyh-Ih; Thu, 05 Aug 2021 09:04:47 +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 1mBZIx-008lxG-Np for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 09:04:44 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6396D60E8D; Thu, 5 Aug 2021 09:04:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628154283; bh=iS6H6YaZt439MG1gVB47NVuu85jYESbYxNTfU/8PEnM=; h=From:To:Cc:Subject:Date:From; b=hbJ5g/NNnCCW+jA0A4ZZ5KdY1JyMfvwfyO9KWCwCvd1DJPAXjTsfRwd8X4ws5bJ4R A5NSegHArwwjcR7N7OCsS1wM4S3XO2dAE1K3cR1c/md+nmo1nHP55ipED/Thvr5r5W SRKHVl2LEgZSXIG2n/uMeWjJpDGh+/hPItwQNqzV0FH+FS9+EnyEK3RHGG0DP0LCpN VL8Gpe623FYgMh5zf32gu2zxpulBYScdnuwCVhRNZ6SNAherlde8XsIIXkCxoJknGU PKaw8jjrUkyC6lHG+QS38/HQPZIPXHKYBZ/DmnhIRk+drRvytm9mqmKXAWeqKE3fMm 8GorOUtKls+mA== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mBZIu-001Eie-71; Thu, 05 Aug 2021 11:04:40 +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: Thu, 5 Aug 2021 11:04:38 +0200 Message-Id: <498ca4c17f018a234817cccd35cdaba3e3884b42.1628154271.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-20210805_020443_856045_5E4A00CD X-CRM114-Status: GOOD ( 12.01 ) 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";