Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp406795pxt; Thu, 12 Aug 2021 00:58:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0PRikIh7bt2sea0TBmYdf9AVtdDTZ8wXCwNlndZKDlyc+jfgnjgHdeXDAPOk6cB7n6oku X-Received: by 2002:a17:906:2bc2:: with SMTP id n2mr2385381ejg.455.1628755121876; Thu, 12 Aug 2021 00:58:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628755121; cv=none; d=google.com; s=arc-20160816; b=yLfxo37hjr5fVG+iX/NYWuCZTyvh/TfXxSzCrQumaLJHNIhGD+3ekWWO7hd0adspwM OYiqR+QOQA4Xg8WIgOdkr+K8om2/QX9nAb030vJTkpEKgkC1JiXH+Iwif9+vvfcMNLQc 5JS3KybWxetXTYjiGSTBhiulDSTHtwCvh06Sr6NSfFaqky6y7Z0nxXRDPaHRz4/xUtlz q9cTrl1E1BIDGGN9wSQeLGXQ7uSWiJPvkOS7cfqpiR8uZH6sHt5mUCeKyBbHG5bXVjUF Vg5A+hpba1vU7xhAPICIEd6IgE/q5LuOrzAB4sV9AEaB02qNmiF7hasKVIZB7FfX6crq z/CA== 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=SdNWHGEunSFHaUdt1fx8YU7A0zTSflIYb4e2Jg67UvQps+Y9AZp8BkYDZ+YfJYHNP/ B5tGJ+RUj8AtCWXkeyezQ/vXu+Kxcg2VnQ7LoLh7gB9MUFdVcf8WoN21n9qu3U1fGDqA UXox7nQxZ5MjznI8SAy0h0aJZqx7jAJQG2vLkW+NCpVv8AJI8YzvEvFwDKZrt1czGx5b ZiYkO5+WP/mBTleH9z2Rn9IOgOmR/0Eq+asncLGIWkYITMN9KdYH5YwROFPP98U3MkZt D6SchWahTiyH7f3SiW8x+AjpG4DpNyEiIofpRH2mqJqQRQU7MBvZBTAsm5SjoES/4J3G vCSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pA83Yxu4; 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 w3si1773789ejv.301.2021.08.12.00.58.17; Thu, 12 Aug 2021 00:58:41 -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=pA83Yxu4; 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 S234915AbhHLH4Z (ORCPT + 99 others); Thu, 12 Aug 2021 03:56:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:59652 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234889AbhHLH4X (ORCPT ); Thu, 12 Aug 2021 03:56:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8FCDD60FE6; Thu, 12 Aug 2021 07:55:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628754958; bh=DIaYlAqGSSNogck6c8+7tffKBZEzgkCKP9DQtTZZp2c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pA83Yxu436j05pvnjfUXAB6UWbmgxtggbBZV0Yp2QXt1ka3afdUTk1/XrZGUUhJJe dLM0gMHe8bS12WdEkRhrlpo7tUYTURbRy2V/OBH/C6Mhqp/sZqxpHzXWH/P/4X7zWQ x2YEEO3ptmW9RUMkNrddEmdvtFwraglespg+VE0ZB1NfGiDREA9JPCPGYYeaM0D25P AYcqgGQ5Qb4P78GaXrmezhCwxR5yERvAfJlVGHaAz1YC9i413Reu7ZYGYmipwYBgy+ 69KCiS5jMpICk6UOjSlYGfHLNdEPbg9GlxyElCha0W3emcE1ojsBDA0M/BEby6MdBh IHVp4ajAsiF9w== Received: by mail.kernel.org with local (Exim 4.94.2) (envelope-from ) id 1mE5ZE-00DZ3y-LR; Thu, 12 Aug 2021 09:55:56 +0200 From: Mauro Carvalho Chehab To: Rob Herring Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Binghui Wang , Bjorn Helgaas , Rob Herring , Xiaowei Song , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: PCI: kirin: fix bus-range Date: Thu, 12 Aug 2021 09:55:51 +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