Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1746428rdb; Thu, 25 Jan 2024 05:09:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IF09rhS989HedqobXJ/q8RlvxxA4xDjAQTKbOncUk74E2Bazf7H7E3o6pBgOAtXMzUtiy/R X-Received: by 2002:a17:902:9f97:b0:1d7:c16:338a with SMTP id g23-20020a1709029f9700b001d70c16338amr735149plq.104.1706188153036; Thu, 25 Jan 2024 05:09:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706188153; cv=pass; d=google.com; s=arc-20160816; b=f2R1WERsp5m1GFsogrWG9zdEiVFBbc1pbbXQim0RXghdd409xGZ5vjUx3ok0yeU7ve 3y1MNjqIW0e2+lFrA8t8i3DlGLvsdFr0cdOf/YyCkvPOziJg8g8KonABF7uRK95LivNx E5bqWmBMtelBBTULjoxNXf8HuNl1Gu/5Z6fcaKRK7DRzXUrrc1qypt9J8Vb4oVPK2hQB pKxxS3DPWZuPxL64BgrY+36JbD0YjRtG0+8k6TxiKhf6zqZ58q0ZKtni0xCKnTLrb4jQ GcyqITEx9lnh1sVKUyVVJs+72QWD5PhEmhblcE5k8sRLu4pTf4mitz6/+uUvJyoN6SgC /ziw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=EzhDowVZvLvlwXwFMgRZX8rQ6/KYq8Pb1dHzwRryNFI=; fh=y7aDl440HjCFeyzYS6CoRxMf7OrdXCqr8Sme8LrT7/s=; b=QYI/6dUYN1yxbL2WMZuqIBlx2KjSYmG58MFhnITNt9OsWkoIySiJfKfj9Gx6Kk+mcW rSKGn1z6zTRvhwc2KMawG9geyZZrPtmvu2eFTFa8fgmg/z3jaGyDNpXv7a1wJ3uVk+Ez +z1QH1Zd18ZqKSiXq5UBt30VwTffEUA3co6ARJ1lK+rD2JY++84QoDo4mWTrOY7BFdua ITNg0p29jfzldpNzgvz5WxGl2bjC+kpEJoRT8OrBZZtsDas4mfAN/wyZMEFwOQBb/SJt U0nbGiu/EmRiPg3pMkHJQrayuxm0bGYQ/vr9r+jw4kpGPuXnWFy8k3UXY3s/9sPifeER ecsA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpovvP6z; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-38614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j1-20020a170902690100b001d6ff17e58esi13301276plk.187.2024.01.25.05.09.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:09:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZpovvP6z; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-38614-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38614-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 25D6928EA2B for ; Thu, 25 Jan 2024 13:07:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DE7205101D; Thu, 25 Jan 2024 13:06:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ZpovvP6z" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5F55A4F88F for ; Thu, 25 Jan 2024 13:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187996; cv=none; b=ibeT9WtkhaaWV4AbGZTaPa+O9sbmAQSmNodfoChAUiwZMxPAesZrKrHSzEtV1VB4+hnPbhqShBN5oRPSM0f2MrdY5mS28uJ1utyHW0m36x+uKmFi3kAUs1Y2tE94f6KeJB5mxjwGWSOhGGSi7Ji2sP0QeqvFvjCWfmqUzwDXohQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187996; c=relaxed/simple; bh=Kwqnw1X1+HMJqw8BThmuprk54/oIHYCFkejiiBpEPMM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=tPabOptFuzUrrc6CbdOCjYe+qUbX+xuWD7eZGddnSRvExWZB5uEuAPZOwJwLZuh1U6KKFpglOVB88oildGfOClMlMwEuNvfXd6RJ7F7608SWFYQguI8RyJv4RWgGko0yMFzXixhTho6GclRO6qdFMOyRTnR6A4TGAp8Q1k2CjjM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ZpovvP6z; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-55a349cf29cso7857132a12.0 for ; Thu, 25 Jan 2024 05:06:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706187992; x=1706792792; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=EzhDowVZvLvlwXwFMgRZX8rQ6/KYq8Pb1dHzwRryNFI=; b=ZpovvP6zer4RRziLhPQFYvjqjqcvHfrnSvv1aXtAHbT/G/yLKFkG92uQjMOZzndekm CvZWgh3LeyVse0bv0PIUZz2bz/TxkoNDopeiL+Etj6r1HDcHC0yM27SHuIU2l2j4xvdo +eqVo22K7nfdUVY2wqI0zFSaebQ+Z/ZDobmcabCtpWfoZ75Pj9sFugBJsZOJonm7udSA n8pllYKPpYHJ69dItKhL1sNrepdePZYAU0n6rUhV5z/qxWqm+AF6q6YmQzaisNVQGGkS Puyc4qwRpHt9smi3lnvPwE+Joxq3FtW59PzzW/Vo3SlaFGafzY0NdP0pBsID9LDqQ3Bb xUAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706187992; x=1706792792; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EzhDowVZvLvlwXwFMgRZX8rQ6/KYq8Pb1dHzwRryNFI=; b=FsmcO1NQjQGAztrnz61ujrtnvK7LaZdg6xj5qTFS3YGLLknoqQD8XRsqSBlFi8ibV9 D4PQmyp7aI7qxkssZuSes/3r7inCwD5hGuRfjplawcJ0KZ/E5v3e/LEr3eHHC5uL3JjR Apbuyppc5pyZg6yE09MDBcf6gKvHJ/n3DTLFM7ZA+6SiEIhbyB5NakfF0081eA7za1Lz 5kEpNXDYlVyEbgNO/LlEAL+JesBRhJCFyYe6k4REma+UFrT7CJvuij3/2UK2wR3wDvBb 8SuZEf/KiXufgbJm5h+rFRByadwYutL6D8wibHNgV9adxO2XQoIKx7PbRs/GcgxxwPDo hD2Q== X-Gm-Message-State: AOJu0YzCPF3RcndWoNfHeP9UuGpGjgCrFQxAf45wEbFMy5uMddvkG6og /PhG/Ewl3JUDm1M2MWnGbHi/5w9f0vDLC7Nkjq3zkNOZ0nTH+wL/Rx+I18DDdnw= X-Received: by 2002:a05:6402:17c9:b0:55c:8855:952f with SMTP id s9-20020a05640217c900b0055c8855952fmr516864edy.14.1706187992568; Thu, 25 Jan 2024 05:06:32 -0800 (PST) Received: from krzk-bin.. ([178.197.215.66]) by smtp.gmail.com with ESMTPSA id ig1-20020a056402458100b0055ca5ce62ddsm1873315edb.12.2024.01.25.05.06.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:06:31 -0800 (PST) From: Krzysztof Kozlowski To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH 1/6] arm64: dts: qcom: sm8150: describe all PCI MSI interrupts Date: Thu, 25 Jan 2024 14:06:21 +0100 Message-Id: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Each group of MSI interrupts is mapped to the separate host interrupt. Describe each of interrupts in the device tree for PCIe hosts. Not tested on hardware. Signed-off-by: Krzysztof Kozlowski --- Bindings now expect 8 interrupts: https://lore.kernel.org/linux-devicetree/20240125-dt-bindings-pci-qcom-split-v2-0-6b58efd91a7a@linaro.org/T/#t --- arch/arm64/boot/dts/qcom/sm8150.dtsi | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi index 761a6757dc26..26cf8459f74f 100644 --- a/arch/arm64/boot/dts/qcom/sm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi @@ -1843,8 +1843,16 @@ pcie0: pcie@1c00000 { ranges = <0x01000000 0x0 0x00000000 0x0 0x60200000 0x0 0x100000>, <0x02000000 0x0 0x60300000 0x0 0x60300000 0x0 0x3d00000>; - interrupts = ; - interrupt-names = "msi"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", "msi1", "msi2", "msi3", + "msi4", "msi5", "msi6", "msi7"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ @@ -1934,8 +1942,16 @@ pcie1: pcie@1c08000 { ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>; - interrupts = ; - interrupt-names = "msi"; + interrupts = , + , + , + , + , + , + , + ; + interrupt-names = "msi0", "msi1", "msi2", "msi3", + "msi4", "msi5", "msi6", "msi7"; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0x7>; interrupt-map = <0 0 0 1 &intc 0 434 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ -- 2.34.1