Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp62350lqo; Tue, 7 May 2024 12:09:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6wAI4tth50ah+5RVBmi0182f/zsA9zle8y8ea0pXv8wk4chxKyxuZjNygC1+FNkluekCfESgkw/h55KNgR3SUot2ETfVUHa6+4iDSGA== X-Google-Smtp-Source: AGHT+IHDtAMmY4Ec4wMwUs6TvZkm0jabTmk3YhOgSp76G783S17QXesmfOnb3lGCiJgggCy2a7mg X-Received: by 2002:aa7:844f:0:b0:6f3:ed26:e4ef with SMTP id d2e1a72fcca58-6f49c2be6c5mr597705b3a.34.1715108985084; Tue, 07 May 2024 12:09:45 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715108985; cv=pass; d=google.com; s=arc-20160816; b=tGI3YEw+IpJQrxR3cD9KnXguxr/bW4wDeYaOmlN1Nuk5y7fQWBN8cFSanzwprSEQCl YPv6B/ydd3mYsX8NJao6Y9NCEWURfH5hcEi/4ndWmcyF4oWueYtuvmylpT3PnEn0kxS2 wckfa8EK6+Ctzrpt+nZQ9PbzJ0F8bG92KgwTFxFNHbwFDI+oahL0O8EesOAAKPP7kwsT sK87VTpSJphc3cw7d9q4THZwX6b07mPNQzSB8QU5Fl8DFG72QVsunukwtXGC66rvTeCA ulZ7c3OGmautupSLV881ylhyaW5K4VwUfAtb3f4zYeFXicmP1xz1wvT/YhEvoAmzhAOQ stSA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:feedback-id:dkim-signature:dkim-signature; bh=jf3K4jfhVQv94P++cE/GZXhfZxx3dBPciOpFjrGUmBw=; fh=2nPjfULBGkO4Luq7v7rkq1081NbURatt7UuG7NhB29A=; b=Q7Obvo7KtrSHjsG7iNcvePhqR72Mq5/vauo5CTMS+oYn7sA/DjQXbKvyw/Xy+c27UX 62SbPCDarjYX8s5yieK4x/BXYYiVEfSQGcJHm64M4GCP2zNzY68eO705bVMZY2IP1U13 a+ODeVBm/YVAs8cCHlwgiTKXHx9B2wP+tj5uIkbb+mKWR8aB+tAzv7Yb7TJzkBKPdqNA Lz3gOSngjw1ynizLbxrJVyczul4j62/rHzUQPEy2Ibl566tBVqyxaREff5aXszYXBNRU 1axOxcrdxU40l8d0QYr4+gZIxw44kIk97MtLeMPfH4rUnOiWrIZGSUeEdX1yN7VkoLBP xIrA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=kUo3SyVr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aYEDvQiN; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-172016-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172016-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 10-20020a63114a000000b00624096a7055si5623314pgr.105.2024.05.07.12.09.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 12:09:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172016-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=kUo3SyVr; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=aYEDvQiN; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-172016-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172016-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 00AABB27036 for ; Tue, 7 May 2024 18:53:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95B3116F265; Tue, 7 May 2024 18:51:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="kUo3SyVr"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="aYEDvQiN" Received: from wfhigh2-smtp.messagingengine.com (wfhigh2-smtp.messagingengine.com [64.147.123.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2D2816F0CE; Tue, 7 May 2024 18:51:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.153 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715107903; cv=none; b=JYfzHRNfH06MnEcH+h6RNe7lW+igckb3tvZqYLL4LPIPeaSsQJ0yJCIyG0R1WhoHLERHohh0N1v3wuspFJ6THlIHjI7/FLq0mwTCBKuMUAaMYjDt0wP5BiP7Bh8fP3wZNwTg0qb6ocT64FjgtOeSgi0ia/vVjotS+rkHfXN13LM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715107903; c=relaxed/simple; bh=NkwgO3Xx+CZsPTw6Ct6xNfXjIzDoPYKA1nrX18S20Ho=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=XF8Y9Ahniz6aDfMaYo3/f4oFw2zOUAV+fbRhUPnmscoI99Ad4GeNiE5j5r/B5nBuLaWev+uu4vqwXHHXeJlle4kI8pWE5OhHXJCtyoiJuTop04eHVdgVGLHOY+paecVPS1ixMP+/xzYRDoVuzFJ3/eM1PeaaQbBS7vKDDoqKxoE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=kUo3SyVr; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=aYEDvQiN; arc=none smtp.client-ip=64.147.123.153 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfhigh.west.internal (Postfix) with ESMTP id 7EF1A180008E; Tue, 7 May 2024 14:51:40 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Tue, 07 May 2024 14:51:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1715107900; x=1715194300; bh=jf3K4jfhVQv94P++cE/GZXhfZxx3dBPciOpFjrGUmBw=; b= kUo3SyVrVhaV6HJw+Mi2+XKYQz+bJgVj38c2a2j+gr2xGXsFM+obkZ0h70U9CfQU sXN84h3tiOW73IhJwlXVXrZxK80DYWnevDc2sU4CmWS2oJtgp3ZYhZNoEIPK41bh h2phgaVnnkgn8wjrXsbf8xo8L8zzM5Dx90W7brlhpmCgQLMzztu1EvQZphGrGYb3 9XyUjIspZD4TdR+83FkLH3ZaTOXgACiT2U2YqZHUub1QyCBmHR+T8lWGftGkVCDg L/SQT90nCguXguta8qWG9WEKLhhk33y8HF0EWPfq0ygSORO4yXA3qffew5s0KkuE cCgwFwnLmj2lgqsoxasvvg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715107900; x= 1715194300; bh=jf3K4jfhVQv94P++cE/GZXhfZxx3dBPciOpFjrGUmBw=; b=a YEDvQiNwF5keLlmSpuA/NggsJAF72KvQkuxwI7j74sTHFAblloqn8gU5r5BGWAet Co3NyboJcLAGBxOJ6QorUUre0iHTCGh758EWkYOnc5xSddERSUFmsrjdquTFrQ5p hr0MkA8tW44+ahDUtQclHt9SUBzhAgBTjZeZOLFQXCfFkRIhh6c7IQq+Gep9cBoN sDmgyJlnYgbBSQMj0veNNwdh2QjNMfT0pllHMPoQLuUlFuaM5uFsdNZlZ+aep7H+ nz/T0uK0/YP/DQSwAJViXE+mvF5PyE7ND3wI1NwbO3LMMKUKzoyXOUKCG7gf2jfJ KbPiwz2slLV51cUEumjeA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvddvkedguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhfffugggtgffkfhgjvfevofesthejredtredtjeenucfhrhhomheplfhi rgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqe enucggtffrrghtthgvrhhnpedvkeeihfefveekueevteefleffkeegudeghfdtuddugefh ueevgeffgedukeejleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 7 May 2024 14:51:38 -0400 (EDT) From: Jiaxun Yang Date: Tue, 07 May 2024 19:51:22 +0100 Subject: [PATCH 4/4] MIPS: Loongson64: DTS: Fix PCIe port nodes for ls7a Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240507-loongson64-warnings-v1-4-2cad88344e9e@flygoat.com> References: <20240507-loongson64-warnings-v1-0-2cad88344e9e@flygoat.com> In-Reply-To: <20240507-loongson64-warnings-v1-0-2cad88344e9e@flygoat.com> To: Huacai Chen , Thomas Bogendoerfer , Aleksandar Markovic , Paolo Bonzini , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jiaxun Yang , linux-mips@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=4399; i=jiaxun.yang@flygoat.com; h=from:subject:message-id; bh=NkwgO3Xx+CZsPTw6Ct6xNfXjIzDoPYKA1nrX18S20Ho=; b=owGbwMvMwCHmXMhTe71c8zDjabUkhjSrCt1Ky+OVNZtkZycEOfxuE460CH8r1HhS1ezpyfOL9 hU2LYnuKGVhEONgkBVTZAkRUOrb0HhxwfUHWX9g5rAygQxh4OIUgInYv2dk+LVD0Dv/b+xmaZNT SQGST+bvnVecZcpz1PBp2JnqhNZblxgZdjAkVtSUxS71Kxbk37pJuuew/cL9v56kFlQ+er1GqGo LGwA= X-Developer-Key: i=jiaxun.yang@flygoat.com; a=openpgp; fpr=980379BEFEBFBF477EA04EF9C111949073FC0F67 Add various required properties to silent warnings: arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi:116.16-297.5: Warning (interrupt_provider): /bus@10000000/pci@1a000000: '#interrupt-cells' found, but node is not an interrupt provider arch/mips/boot/dts/loongson/loongson64_2core_2k1000.dtb: Warning (interrupt_map): Failed prerequisite 'interrupt_provider' Signed-off-by: Jiaxun Yang --- arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 37 ++++++++++++++++++---- 1 file changed, 30 insertions(+), 7 deletions(-) diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi index ee3e2153dd13..b5593f7cc383 100644 --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi @@ -118,7 +118,6 @@ pci@1a000000 { device_type = "pci"; #address-cells = <3>; #size-cells = <2>; - #interrupt-cells = <2>; reg = <0 0x1a000000 0 0x02000000>, <0xfe 0x00000000 0 0x20000000>; @@ -204,93 +203,117 @@ sata@8,0 { interrupt-parent = <&liointc0>; }; - pci_bridge@9,0 { + pcie@9,0 { compatible = "pci0014,7a19.0", "pci0014,7a19", "pciclass060400", "pciclass0604"; reg = <0x4800 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; interrupt-parent = <&liointc1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &liointc1 0 IRQ_TYPE_LEVEL_LOW>; + ranges; external-facing; }; - pci_bridge@a,0 { + pcie@a,0 { compatible = "pci0014,7a09.0", "pci0014,7a09", "pciclass060400", "pciclass0604"; reg = <0x5000 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupts = <1 IRQ_TYPE_LEVEL_LOW>; interrupt-parent = <&liointc1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &liointc1 1 IRQ_TYPE_LEVEL_LOW>; + ranges; external-facing; }; - pci_bridge@b,0 { + pcie@b,0 { compatible = "pci0014,7a09.0", "pci0014,7a09", "pciclass060400", "pciclass0604"; reg = <0x5800 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupts = <2 IRQ_TYPE_LEVEL_LOW>; interrupt-parent = <&liointc1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &liointc1 2 IRQ_TYPE_LEVEL_LOW>; + ranges; external-facing; }; - pci_bridge@c,0 { + pcie@c,0 { compatible = "pci0014,7a09.0", "pci0014,7a09", "pciclass060400", "pciclass0604"; reg = <0x6000 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupts = <3 IRQ_TYPE_LEVEL_LOW>; interrupt-parent = <&liointc1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &liointc1 3 IRQ_TYPE_LEVEL_LOW>; + ranges; external-facing; }; - pci_bridge@d,0 { + pcie@d,0 { compatible = "pci0014,7a19.0", "pci0014,7a19", "pciclass060400", "pciclass0604"; reg = <0x6800 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupts = <4 IRQ_TYPE_LEVEL_LOW>; interrupt-parent = <&liointc1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &liointc1 4 IRQ_TYPE_LEVEL_LOW>; + ranges; external-facing; }; - pci_bridge@e,0 { + pcie@e,0 { compatible = "pci0014,7a09.0", "pci0014,7a09", "pciclass060400", "pciclass0604"; reg = <0x7000 0x0 0x0 0x0 0x0>; + #address-cells = <3>; + #size-cells = <2>; + device_type = "pci"; #interrupt-cells = <1>; interrupts = <5 IRQ_TYPE_LEVEL_LOW>; interrupt-parent = <&liointc1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &liointc1 5 IRQ_TYPE_LEVEL_LOW>; + ranges; external-facing; }; -- 2.34.1