Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp3141736rdb; Tue, 26 Dec 2023 18:45:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IGRhyZidEzHIvyIWqAftfWTr00nlDXNjOg5oykaBIVSW2v9RuOf0dLCGZh9ilkhAvwUFgpa X-Received: by 2002:a05:6870:4190:b0:203:ef6e:2319 with SMTP id y16-20020a056870419000b00203ef6e2319mr10567641oac.10.1703645146448; Tue, 26 Dec 2023 18:45:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703645146; cv=none; d=google.com; s=arc-20160816; b=0kzAnWOqZiivuFhyziCNiDX1K1EVjbkqTRU7zVBr+WAx5Fq6kCPMNWv7+/Z1PBwKWK eS7PKvwXlJZtuwtxJ6qRagD5Df0MepDQJ+gFl5ipmACCn6dcwQrqdulOa7XB4/IliTh7 fZquXapy23hxeDaeiIvHvK43GkQ7PF+GND+4sR5y+wR2W7S5yiKxwI9Gf+q5FYjfiPku 0OQfp5dKyqiV5sqZzniiNgwnT/WlxOl3e2TiFhJ0X90O8CyBW3IGEsNOOtfb82gDItfK L0RvqFwYXYWIMLp8z3uDvmfX9G4IJDRMLtodGSLv5RT/0mGKVyrfv5HAM61SxABNWGOx KNew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=AcAInoG8b8g5OZ+A50u4ffOyj6Q+VZY/3o1pYojAozk=; fh=IxhDSOIUEM5Ei0pxmC0shx5cUA0r8wBawQLsACcyxGo=; b=bTfSvKDvt4mQdZXZQkzFwP5baP3/yAES/DwLO2T+iNKPrUiuWd+uhRDdNDq85jx+jv Ww14DFGgzQ7w3DIa8fE0DDRoVLBHZ/JUMq8ioK8+hgDSxmICAFjWzN4+Z0ZMfG8/w6ZU 2v1Ydwj3bUYq/7ZiGFRLBxgpAhTbiaQQ70pohKXnvqaleb8F9gwSBFVEepAWaPM8EG7e KC7uPDvTgAz83+uxUoRguLFvahiLkLTOoVqjcdR+U0CVLHuVaqFviNiRHXmzq0l6oY5+ 4/T2ZzEBKfhkg78Pr4CI0i6M1ttTnG/QwZ+v/mM4yC87WvIP+WPUQxDhAfbg0vK4BszF 0oWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pFSjxleU; spf=pass (google.com: domain of linux-kernel+bounces-11779-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 130-20020a630288000000b005c658bf30a8si8057013pgc.302.2023.12.26.18.45.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Dec 2023 18:45:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11779-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=pFSjxleU; spf=pass (google.com: domain of linux-kernel+bounces-11779-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11779-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com 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 19F9028341F for ; Wed, 27 Dec 2023 02:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B48FD23BD; Wed, 27 Dec 2023 02:45:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="pFSjxleU" X-Original-To: linux-kernel@vger.kernel.org Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B4D420E3; Wed, 27 Dec 2023 02:45:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 3BR2Ukph012628; Wed, 27 Dec 2023 02:45:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= message-id:date:mime-version:subject:to:cc:references:from :in-reply-to:content-type:content-transfer-encoding; s= qcppdkim1; bh=AcAInoG8b8g5OZ+A50u4ffOyj6Q+VZY/3o1pYojAozk=; b=pF SjxleU9KhfDO+hr6wCaN/+gqiFT748QgXDgYm3qSWCCr1TbfNRje+/aPNEJ5roGd 7ko7biXK6C8vqzR6tMElitjnxAhG8cdlGJIfUXZSQZvnzj8UgqPyLYqrgmo/5K2q bTi7KfeDOm28xvdgY+sYUkUeuvV41md+HDEtRiCgNKaMIe8GDM9MbqSKGPATrBJn h1JKPIs1dxx0PKCQ4c3RlcG3fkhobMoNITkbdoi80/2vu8JwZS81L0Ymg3Jex1sm tLePBCwFCdd+j9XwMD9C4oOmEaK//SJAyNNPaZF9c9Dbvz+nG9zvgc3LVdIzqsG+ xbMloeVSQs3cNtnhc9nQ== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3v7gd9atpp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Dec 2023 02:45:19 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3BR2jJFo024139 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 27 Dec 2023 02:45:19 GMT Received: from [10.253.9.140] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 26 Dec 2023 18:45:15 -0800 Message-ID: Date: Wed, 27 Dec 2023 10:44:58 +0800 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: sm8550: Increase supported MSI interrupts. To: Konrad Dybcio , , , , CC: , , , , References: <1703578131-14747-1-git-send-email-quic_qianyu@quicinc.com> <3e3c58e0-6501-42c2-874b-1d9a00abb6c7@linaro.org> Content-Language: en-US From: Qiang Yu In-Reply-To: <3e3c58e0-6501-42c2-874b-1d9a00abb6c7@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: Y_LpMF9_tyIm532UW4dzML5H8Ks4ohzZ X-Proofpoint-GUID: Y_LpMF9_tyIm532UW4dzML5H8Ks4ohzZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-09_01,2023-12-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 lowpriorityscore=0 adultscore=0 priorityscore=1501 clxscore=1015 bulkscore=0 phishscore=0 mlxscore=0 mlxlogscore=776 malwarescore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2312270019 On 12/27/2023 8:26 AM, Konrad Dybcio wrote: > On 26.12.2023 09:08, Qiang Yu wrote: >> On sm8550, synopsys MSI controller supports 256 MSI interrupts. Hence, >> enable all GIC interrupts required by MSI controller for PCIe0 and PCIe1. >> >> Signed-off-by: Qiang Yu >> --- > Thanks for digging this up, could you check the same for other platforms > too? Particularly for the compute ones which heavily depend on PCIe.. In theory, synopsys MSI controller on all Qualcomm platforms supports 256 MSI interrupts. But my current task is to eable them on sm8550. I will check the same for other platforms and upstream them when I have time. > >> arch/arm64/boot/dts/qcom/sm8550.dtsi | 24 ++++++++++++++++++++---- >> 1 file changed, 20 insertions(+), 4 deletions(-) >> >> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi >> index ee1ba5a..80e31fb 100644 >> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi >> @@ -1713,8 +1713,16 @@ >> linux,pci-domain = <0>; >> num-lanes = <2>; >> >> - interrupts = ; >> - interrupt-names = "msi"; >> + interrupts = , >> + , >> + , >> + , >> + , >> + , >> + , >> + ; >> + interrupt-names = "msi0", "msi1", "msi2", "msi3", >> + "msi4", "msi5", "msi6", "msi7"; > Please make it one per line, like the interrupts entries. OK, will modify this part as suggested in next patch. Thanks for your review. > > Konrad