Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp408663rdb; Thu, 1 Feb 2024 11:59:46 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUtLRvO/S9Gvr1EOlxdJnJg9xDlED7g6T9ubuJk2I+vJSL0BHH8H3giQ3/BIU39AHJ8KrWWRA2TAFxFEpQdM5A7qSG7L8+Mt/hmSGH75A== X-Google-Smtp-Source: AGHT+IHC7Ys7E66OiSfaHqMyvJBwocPZ8q6uiozjzOj9jw294BVwscU/nZAiCNPJkjQbnDB+3kwd X-Received: by 2002:a05:6512:5d6:b0:50e:3649:8649 with SMTP id o22-20020a05651205d600b0050e36498649mr2319941lfo.61.1706817586016; Thu, 01 Feb 2024 11:59:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706817585; cv=pass; d=google.com; s=arc-20160816; b=gujBf58AFx28K/Vdd7OMJpocSOdOmnmMW7/TDaNHHe3mnFPnEGLoRnyrtgIg0EXaoR loERrA7qe5KlAeY/1M/ba55UUjoFvnw7novtmY8wmDuotHalzxTTCwZkNWV/4zh9w8RK TxMn3WGIWGiKFiYGb+jbwt7MztSJ6/x7YvCAA3FTXmxTplHeWALBEqNh9VJyxxEDeaZ+ l7U+qZPtvv1+Tzqr7OkQ5Zlz5CBRrUngX1jHqdlfbai9zLnZdT4D9NxyFkLjtUQ+0B1F IYqdimCrF0NB2ZUWqnwkbW6b/hKpaF6FaDnpqOFw8UCAqASjzkSWYz0AMzV09BzhFTxT cJhQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=8dOp1JQgASRukzALnfQhyhwz92RPkxu1KRtWoDV2mjs=; fh=wBnfGNl0/envhU+2dpq9n9fyPgJkLGfBQsCOyV7iMB8=; b=UXEv2WmE9g+oMQq1WpMaf3pDN9RgDlWK/h72b4I+oU81wxuWQVLJVbsYr00ZsAScXY XpH4i0gOq69s2udi1Hm5QAHlYPxukgKho+PuWqU9RmcKkrncakd75Cxk6uv0sfwdcmgI R8mgiEC5xmAohWoAKM5/bI73NPI5uiWa4T9K7gx4Dkbt5VxJafgdunW1j429CB0A92gu ULa5jm2UIhelxb6WVM4dGOfbRnnVOu2UC+u0h3h6Phj8dlf249QVfsYBz7IzzLdiN3tt K0NTme3tNB1DEX3ssi/+zQa3JCdbxOW9Q6eHjYoSSPznwmgl8hR+snzOZs6WVCdZK2Fo 8zRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SSQmiX8k; 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-48799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48799-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCUOE72KC+2flf+lOu+D6vCLltdd5i0NMdHNBvRIIENYMQYkeontX/5DbWseCqREBsx59wgiPjuPOqRjkH6XRyCQlmn2gICAvvCtl1l5yA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id lc26-20020a170906dffa00b00a35ca1d43absi99876ejc.702.2024.02.01.11.59.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 11:59:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SSQmiX8k; 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-48799-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48799-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 8FF9D1F27CEB for ; Thu, 1 Feb 2024 19:59:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D12418564C; Thu, 1 Feb 2024 19:59:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SSQmiX8k" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 1D54D8563A for ; Thu, 1 Feb 2024 19:59:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706817567; cv=none; b=a6/Wpfk2GXfsKTFvUF2cweIF7wK5A+X2e2IhrfJDzqPapbbzMyYmeBTyN/jK2vfSB/cTzRAyz92Q7+m+oTpB2VYIPTDaHxOD2SJfhD0aZwiN9bNMpamzsTtPIB2ZD6yUdzg8XWmwLXdkUkKsnCoL5flX6TCGJoDqCcKsI1Ih4Wk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706817567; c=relaxed/simple; bh=yemCSlTLsk8OwQPnRNYD/2IQjQ+HSzqIQZuEziEQu1k=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=NrmDFWaxYMYSnvwVjcwl6IXY7cKUrHeh9gSixP2UU9R6xXSulQT/jXhXjYssk6ozHlMv2fHR8p1X9Vbv/AeHtiT3dSQ6GoAy3i7cZ1dFPtnehg0tIsVEXQ/ikZvHZKEXu6EljzROfj/ChPEC7W6CrIuMxSNbKUemEuEeiQdf5PU= 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=SSQmiX8k; arc=none smtp.client-ip=209.85.218.53 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-ej1-f53.google.com with SMTP id a640c23a62f3a-a29c4bbb2f4so166456966b.1 for ; Thu, 01 Feb 2024 11:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706817564; x=1707422364; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=8dOp1JQgASRukzALnfQhyhwz92RPkxu1KRtWoDV2mjs=; b=SSQmiX8kBf9DWucTG4j0Ze/me28qTf5/CaFfxjGN6o/DcnbJDM7vdkwh8PeXrxc1FR FDyaPMFsnntmFddmBrK4qdGrmJodgEty0osjvSMe6ySsQ2ulHvyQ3o7oDL9m+6y7KWYe K5az1z9JTQytWcE8SeUemXRGmPseBavhhkFuIesnWu9h0V5gMUyCrDcXw+gCxcJbBp1o LmMyverT/sFeZbKqxxfRRzMFC5MJcG1DRlRRhKBtQe7bJ4+MrPZGyRBC/Wf7jXdd9xrs sFzlllGWVLs+9BlEJgQeid864iX4zXHbYihYXKfo4D1BeZcYxwDuvCphgZ3GDSR463Ab sgJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706817564; x=1707422364; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8dOp1JQgASRukzALnfQhyhwz92RPkxu1KRtWoDV2mjs=; b=dmcQkixj5ZiTIo33qIl7c5gts8pCJAdSkJrNC4jPeluGyNxZ6hTDYBM3Bfp1guUFx7 D/zBuZCVY5xKTOC/fJF0fB74CZfLVSguFvWc02lXb7fKj8kVzFM4umQObkr2wRSmlpNE H5T6QDL5DkN9xyKXv5HmLDO/XBUXl7vjYj+Zt4u2FUFY/4bvlh+oCuap/hN73cao4NEI CndajS1s5vY3i6QFD35OJ4EoZgXICZEhZSq5scH/GplEUqdlL4uSeox650Nv3pzX/ZqK P6UWU/0zAGeWTK2Q2cFuxl/6/C/4+neROwYY/JYgqU6wUBUhCoPyEIom5T0XKwXx3Poi byHA== X-Forwarded-Encrypted: i=0; AJvYcCUUwmgYF5AomNEklMnR6wZ+nU45BZ/HtydGHKrf8b3zGVJTlzjx5B/W4F0zIQungH5eSQ3rtwx1MB57+2Abq3H236Sf3Bf8xwFyiRQp X-Gm-Message-State: AOJu0YzA7W/V+s4FP1ZrTmPBBtoEN9kuccCXwXqL4leTbe4Sh3Oi9IKJ 6/7SwjZJR4HAor9ghICytVBMoJVz/KhseFCZOH5K039L3O4dBtN/bHlPi7Ir2As= X-Received: by 2002:a17:906:807:b0:a31:88d4:9a4c with SMTP id e7-20020a170906080700b00a3188d49a4cmr3861366ejd.22.1706817564249; Thu, 01 Feb 2024 11:59:24 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCWiRa5+Ww1MOwD7IJi1uBnxI6qvvRoZicjEsvFAld+PkE4XFrkA3zaW31nZErxltJRiB/Nz7q5btw80YWViRUMLbzGtaZnRYaXynuJ1VriWtvNta2bkHJo92vJHCLioenqdbC182yQcK8GA+01zgxHHLzzcICpKdPjxyU4bSENpH16tHHHQu1JGqKkZCDs3wGAxT6sr0XzfAWYbou4i/B6fIeS+113vT9KjjEFBegXlOpPljCA/lEevmMyh1SuPKnYfLwZVT8vfyYub Received: from [192.168.159.104] (178235179129.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.129]) by smtp.gmail.com with ESMTPSA id s14-20020a17090699ce00b00a36c6b0485asm108608ejn.103.2024.02.01.11.59.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Feb 2024 11:59:23 -0800 (PST) Message-ID: <0cf69024-a3e6-4be2-89ce-017ae521721d@linaro.org> Date: Thu, 1 Feb 2024 20:59:22 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] arm64: dts: qcom: sm8650: Use GIC-ITS for PCIe0 and PCIe1 Content-Language: en-US To: Neil Armstrong , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240125-topic-sm8650-upstream-pcie-its-v1-1-cb506deeb43e@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3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TOb9TM izWDgYvmBE8= In-Reply-To: <20240125-topic-sm8650-upstream-pcie-its-v1-1-cb506deeb43e@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 25.01.2024 17:55, Neil Armstrong wrote: > Both PCIe0 and PCIe1 controllers are capable of signalling the MSIs > received from endpoint devices to the CPU using GIC-ITS MSI controller. > Add support for it. > > The GIC-ITS MSI implementation provides an advantage over internal MSI > implementation using Locality-specific Peripheral Interrupts (LPI) that > would allow MSIs to be targeted for each CPU core. > > Like SM8450 & SM8550, the IDs are swapped, but works fine on PCIe0 and PCIe1. > > WiFi PCIe Device on SM8650-QRD using GIC-ITS: > 159: 0 0 0 0 0 0 0 0 ITS-MSI 0 Edge PCIe PME, aerdrv > 167: 0 4 0 0 0 0 0 0 ITS-MSI 524288 Edge bhi > 168: 0 0 4 0 0 0 0 0 ITS-MSI 524289 Edge mhi > 169: 0 0 0 34 0 0 0 0 ITS-MSI 524290 Edge mhi > 170: 0 0 0 0 3 0 0 0 ITS-MSI 524291 Edge ce0 > 171: 0 0 0 0 0 2 0 0 ITS-MSI 524292 Edge ce1 > 172: 0 0 0 0 0 0 806 0 ITS-MSI 524293 Edge ce2 > 173: 0 0 0 0 0 0 0 76 ITS-MSI 524294 Edge ce3 > 174: 0 0 0 0 0 0 0 0 ITS-MSI 524295 Edge ce5 > 175: 0 13 0 0 0 0 0 0 ITS-MSI 524296 Edge DP_EXT_IRQ > 176: 0 0 0 0 0 0 0 0 ITS-MSI 524297 Edge DP_EXT_IRQ Is it by chance that this one never fired? (lgtm otherwise) Konrad