Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1235953rdb; Fri, 16 Feb 2024 09:08:50 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUBSduGOiYCfMK1+R8wcO2eVxEpw+XYmrEkdiqlEZCkwuMO+IEivbKvkTb1SbEJWHbe64giy0JScGc3VzE0ff4wW1Btu/eqERUkiO9OSg== X-Google-Smtp-Source: AGHT+IGfUkznjzTidT1EBu0Titey5MReZQCMK9OmhtMrrHP5ufYEDL2uY7oRHxbnIO03kxKBpC50 X-Received: by 2002:a05:620a:4046:b0:787:1f70:5a9f with SMTP id i6-20020a05620a404600b007871f705a9fmr6830243qko.71.1708103330588; Fri, 16 Feb 2024 09:08:50 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708103330; cv=pass; d=google.com; s=arc-20160816; b=sQwr/qyNMjOP/SDA09gVLyL+dA+3iWqcfP1OeygvMVd8fVpUKro0pk/0pX051C6GJC jakalKyottUmYSE8nVtS4X4dFbNHP2OqkM8Of0K6io18o1wgpnTgFRhk1xSrJ1kIiFM/ UbO++HwCC+VWsoFg428HELHCq2VLbI9w/BXduD6enzXx5l7Ihp87nL8F/l7Jp3jrf74B UdIM1AkORgG4b51Qrd/hW2782i1zn3scXrWQ1vWpMjSLdlOPrfR3e9jJMS+2WkkiozKQ NY0Y5RQrhGGjKn6XbKuxH7txoz0TVpImIhJMOQjD434bMJ3uNavsZ3RlwPAp2gJEuPxq ty7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:message-id:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject:date :from:dkim-signature; bh=xzo0goznw/Ntco681h4qJZM6h9c/lx0QHhOStfpeEEE=; fh=k2vLGfkHcRpOHp2d2OH53T2PETens6yPFilwvmg7ivU=; b=MVa00zeGAUr6vpVZLv2UQQs5aQwvUrtl0CDCGh0W8OOFndvnp1PwxoBAgKQx+yQqgq A6N7TNQE+6iP3Y/KKCLf3+kMhGVZIM8Xj7mMl0KiZxJ//dqtBcq+pnNPtRxoCfyecxcJ MdUZ5is+fLNyhplP8SLK/0PIUkYxNappoQUumKYTcIjRafjRX6sKB8gzlmXUgxYEH0hy Bqy7yw1PbJ/v+iWyeWZP9n6hvtuEarhFNWHlEq/JNmkOioBw2ag1Vq3zAYJp2v66X7Yk NLeK1TtdFscJjDacU9DaLNC68Vmbl4SkkOJrbkEPXZLEqj+nBpMS3SutkSs4+tk4KghO /t/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="cQf/OelZ"; 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-69028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69028-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 y22-20020a05620a09d600b007873624b6ecsi303451qky.139.2024.02.16.09.08.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:08:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69028-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="cQf/OelZ"; 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-69028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69028-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 59A491C20310 for ; Fri, 16 Feb 2024 17:08:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 756FB138491; Fri, 16 Feb 2024 17:05:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="cQf/OelZ" Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (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 CF423135A6D for ; Fri, 16 Feb 2024 17:05:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708103130; cv=none; b=DX80ObCho1712cKmtUmyZVorPYgBV/7zjgcsC1/4RAiNbkDV8fGT67yjDkYL7EujGTApS3yY1CHDSMmW+Pd4j1KbBY2cUK25XGNPf9ycf6E547PPvdxO4KkgCSrM8evsErfQO1JfliymHDinwfBYBNENgjQ/aZvY+ZV9slynHUo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708103130; c=relaxed/simple; bh=YEe1iIkMkTl6mXT05twz1lybD8lNCICMNljhIyX2vlU=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=X2QIOlM2v1zuBNBxRsXrVHVE562Ezs56ZG9kfbV17pc1JdiTRdstWfQk0Wb/n6xBo+1C5rKe5S32iHbSWsE8JfrUha8GgcKTp0vbLJmNNlsMyJllHglY9U25MWu3Iw/+YhsZSaW3TyRJ+sE4wjTWJNrDKGUq4OV6T00uRcG9GWM= 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=cQf/OelZ; arc=none smtp.client-ip=209.85.214.174 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-pl1-f174.google.com with SMTP id d9443c01a7336-1d7354ba334so20514045ad.1 for ; Fri, 16 Feb 2024 09:05:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708103128; x=1708707928; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=xzo0goznw/Ntco681h4qJZM6h9c/lx0QHhOStfpeEEE=; b=cQf/OelZQD1t6FaPQ0oMy0KKqc5oNg2hYs56A1NyX34m6vmtCCXaiLg8nvAtjtE+TH OGrnmZGVMmvUL2rfSPWh8X+waHrlYBtl53Pn5p5rs/kc21CCDBkU14kSRJqoK4oWZm6a AuHhpv1seLydHEu2ewb/vn9mTjTE7o652JuTxA8hOlT0F3fTYl1wz5bzHff71xYz9Don MJzI/2bRl7JzN5LrMlCJd2oa4I3h2LE3OU9F9nXe3k5oclaT6+/dEy3TPEzrbZ4XXKCe SB4NOINgXSXuQ54AdM4Wq3eQ5kysD9QcoEOs3pykgaJQhrqyBZiPtikrdAvPLjRda8b4 Nf9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708103128; x=1708707928; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xzo0goznw/Ntco681h4qJZM6h9c/lx0QHhOStfpeEEE=; b=nMWbx3V+JJhIszjV+hhmv9sZdS0NsYI0DJqL0oPIxP6NiCLbAb9FLlaRgOE7Neomi8 Hb7PqmcBr5K2p7F7Zk21HLwGR2mDVO5NXZliEtUgC8+j3mPzzOVgUEUKXcSSTu+I4Nz+ 6PyErj7pmza19f9uK3oIcKalvE5THURANEKfEM2xbrzBVrMNhCjKxEhwG0tcLcHGcC4d JaCWQg/uweRasQhscdWVt1bzpOdXegN1foqhKu2Qgz7UwCHCZZ2lJw1SRMcFZwC1eaQi Q5D1JaO0vFWfy0njTS8QQi/xYzga2uQdfer3hM+DKvJv6di7HoLSXIu9n3BmTt+FxX5A 2gWg== X-Forwarded-Encrypted: i=1; AJvYcCUmtMSrZ776AAFtOpGaJN7AKE2t5WkzNZfSi/czEz1WT+BTJHeG5R+/R6VnAHSR9Gu/XpRUoDHexSgi9pk9enTMIF9h9KQjEwRrkB1n X-Gm-Message-State: AOJu0YxD0c8WMh/mPVmBYRbg3Nlpe59n0QyAqKdniX32fQNwH5ojXvRV qOaCNCnhQD8rmWywLNjuLZCYN810safPuhfvppjaYgu8LIeZFjRzJm/sWuJ2JA== X-Received: by 2002:a17:902:d2c5:b0:1db:701b:33e0 with SMTP id n5-20020a170902d2c500b001db701b33e0mr6357753plc.14.1708103128010; Fri, 16 Feb 2024 09:05:28 -0800 (PST) Received: from [127.0.1.1] ([120.138.12.48]) by smtp.gmail.com with ESMTPSA id b15-20020a170902d50f00b001d9aa663282sm95508plg.266.2024.02.16.09.05.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 09:05:26 -0800 (PST) From: Manivannan Sadhasivam Date: Fri, 16 Feb 2024 22:35:21 +0530 Subject: [PATCH] arm64: dts: sm8650: Add msi-map-mask for PCIe nodes Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240216-sm8550-msi-map-fix-v1-1-b66d83ce48b7@linaro.org> X-B4-Tracking: v=1; b=H4sIANCVz2UC/x2MQQqAIBAAvyJ7bkFFQ/pKdLBaaw9WuBBB+Pek4 wzMvCBUmAQG9UKhm4XPo4HpFCx7PDZCXhuD1dZpa3qUHLzXmIUxxwsTPxjnkMiTdWsy0MKrUNP /dJxq/QCbmuN3ZAAAAA== To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Neil Armstrong , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=1655; i=manivannan.sadhasivam@linaro.org; h=from:subject:message-id; bh=YEe1iIkMkTl6mXT05twz1lybD8lNCICMNljhIyX2vlU=; b=owEBbQGS/pANAwAKAVWfEeb+kc71AcsmYgBlz5XTZlP1P9oCFUUIiXdV0t5k+20GxBAJixguy WJaznFAxzuJATMEAAEKAB0WIQRnpUMqgUjL2KRYJ5dVnxHm/pHO9QUCZc+V0wAKCRBVnxHm/pHO 9U4aB/wIVpxyFUp+gK/gJRJ91smrvGmTk8YfnaRAHiwLEN0phPdcRslim8zkXKDBR07EQVwjdMN o+bO7kSkjl5fK9wj79VVyhl+JB28ej5M8lhXogmrlIN7MKVKhEkO4/u3rbt43RhpS7M38Ojhz7m zROIaziDGj21hQBpHO3GAfTD6bBUlEAY8CdSv7mRev53j94zslS6FComze1ZVB87U1r2e2unWBO cWJUEd1N9TBzTSiMUp43RM8+8IS+1K3RYjGxv3BhyHcWNOuUPD4UBPI4VhHRhvM9RWre8mH2vQB CIob/rGzp3nO4GtjpzaspPlxXobnpPhcKwmiUbI5Lf2sbhRn X-Developer-Key: i=manivannan.sadhasivam@linaro.org; a=openpgp; fpr=C668AEC3C3188E4C611465E7488550E901166008 "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, -- Manivannan Sadhasivam