Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp1168480lqo; Fri, 17 May 2024 12:56:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUAjYxp/w7qOerbVopmMUDAqu1srUubbVapubsQ4fCkrofXE9Hx7NwLkaWMCNnDqMremDuAeVUGryTiwHK+g0SninAiCpdUPEI3WxWnGw== X-Google-Smtp-Source: AGHT+IE0TatSI6o6Xb/APxQ0ZkZthC0qjmRAlDFi/Y+3VXepfq9ZyZaG2i2PYn76+Gg13/Qn9Jfb X-Received: by 2002:a05:6808:429a:b0:3c9:7810:faf0 with SMTP id 5614622812f47-3c997054d84mr21793230b6e.20.1715975801719; Fri, 17 May 2024 12:56:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715975801; cv=pass; d=google.com; s=arc-20160816; b=AeHGr25LXFwkQSlmaTeYI9YXWdrW4s/CSzfAKUvVG7DMNyUzlHPa+Rv8peFXYuv1wm OZD7oHBllIEvuIGoYaLud2SmW9U3TO1gZaxyUg55XaKfYqMpQo4S49Fnb3Zo3dp5+STm yDN7hLO2NCyH8Ia6U6xfcZMfj6ev2qsjsFAC8XIHQd9MqrH5WC3ZHYSAyUG0JDwRO0BP 1LtJrIxupt2cpLNj4SAY3fFyZ0fwiWN66kC8F5aUtaxA4Vgyd0IMwPwO3XQokrw7tXRf 3NrX3cqBIiDN4njuLaJ7JwUY6quJSGm+hMJvceKN4f28DYu3ojCe7U6tgjq4cpDW9mVE vL4A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=esIuNLFrQiI3hAjB9CywxmMhVm9Lpngx0Y3J5yaY0hE=; fh=AdHNhCtWvzQ4m3gvjLcQf/A8N+/eciSOcHcuwEtxpDw=; b=nGsNEVyIAN8ACDIcyqMxyhJq5jLEXGY07Dh3+l4aFySUmmCz3BmRgSR3s7h2PKdYuN CWm/s2LGv/whl8RK6c+YjTjXrUyPuJlC53pQQt0DKrSwy6WRiOD1gk39PRoTc2DwF3Qk uMjLVMq3xTJqlXYXh0T9r3m4JsxyCXODBAJcDNXR7i+rgMQOi7Xkt6kdvTjRpSRVXhkM G9CJPqFG0UQEeTYeMK4xX2YnZZG+w0VQVYQsE/JFJ85QKbsZdcCLHL6J5wZocqHvWOEY b6exEB5sRhlOE74xk3+Qv5SMDEzB0gMyAXrP3235GwH+9sBAD7XznBQF+wiCmorMIoEb Fdgg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AZWM6OZe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182597-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182597-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf38c187si1927148985a.703.2024.05.17.12.56.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 May 2024 12:56:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-182597-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AZWM6OZe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-182597-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-182597-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6CA071C236C2 for ; Fri, 17 May 2024 19:56:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB4B914037E; Fri, 17 May 2024 19:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AZWM6OZe" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 01B0513DDA7; Fri, 17 May 2024 19:56:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715975781; cv=none; b=KLla4/lcOZl4X1O8eKfD3CNIbyFtF+FgPN73dCO7+dmAN59VIydBu+5Gjl5H6+RZYpb0NGeTNZ4oTXl+EHNNr9DueRXAnCKOrOtNbkks+4kS+79ohFQP6rzCCoby2/i61Pujrj6utaDtGmkYm6F8u31CjkxtemHYN9tsG9A5gfU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715975781; c=relaxed/simple; bh=UaEwLNDI/F1sBxJ3RwcgRvRUx7I1X5xXKiEo/tzV6VM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MmYsskwpf7ro60BnYbg9YLbDExJLActwrUMH31bcgWIt7mw/+EIPeCJizB6IqF6LOlTqkQuNolCbNEjCo9RzNy/MVKTPxWKhdPpPX7mq9H16TxjWdgxMC9cjbdkLljXzh/KL6UkLw1z551fi+bDkgQWH5c5yoCVfFpwrhGBiCFw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AZWM6OZe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 54F4FC2BD10; Fri, 17 May 2024 19:56:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715975780; bh=UaEwLNDI/F1sBxJ3RwcgRvRUx7I1X5xXKiEo/tzV6VM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AZWM6OZeNDHjyVVepDhp8KznJhQYj2Uvtk0jSAobwd2cNW7rfxMsWruuqiPq04ZmJ yYjVXho7bVxguyzTDqh/O04WtPcbXb0fqn/TealYaXPgG4zM9DiU02/VV3JC69W/v5 xGF7MKv5DuJP/zLUAoPT2Qm4+r+a47F3v/+SeMtMdWYA1egsGvmULBGqud1qlVEqj9 VMNYu2+zgLNNyVJfm8Rl5zo6AjGJ1Y0p2XfKQpCdrbADQ/pyzVb1bghtz203NCgEm7 lk05leXVDbLEjjuKyft0pBXd2GeLuuT6zMRKvJ7K2Om8gZNGFSB5UhdchbuEA/eFtZ /rRAvGV+/3y4A== Date: Fri, 17 May 2024 14:56:19 -0500 From: Rob Herring To: matthew.gerlach@linux.intel.com Cc: linux-kernel@vger.kernel.org, conor+dt@kernel.org, lpieralisi@kernel.org, krzysztof.kozlowski+dt@linaro.org, kw@linux.com, bhelgaas@google.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v5] dt-bindings: PCI: altera: Convert to YAML Message-ID: <20240517195619.GA2851135-robh@kernel.org> References: <20240513205913.313592-1-matthew.gerlach@linux.intel.com> <171563836233.3319279.14962600621083837198.robh@kernel.org> <20240514131750.GA1214311-robh@kernel.org> 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=us-ascii Content-Disposition: inline In-Reply-To: On Tue, May 14, 2024 at 11:30:05AM -0700, matthew.gerlach@linux.intel.com wrote: > > > On Tue, 14 May 2024, Rob Herring wrote: > > > > > > > > > > > My bot found errors running 'make dt_binding_check' on your patch: > > > > > > yamllint warnings/errors: > > > > > > dtschema/dtc warnings/errors: > > > /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/pci/altr,pcie-root-port.example.dtb: pcie@c00000000: interrupt-map: [[0, 0, 0, 1, 2, 1, 0, 0, 0], [2, 2, 2, 0, 0, 0, 3, 2, 3], [0, 0, 0, 4, 2, 4]] is too short > > > from schema $id: http://devicetree.org/schemas/altr,pcie-root-port.yaml# > > > > You need 3 address cells after the phandles since the interrupt parent > > has 3 address cells. > > Thanks for the extra explanation. Adding 3 address cells of 0 made the > warning go away. > > > > > What does your actual DT contain and do interrupts work because > > interrupts never would have worked I think? Making the PCI host the > > interrupt parent didn't even work in the kernel until somewhat recently > > (maybe a few years now). That's why a bunch of PCI hosts have an > > interrupt-controller child node. > > The following DT snippet comes from > https://www.rocketboards.org/foswiki/Projects/Stratix10PCIeRootPortWithMSI > > The Linux kernel version is 4.14.130-ltsi. Would the use of the msi-parent > node make everything work? Possibly? I would think MSIs are preferred and almost anything should support MSIs now. Rob