Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1759180rdb; Thu, 25 Jan 2024 05:30:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqOdOLQjDQ9uWlOVgKdiQbN8LC4Eg+T1sBDpkYrGlyrF0txDqcRSgTxUNkHsFWRdJxeuu2 X-Received: by 2002:a05:6a20:7284:b0:19c:6cc4:e567 with SMTP id o4-20020a056a20728400b0019c6cc4e567mr1098613pzk.3.1706189439814; Thu, 25 Jan 2024 05:30:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706189439; cv=pass; d=google.com; s=arc-20160816; b=MXVQ6pJJpR3upLtcTa4Lfh3xKN/i8w2xApApH9GgO40tA0yOOpfYwjARmy//GkimGI LS2lW0aZIRqS+bk81MwGZq1zaYIsy5aaNAWf7hX4u8yETpwVock2yG3OSSRiTGzURZkr SVAGHLXs98JlbhQxCKDhDmLg1v8cZn4LspQmUzQp2lbd5JeenhcJEazrwtlhj5NOA+z2 nrjOej16Jvegb70a9aN5HrNguSJuO6Xcqjrwm68i5zkXsrZTyvYxnZtFNTxD5LqXugri U92RGSVHMwHF7qvuAy3WhcAPczIxswNpB/bHSbKl9nYadA2975WIPgDgj+nYO9aUcg7b upUg== 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=04Jj3gUDx4n1CBoXEYbBjPXj508msARL9j31AXuBtmw=; fh=MLCFOCQk6A6s0a/KVt3HgwVsrMu4OMl/i18GnyAm5kI=; b=sr6xaqVah2UZEiSsZnXFmDmeJ1YDlicI8SrjWc2pCsPLctLe8aPH75wXl/Q5Q/69Ru SE4roEGb1RCW6ru1r1Jt0pgoFqTKWWwwdWyPSxP5E0QJo4lHocnwSQHvINYaN5wLkoqR jC7htWLgQY7vaHe8IXD8+B4ICbT2+7JgRMDznhpKs46/NxmSS+0cFzEmnOgdnfWhOASH v7GLw3BnjvOGg1rwTFcIxyEzHCPT+tMRnuMqL4936/5PE0E4dllz1Y4rwO6wMgJS9DpT slvVz7j5D6lXhmraIqVWvI+f0dHMKOsOKfEY2STxtwWUu435Pibo5RNi/QmHkPuRIqJu y6ug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GxXXE2RP; 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-38643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38643-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id ay25-20020a056a00301900b006dda1c1a673si1105987pfb.323.2024.01.25.05.30.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 05:30:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-38643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GxXXE2RP; 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-38643-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-38643-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8CE14B21A3F for ; Thu, 25 Jan 2024 13:25:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 14A6D50249; Thu, 25 Jan 2024 13:25:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GxXXE2RP" Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) (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 40CB550A69 for ; Thu, 25 Jan 2024 13:25:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706189139; cv=none; b=MhasNtelJi8sSzvwOFmgBl3RtAJiXkngDtE7Cb0tPDSphQNIBAHnaB5WqUOXdYSLLulKaPTeD8bvsP3XndBl/IXB6GOqlTFYzVpkS6SbktKC6cUlrQ3VJGNQoiNETGGdO05VNCLrB+nvTQlCnckfY1sNOMB73gppBz87p6486pA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706189139; c=relaxed/simple; bh=OvoXaMXr36HVggjnl+7s4lTA9aV8EnYdGkZVjVxpVKQ=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=B4Y2F0YxkessoaoB6aYkW6JdBrAmvSS2bfitR7oB4ZQFbLkoXj2MrcjMip77v6WA0jFyYFc4XPXPHNBNg23FBP/QypY0NNI/Vtj5IQvQRX6uSHtn+4lJAYnUGq8YdPVV9TvqAIDkuA5stStkkUkWl/idQ7S/sF0QFxz64kWnD58= 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=GxXXE2RP; arc=none smtp.client-ip=209.85.128.178 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-yw1-f178.google.com with SMTP id 00721157ae682-5ff828b93f0so61043757b3.3 for ; Thu, 25 Jan 2024 05:25:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706189135; x=1706793935; 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=04Jj3gUDx4n1CBoXEYbBjPXj508msARL9j31AXuBtmw=; b=GxXXE2RP+LuGYO5Giqm01iaOYMLf6pQgx0zgXJSQ3Msyggftkc3XscIAsmacSlSXSc BoBXVEuP3JeCZ9oij20YDSAwjAPljJnRgiQepCA65HKhsvnCY7ObVk1npS1/J0aZO1ty dnz1GKzIWoLzxnKMLZDJYc229SCFg/3oEx5C1/TcdM3ksg0JirWRyaa8IgQ4Ut7l9bA6 JiEnrcLm81b7oLCJKy/I5X3tmmluxp4v+Pb/w2H5p6d078ere3hlos+2ourSlyh/F3ZL XiRK0K2tHRu9H+VtWCFl0nvR6MSGDvg8x9qD3cDh6Fy+ax+q520IXS/U0/SpyBao348S FrHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706189135; x=1706793935; 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=04Jj3gUDx4n1CBoXEYbBjPXj508msARL9j31AXuBtmw=; b=qwEdurlAUZmfQCyOTnRLTivimPvM0H3kKxJ49emVYnt5Mj4vZCU8veQDL5QgLmfx9D 9h4MptT5UUzSonouBcz0N/n1PW4EgXUpY3LLGFBuQIVIvdxnSdSEWXhUrID0Nxhytki0 AC4cT+nVn4gujGcgNHqu1NF7xyhxEL9YIhBDB6vXUN4LurvZMXW9eGTDVSNMbybl021f fXxjwTD9cVljYL4EmCjrq6JCBgNQNRFYjKjBezVsF+jHGIEU51d16jMMuYbnKBhClX1S vSjIf1ml1UBjmXh6KVL2uF+FITCQ3S4DMNmSNmHmbb6kAf2fSQyD0YAUqr6qCLc4OwHN 6NHA== X-Gm-Message-State: AOJu0Yw1rZf1tBWGQel9rtgd0qg9LbktR1AQ9VtRCRsay8tpRckM17E1 66XiI3HxWoQQnSPN/d44lfCms8JsJjZsLgwBMw2lpL2jQmKE1YaLUIGmJw8/lnb2GAC3U7/CSZn 3CpFDTPhsRONUgR6XITpgpiAs75IZLi7hjTVuRw== X-Received: by 2002:a0d:e801:0:b0:5ff:7cb4:d200 with SMTP id r1-20020a0de801000000b005ff7cb4d200mr639112ywe.17.1706189134373; Thu, 25 Jan 2024 05:25:34 -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: From: Dmitry Baryshkov Date: Thu, 25 Jan 2024 15:25:23 +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:18, Dmitry Baryshkov wrote: > > 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. Hmm, pcie1 interrupts are also not contiguous. Okay, fine then: Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry