Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1035393rdb; Mon, 19 Feb 2024 01:59:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVGTp74cqkvxS7Y7v/RM4dThD8J2c6RIktyA0caH9MwNaKBA4V94kYmwubBAkmfK+c90ySFgrm0xDMtkCe+lwG7HfvLmlxVUdqhZ/hIng== X-Google-Smtp-Source: AGHT+IHMEIdS2LrrN9iGlyrwLcwCLkOsy5w/V97ajkKnxZYu4vYxz7cxexZ8L7mSMQWUMInQfMss X-Received: by 2002:a05:6902:1247:b0:dc6:ff12:1a21 with SMTP id t7-20020a056902124700b00dc6ff121a21mr11829496ybu.31.1708336774827; Mon, 19 Feb 2024 01:59:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708336774; cv=pass; d=google.com; s=arc-20160816; b=irKqw1YhqkQ/ivQAVbTAOLsMix9ch/7NQ8M01KTWvN7xylU+02P8nr8+zzIP4dIEXh QEe8IYsmaU/DEfioGQCtvpNk91C5BEVQEQHSBsKxzw7u4hvQEO0EdmtpaVu8XdOzWcut 95nBC3bjchODMp9Mso3o0LNYGDLjYMTp/OAeQvQXVrBBZZkbhYRPNWduCP8w/2zPiR+X 8jnwaRSbjgLUC5ZCzMIugvVn3Ci4ZCNmauVTp44haSH+D0OUxrbTWKpgs4eeqHNLw1ya WN8WEyMpX6ViuQAlrcfmFojLr0ys7NckTvPguE1XDCylm5tEDcQi4pGo18say+l4hki7 U0Qw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :date:message-id:dkim-signature; bh=uQnaoRg0OcXD43oUOLOIkmEkqA5MmodUK9yZS2QQYNs=; fh=s6h0pQ+reX44pcwiBTt8+om6EP+uV0Z2mHKE26Ax0Q8=; b=L01H9Wp28tio8RMgAR6OTub88HHVqXmHNKvX3XQ3GVGyJfYgCXdDowgy0FODmJr/JK sUrrPu4PEA/uuFI/9KwgRqsyF2TBIHB19nNh13pqa/r0V/Sx1J35fyRNTnmJa2q4TU7l JndpDu9i75xvas0OQWbcqv9R+8cd6QA7eJDtEn2AiSH84Mt+IESKYyUZJnJnuFg6u3yg tJd3OK841SYgE8NKba6hITzUIgm3YJcckoen6CgUy3Ydo/EiUl6eQCEUjgn0DFsZAY79 BXpOspp1lR4757ZIAdToiJj0pW1/AblT2q/IsJqn4OWtjL3sLlCwxiDjHHpinDv4VjkX pD3w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vHNqu4gm; 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-71080-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71080-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id k17-20020ac84791000000b0042dfad7df1fsi4078478qtq.274.2024.02.19.01.59.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 01:59:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71080-linux.lists.archive=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=vHNqu4gm; 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-71080-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71080-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 46A551C21324 for ; Mon, 19 Feb 2024 09:59:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7665225574; Mon, 19 Feb 2024 09:59:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vHNqu4gm" Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 ECA442555D for ; Mon, 19 Feb 2024 09:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708336765; cv=none; b=AhpBRC3WczyjUH/v3L3dFoZPoPKPhfzLqhxhXXmBbwewC8m+CqnPjX11zbJyDS6hpvRrHnYyuhDrflVGyAcy/vx1Eu3lfW3bao2B9zjzlCiV9NuQ6bDYcgPzuygZfrGWUw1nl7Qlz20tUa6Yf6RvRymM3sUjOYx9IJwjdxf6R08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708336765; c=relaxed/simple; bh=+51psQD7bb/Oa4T+MFP8wncBfjGz+puKKys+c8LD/zE=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:References: In-Reply-To:Content-Type; b=bQIA9GHaIw7eerqm04HDduzNrZjFeIpKIK6UVPO81+AS0VlOLNmR/Popc8tby5uwU/rySyNG2TNb0kjXMnRAPjGH3KNFOzmKZo9Zf2r0ERNWyry1rRYcSjBJUus7wtVYMZxwHNtJII88dBiQeJNSKfiDZW8UJYWwTPdph0WCHlc= 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=vHNqu4gm; arc=none smtp.client-ip=209.85.128.50 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-wm1-f50.google.com with SMTP id 5b1f17b1804b1-40fd72f7125so34253275e9.1 for ; Mon, 19 Feb 2024 01:59:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708336762; x=1708941562; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=uQnaoRg0OcXD43oUOLOIkmEkqA5MmodUK9yZS2QQYNs=; b=vHNqu4gmuoISJjJaskMtTNP7ruUoc+ND4o2kbpfyXFJPsWYHgMIEmXiYFpVYa1/rRh Ih33t7z+c1/qJ57h0JGpFySRppXPIAsM2fw99ZhTeQBUVcDAY6H4rNrknKeux/TzKtf/ Pt9yRAuNUFklbUyuhj3bBBNIKdIPbJBcEgyAzpEVhyhXtae0GW51UWIvasLGvdSeFllF MAJJy8xzhemXt5VvI8lYJeedN5qWqKRfdQSGUaT2NcSigjgdGV42txFLadAoAGGl6sgd d7dsZrBLG2ZULbY4xFzGcxB53k0JJoqgw7wH8c/NhcFXG7eio9wAuq/GJY9G0JaRmOAb Yp4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708336762; x=1708941562; h=content-transfer-encoding:in-reply-to:organization:autocrypt :references:cc:to:content-language:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=uQnaoRg0OcXD43oUOLOIkmEkqA5MmodUK9yZS2QQYNs=; b=t5ZKrimXqLKdAmsfkiEVfm5mKnINq00R1qa8dpbFA3bzbazSE5kAznYj4mpUmccjpk +Sg3Oc6eKlVlj4+t27hiMQO3qFruEt9D6/JgnE9FO+ypC8nGKiG7VLvFsjWf9saxNIxx q74EElG11RMovox6M4UmIs0pemHCh/hSLbpp3PoWjccmZK+bHIzC4FSKyrhUJL82VOj/ zoZs+dpRmxC+CpItT7h052mSEirtE/8EYFAg9iNPb2f3PrmNCWBycZ/hnBJ4BfmRwPiw DKET7GNI3WHUKkoqiLtyfR85q5mAKw816ZHHxujihUD3XcxhP1ozqr51OTCYEt5LjBrl VJNg== X-Forwarded-Encrypted: i=1; AJvYcCXrXV9TZHH/yHwTdX7eIk9fZRNlRXGbWuumZk1lYs4oK2EO1LIQSdidc5AKuHWbalP0KOVvuyztjHUbM+Mga9KL9ec1tpUf0fo6S0RZ X-Gm-Message-State: AOJu0Yyp6hGzd2KaWOGbsuIZLFXSDasbv8buhqzrKjx+N6h2FQaDBmq1 XX/+bseKctQWenz4ogjPdK19wtfwGvYuPcoUSH3V8hH/YWvJukbhuKBfSubAF4s4i/TuUfW+guZ 9qGnq5Q== X-Received: by 2002:a05:600c:3b02:b0:412:5f54:f402 with SMTP id m2-20020a05600c3b0200b004125f54f402mr3142487wms.22.1708336762410; Mon, 19 Feb 2024 01:59:22 -0800 (PST) Received: from ?IPV6:2a01:e0a:982:cbb0:9470:c6e0:c87a:fa9f? ([2a01:e0a:982:cbb0:9470:c6e0:c87a:fa9f]) by smtp.gmail.com with ESMTPSA id b1-20020a05600c11c100b00410cc2f5550sm10636819wmi.19.2024.02.19.01.59.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Feb 2024 01:59:22 -0800 (PST) Message-ID: Date: Mon, 19 Feb 2024 10:59:20 +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 From: Neil Armstrong Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH] arm64: dts: sm8650: Add msi-map-mask for PCIe nodes Content-Language: en-US, fr To: Manivannan Sadhasivam , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20240216-sm8550-msi-map-fix-v1-1-b66d83ce48b7@linaro.org> Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro Developer Services In-Reply-To: <20240216-sm8550-msi-map-fix-v1-1-b66d83ce48b7@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 16/02/2024 18:05, Manivannan Sadhasivam wrote: > "msi-map-mask" is a required property for all Qcom PCIe controllers as it > would allow all PCIe devices under a bus to share the same MSI identifier. > > Without this property, each device has to use a separate MSI identifier > which is not possible due to platform limitations. > > Currently, this is not an issue since only one device is connected to the > bus on boards making use of this SoC. > > Fixes: a33a532b3b1e ("arm64: dts: qcom: sm8650: Use GIC-ITS for PCIe0 and PCIe1") > Signed-off-by: Manivannan Sadhasivam > --- > arch/arm64/boot/dts/qcom/sm8650.dtsi | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/sm8650.dtsi b/arch/arm64/boot/dts/qcom/sm8650.dtsi > index d488b3b3265e..12ba839f215e 100644 > --- a/arch/arm64/boot/dts/qcom/sm8650.dtsi > +++ b/arch/arm64/boot/dts/qcom/sm8650.dtsi > @@ -2277,6 +2277,7 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, > /* Entries are reversed due to the unusual ITS DeviceID encoding */ > msi-map = <0x0 &gic_its 0x1401 0x1>, > <0x100 &gic_its 0x1400 0x1>; > + msi-map-mask = <0xff00>; > > linux,pci-domain = <0>; > num-lanes = <2>; > @@ -2404,6 +2405,7 @@ &mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS>, > /* Entries are reversed due to the unusual ITS DeviceID encoding */ > msi-map = <0x0 &gic_its 0x1481 0x1>, > <0x100 &gic_its 0x1480 0x1>; > + msi-map-mask = <0xff00>; > > linux,pci-domain = <1>; > num-lanes = <2>; > > --- > base-commit: d37e1e4c52bc60578969f391fb81f947c3e83118 > change-id: 20240216-sm8550-msi-map-fix-ab8fe5e24df1 > > Best regards, Reviewed-by: Neil Armstrong