Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp608201pxb; Mon, 16 Aug 2021 12:55:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw6yRC/AU7EpmMt/ZSadSO9zw9vqzPzluzLA5p0An9K0u45zG1URwgrjIsFwW4Y4HpMqfse X-Received: by 2002:a5d:8744:: with SMTP id k4mr463098iol.9.1629143755800; Mon, 16 Aug 2021 12:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629143755; cv=none; d=google.com; s=arc-20160816; b=T1sRzAsMNxAKw99cz9YISnzaEkHzv5uo/oEVE1BwkpT/euQ4dm6UESM7Z1YrXgMSHN ojxs7E+04e9SpJ7ouph/HMMPOOJfbfnKZMnA0P61SEH6/l1VKSQe5lnokqtKbuQV7a/w 6CYOqY8aWSbw7daFEqQ1njTjlkFVrZ1+jKt+YrlaJzEkBWmhcZEd9RrWxyHilWFcXOEA fdWq9vtQhgTnhVze+Izhp6i1ZOWYFNOtkIPUkTsvyICZu3rCM0B96c0CDvtC+VKMkDcH q1tZLl7LmB/1uafLoTa/DpxAug1Wcf3DgsC0IS8SOEn/UZdXJ0GJUWC328pWU3uA7Lt1 JeJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=V2ZEEIREe76/tShJ0BIY40n2Mai47vSd/LdvqBJqP34=; b=VG35sDo39hpvShxdB/CvuojrpHRjREfqASWv6oOX9Hq0pUsnn7xSLDAcEV6Bj71p2D kkZU4t8hazfFTTB+F6P9tk1rky8maQ+j4O+FupSc8a+UpaIzpLL6tppoJ813oa7NpAGL Tc9sCSlpanT4kl81DOC/qCigvxIWvvWz9LPqJCUBo41mAoqrWUyzZLtSDYw68a7oi7Yo efuC2sq/qUseN+3G6jORUj4TJRzrpR53C035Nwez6FnjK7hBCjlplWA4J3PlyXZZnLly coiArcbJJD1ufk7jbIiMVB24oMHVK+YoWt5cprBZoIUJ/u+81yCUzSEBzl87uN3Edq4O NrOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i1lj1zZW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si158744ile.51.2021.08.16.12.55.43; Mon, 16 Aug 2021 12:55:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=i1lj1zZW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231821AbhHPTyF (ORCPT + 99 others); Mon, 16 Aug 2021 15:54:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:45126 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231613AbhHPTyB (ORCPT ); Mon, 16 Aug 2021 15:54:01 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DB07461029; Mon, 16 Aug 2021 19:53:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629143609; bh=DIaYlAqGSSNogck6c8+7tffKBZEzgkCKP9DQtTZZp2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=i1lj1zZWeDOIJvSC/PQpmO9GD/1bR5M3AvJBbXPbaBp7TnVPzmW7IH5aTO8MMVO0h Amt/B6bPl7CzJRTXW54bun3W/ZWNE5574yXaWuzpuzfSO3hjsv8apilrGcHguLxvgE 44sISCynwRiw8Xk1WCTpQiXkfWWGY3m8sCGMxRQUZld/bXHP8px7nllvzkkU5fbQDG fry1DQayQYDVvch1CfyVneLC2ocq0M2mHgI9Ex88/9B3TVof6fQ98hWPXg1uyySUbR D81m4BG5DGJOvZfNNfegPeiP7CrqcpXNCDxD0oXjAMqjT/hao+vKMONlnqoC/A7b7q ITmcH0LW00F5g== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mFifn-003CSx-NK; Mon, 16 Aug 2021 21:53:27 +0200 From: Mauro Carvalho Chehab To: Rob Herring Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Binghui Wang , Bjorn Helgaas , Xiaowei Song , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: PCI: kirin: fix bus-range Date: Mon, 16 Aug 2021 21:53:25 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Using bus-range = <0 1> causes a runtime warning: [ 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] On Kirin 960, changing to bus-range = <0 0xff> produces a cleaner log. Kirin 970 is more complex, so better to just drop bus-range as a hole. Signed-off-by: Mauro Carvalho Chehab --- .../devicetree/bindings/pci/hisilicon,kirin-pcie.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml b/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml index c0551d2e606d..d05deebe9dbb 100644 --- a/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/hisilicon,kirin-pcie.yaml @@ -66,7 +66,7 @@ examples: <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"; @@ -97,7 +97,6 @@ examples: <0x0 0xfc180000 0x0 0x1000>, <0x0 0xf5000000 0x0 0x2000>; reg-names = "dbi", "apb", "config"; - bus-range = <0x0 0x1>; msi-parent = <&its_pcie>; #address-cells = <3>; #size-cells = <2>; -- 2.31.1