From patchwork Thu Jan 25 13:06:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 192070 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1625109dyi; Thu, 25 Jan 2024 05:07:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IG31ny/nTUuDGCWLrzSCr9kf2hPsTj/WR+uKXXSpKtKaMYDYg7yG7yV1AHXayNkUmDBKODY X-Received: by 2002:ac8:59d6:0:b0:42a:1e09:f75e with SMTP id f22-20020ac859d6000000b0042a1e09f75emr1148745qtf.129.1706188076891; Thu, 25 Jan 2024 05:07:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706188076; cv=pass; d=google.com; s=arc-20160816; b=1IudHLbnqmkcYbnC3U1XNyPQGIcbTAI3A8N8DmTKYqxa9B1XmCVgDWSjAt7LSIIY5N jtSP2R4cK/MuYDIz+tJt84B/z1QeTh8KUhUDpHH6qLn0fUHOf0d9fuSmnhTcBhLBVMGi 200eBP9TfxpP/akAUZ0QxVruH2/YnqEo+KAfAbmuZNtKspalaA70qoUUF8S3XY3PKbsJ av1t1Te70ZKhau8+YRXVOh5s8hQI/6EeQkW/K6/wCAK8Sz1LIqa1MDim7iEn2t6qI8sZ KP9xbNgJIuZQ9DTuBppC8v8EZsZMB+fd9pXclU2MMk9hQR6WIp8/MMKOON7E6oCyh3QE R7Vg== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=WvAgZjjRyxLIBC3kWs0rtcbioAlmCOgsCMgReuWOJMg=; fh=y7aDl440HjCFeyzYS6CoRxMf7OrdXCqr8Sme8LrT7/s=; b=nPVFl/uLoNH2mrGo9DLM0s5jG4PxHhVbF7Z/eokuH5ZMlaU/XomkvIlJdLt1kZnYeK MQmNCwiM4HipugaJ4C/qUqDtxe2pSjJ4y28G9HbKA5VzuTR0Z5igsXJ1qSRkuerobV0V 3AWWZvzWiu23wODjI/WLhxoAQe+bT32tCF1hmAKuIOYh2RhJGVvPavjic9aRQL6ypJRu iK6sJW5tzGcSseZeEvI+wYAZG6Vu2NYy3f2dmJolkILJyRzlHoqZvzamzX2qrXXeNACa OgeHxScL/g1tnZjMkBlKxk7RWrEsd+MAo7ygYAiO6s1QHdxYyCyDNHMNLIt/o9rtWvNk 5vvw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KnljLQej; 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-38615-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38615-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o2-20020a05622a008200b0042a3e1d1274si1657562qtw.243.2024.01.25.05.07.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:07:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38615-ouuuleilei=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=@linaro.org header.s=google header.b=KnljLQej; 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-38615-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38615-ouuuleilei=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id AE4211C22C98 for ; Thu, 25 Jan 2024 13:07:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 218475577F; Thu, 25 Jan 2024 13:06:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="KnljLQej" Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) (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 4AC5451014 for ; Thu, 25 Jan 2024 13:06:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187998; cv=none; b=ENZFz2W2Ue85UWBRUJbprI2s9Y6h8z0RJ1Xnrf0EiCYf/ddE1dkgHOLoEtplxTPxYDE/Qwaf0QrwndjbdpuaZ/fA7V4i/jeZqxemwUDCmazGEfcNXWunaq3me8bK0ku/cHodrd2WLcfrSo3xxEhlpsvT+a+yWehq0VovLZ1Ftdw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706187998; c=relaxed/simple; bh=sjcG4/ma8tbyKCoCrDYR6cljyYo1p8TcKJd2Kq4h5p4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZzmqeOytFdKKijIOP94dI5NDX2cvXXnJXqhqko8ZcOrN+/FjyugwJL+gU1fKlmVsnUK7+Jp/FRiH+HfL7MoLVKhAoJ93hFIJ/R0dbMFco5dfLBVGM02fv+aeiBZRlmG0nCBIGfHPr/ooSuOJsMtyLTQpbGJ72VZFUYHEGw8dTf4= 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=KnljLQej; arc=none smtp.client-ip=209.85.208.169 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-lj1-f169.google.com with SMTP id 38308e7fff4ca-2cf2fdd518bso12915741fa.1 for ; Thu, 25 Jan 2024 05:06:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706187994; x=1706792794; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WvAgZjjRyxLIBC3kWs0rtcbioAlmCOgsCMgReuWOJMg=; b=KnljLQejq5KVvMTcizplQ82oe0zzPZYF+egkHv79rVJCwtLSlHRNcIPZfv+RraK2Oe 6I9/eTPi1s9R73AklaYFwTxRPjnJE5tPe0urPC8owl/SNyU9pfil8P5IrpXepGgvQ2TQ UDrdHdCu1+LQIZzBZplpyN8i/0js2gjb04UwfSpl1bqMs2p8O8oMeYk0A96XfbS95uNx LqQHCtEJMEUrXtRaIyISY2AcoZqylV0+r+dAsSE6ehb6W21wBilqhhuKGv4U6dN3bKBC X0ub3opOWyDIWdfzRcnXGQaRQ2yXZAD1gaiVPm47Eotg76PIcCjmoq1mwEXXbl8EphrW qatg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706187994; x=1706792794; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WvAgZjjRyxLIBC3kWs0rtcbioAlmCOgsCMgReuWOJMg=; b=qDZBdgxIK2dkG2K4n6Vmd/s+YqPZbtc5uk2W5uUgGaci6KdfcEReLoBNnEdOdqfEHL t0NHHh7LEnyJwqhtg1fKFJzfODXaJp2krlCL4wfrNuut2QjDWfwMbTcNgq2tfl14KwZm w2zPwhMcULmzLNLXPF2t0MCG7x+oi2H3X5ciWRdrgoMF5rofzEbZjIGu8kDvMK19Nc9G Zi43B+sBd3Dx0TK7Tms8J8e2fne1ie8IrULEadtd5xXb/F68SdNHcmFjj5etBKHfK+0N 7m4I5ZB7spPN+Qmi0sZX4cPy9Kblclb3SVbhD4eI84/2uWIpGqLKXpOWFFpJDuSh6OcD Nycw== X-Gm-Message-State: AOJu0YwDJjOQuwVM/pBrPsUrpY0noNImKb2IMmd2mV7l8ohJ8rqqR4nq Sri4F54PbMGkYWYPC5tAvDTSXHkCsGUd42NtM4C9z2Zf4mk9ug0D40c3gZMj99k= X-Received: by 2002:a19:f016:0:b0:50e:9356:da5e with SMTP id p22-20020a19f016000000b0050e9356da5emr332993lfc.122.1706187994265; Thu, 25 Jan 2024 05:06:34 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:06:33 -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 2/6] arm64: dts: qcom: sm8250: describe all PCI MSI interrupts Date: Thu, 25 Jan 2024 14:06:22 +0100 Message-Id: <20240125130626.390850-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> References: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789067868763964500 X-GMAIL-MSGID: 1789067868763964500 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. PCIe0 was done already in commit f2819650aab5 ("arm64: dts: qcom: sm8250: provide additional MSI interrupts"). Signed-off-by: Krzysztof Kozlowski Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250.dtsi | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 760501c1301a..41f5e6eb2f6b 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -2248,8 +2248,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 */ @@ -2349,8 +2357,16 @@ pcie2: pcie@1c10000 { ranges = <0x01000000 0x0 0x00000000 0x0 0x64200000 0x0 0x100000>, <0x02000000 0x0 0x64300000 0x0 0x64300000 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 290 IRQ_TYPE_LEVEL_HIGH>, /* int_a */