Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1752857rdb; Thu, 25 Jan 2024 05:19:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IHmNcGynp3xnP1qMJ/9etyUHKAcDtHIclcqOYuTz5Yc5ZpZAtmZHSgUQq3vtxSAChCzT1eh X-Received: by 2002:a17:902:c086:b0:1d4:f77c:a8f9 with SMTP id j6-20020a170902c08600b001d4f77ca8f9mr730161pld.55.1706188757222; Thu, 25 Jan 2024 05:19:17 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706188757; cv=pass; d=google.com; s=arc-20160816; b=JxofaBqaLxAuQjT2M0CU+xSVpqKyOzeX7Qdqf1as1Rl0kYXhEvvNfZn1aboyLnkP3w XZkolHwRIx/IqLld35ZyzGqoqy69gv2CgspFBMIYuAlycCMtKWKLcwNP0XdsYZ++ZLIr LVUw19N44ZXhi6V7j16QeCkgq7UGHEw1gDmneUIWX0eFxaQRIHEAJv4VczOyjJHfGlrz rQ9YW55+NZO+1UUX4iklzo9rG4LRuT5ZnKku8P16wSXCPchdlskFBoT13hMsGqNNeiO2 oFu1zwJULKQeXfhj6W3+S6aol1OvJgfOcFh/l5JKx22rV6IXvSgqJtU9Sbx4nhcIypna nsyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=13Rb80VOvvaXUse1uPuWqVFXOg9vSOw6wfFVQXf5Clw=; fh=MLCFOCQk6A6s0a/KVt3HgwVsrMu4OMl/i18GnyAm5kI=; b=nznwdCKmRiEavwj6bzlUkKbDzStXfvcEA/EX3TdZkRGieJbfKx9oWgzcpST6LS/Npv ro3eMmEyqlyc3q+pXVfxBQu/2N7XUjfYPqu+xboDpK5un9ab/54JFIkjj/62uzv4AUCh aoEf7J9Jp1DY1G62B3vFGis/yPYm9YAKifcS1Kd7RCQQQxAVQxh3fMNQ61pV4+K63Mh5 yrvMRGQ+dlfOdmzOk3lllILeqBfFp+KcLwa6EiSqeQUyJN2kum6Sg4e3UfqreLf872oy MBhqAPmPMgF4JAdO4NoYx6U7slzjeBSbVeo+buaF71K5K+tfJqcvlszyxFmJatwnC2OW W5eQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ClJ8Nmz5; 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-38634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38634-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 jj19-20020a170903049300b001d8882dd681si1348455plb.118.2024.01.25.05.19.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:19:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38634-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=ClJ8Nmz5; 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-38634-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38634-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 DBCAB290F93 for ; Thu, 25 Jan 2024 13:19:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4EB5A4F893; Thu, 25 Jan 2024 13:19:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ClJ8Nmz5" Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) (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 D58E950A74 for ; Thu, 25 Jan 2024 13:19:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706188751; cv=none; b=e6I1WIwR8mBv71ijOQW7OiAHhAoWSCBVGgNj+TVtCoNctWPsSgFJT1D/r75ThzbD6VwbT/XiS/ibiBv51NikayBf1ezaj3MQc91/9/59AvMLgVHQCNwxHO+iy2MYsfklYTSq6S+BYF514+XkZXOhba24ArJXwBYDupc7+Cw87F0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706188751; c=relaxed/simple; bh=8ZwYMGT29+2aOw1eN9EP3kUeI/wEb4MnmErpaR8lCeM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ppPgprn0KKogxT8hOMhP4tKCeCVtFMVKoVEbfW5brtPLVL1L6A9zB5XwyLmVFEAwIabFz7vrhG/caPxi8pw8jWBcMOzhc7isQQVzcMj6OO+EqfVxg3LmLEhwn77zd5JIfT0ShfaV3RV29QAYdlZTG4Kjl0rM5AWiVEIpKqfc9zc= 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=ClJ8Nmz5; arc=none smtp.client-ip=209.85.219.177 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-yb1-f177.google.com with SMTP id 3f1490d57ef6-dc226dca91aso6327283276.2 for ; Thu, 25 Jan 2024 05:19:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706188749; x=1706793549; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=13Rb80VOvvaXUse1uPuWqVFXOg9vSOw6wfFVQXf5Clw=; b=ClJ8Nmz5ID7ZPKnkX5f5vXSnMoNUpuLYcmlEeJ+CeAYt5Bo3PEFQMcX8HHUZT+YZKj f8phtNVxvy7IK7/xDhW2lbUjBLmhhkFbpLv64FC5+jzIbKx3oX3Szf9G782iqaAB0wsG Oy92RETYDBJYX0utrKKlvj9kOvQvZPuZR3q5mPuixqpF4SjmzDfV7BemwjRtoKCfxwrL z5HW9AUXavSHmT30rO/K3b20+666aC3qVwl1rJc5yL14DI4ef3dNK0y7EGvY65+EyyNG leLX6HzlHmX/OaO4jv77pCyyK4c5aDtBi8Tp2JS3hEIEUDwXAoGYUNaziOR9dbukQv/M nP4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706188749; x=1706793549; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=13Rb80VOvvaXUse1uPuWqVFXOg9vSOw6wfFVQXf5Clw=; b=eXIzc8KAYEDc5893rDiwJBw7fRbPyyZeGOQrPowhSAmj1CcmZVU+mKaSlhDQppLTNb /Cc0kxoR4nFfMpFMm++zF11T7lwlVNXKcsKCto3JKoT84FmeEEImKHQFl5eUD+pywH9i EOCVDRuSmWVwwMXWAXI62MJf47pnhN1gHZ6ncJ17Nb90bLEveDnjqOmRg4kjGqfvY2RY 6MdzXbxhK/zVNM6/PDSaKpAhFmffVxzATGtLoM67UlduqRQOrHJhyV+xZ9X/aaiVWL5Q wPpzlJdbBzPgf5IGTAF/LdaVmwLgqKrmPkvoj6bTj9vUillVMy7L3pRJOR3ar8/aroZA PpnQ== X-Gm-Message-State: AOJu0YzbZK8750ZPPiutR/5G98kWKgFMAyTpAdEc1y8lpXZKtr6dnSzb 6C2npsls2xGm9AeK6gQFQDfuswiG/kQ/IkJdUIME2dtGLBxP+Tw5zN/j9QxFdDgOb3aZcfB2kyT kii+75BI85kI81IOrWfZRqDmoQb5Hki5z7dMusYirfLnZtylt X-Received: by 2002:a5b:682:0:b0:dc2:8282:8893 with SMTP id j2-20020a5b0682000000b00dc282828893mr650947ybq.127.1706188748827; Thu, 25 Jan 2024 05:19:08 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240125130626.390850-1-krzysztof.kozlowski@linaro.org> <20240125130626.390850-2-krzysztof.kozlowski@linaro.org> In-Reply-To: <20240125130626.390850-2-krzysztof.kozlowski@linaro.org> From: Dmitry Baryshkov Date: Thu, 25 Jan 2024 15:18:57 +0200 Message-ID: Subject: Re: [PATCH 2/6] arm64: dts: qcom: sm8250: describe all PCI MSI interrupts To: Krzysztof Kozlowski Cc: 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 Content-Type: text/plain; charset="UTF-8" On Thu, 25 Jan 2024 at 15:07, Krzysztof Kozlowski wrote: > > 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 > --- > 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"; This part looks a bit suspicious. All other platforms have these interrupts in a continuous range. Other than that, LGTM > #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 */ > -- > 2.34.1 > > -- With best wishes Dmitry