Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp905900lqs; Tue, 5 Mar 2024 23:32:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVo23X5MWWI/g0xVERWhM5vgP90nxcTVgkB+dX+nW62gt+Vj7ZBLSclshc62MUMOu8gkP+wb7bAEtvuz6/xIDJNIxZFGjaHaXv075nXoA== X-Google-Smtp-Source: AGHT+IHdB0+4ly3N2+QSCCzG2fI8Tw3aDP3YrhmnFZ1q5hEJTikZUVdq9EZaCckb0I0z7cKBZiLq X-Received: by 2002:a37:e114:0:b0:788:2eff:de32 with SMTP id c20-20020a37e114000000b007882effde32mr6330797qkm.26.1709710339752; Tue, 05 Mar 2024 23:32:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709710339; cv=pass; d=google.com; s=arc-20160816; b=zZI/8T7EnOlWCRwWPJv0CFyMVF5VD5mkrO4xFCDD+tNSiAl85xs43EVWTsLmRHf+bc FqDR3woBQTjtE1F0XHWKw5Dp3H+3+1LandPAWZIkLE+Lw0vG2JytKrJyaw3AUCAzs6ib nJIRHwUwum8uOtr7527CLIcXesEWgFEGi/JWQHJ0Z2yA8883uNM/0sRJ0G783tONhlbU RU1E+6c6CwuPQ2CpMcUdMacW6oRM1DzRcKrWg/EMAPva0Lb0t60YF2hRYAKD+4pxMNSn /eW5IBx5VlfivilNxjJV7N3K8Ey7IqxqaLiPfB3a5IPr7hVjMnUAiilr4wOWAro1C4Cw 9Bwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:cc:to:from:dkim-signature; bh=6jE+7DI4Z/+mUo2eFwCdooyjM8NPLVjM8BsLoV6q+lQ=; fh=ER7WIdRIxxuvgVIO3fAh8d9ql1MmlGbcD3P+h3G6+Ds=; b=D0jwCfNXVjRsBi/pX7LyAjgztW6QnQa4qQqodexaPFW8hy5agGcI6Ch5qBo4Uc8TZD e0uHeqmAzWKAo9pOl2jE2borwBkw0+FGjvqAOkf9r9kwVebCNSIS/A8yHnj+9gZV6gjv 8iwSm/2R4zOaf6H/wFUQvgO2zL0PItIOq7gps4NiMSM/fkYvUhcdGuC/lZdP9gTdiz8T rgc7DThKG5rpCt0ODokXs/b3g5t79mJFMNqH9iudSOyg+LKILy12xa51RokbWeX6fB1X Q+OCXB0IJ5XXKON5ULGhPZ++My/9bFfRqyGurA5cDoGVf+vvFXrb5MmemTVQ24Rd7Kkk 0gZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="TnIrw/2H"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-93429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93429-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id wg25-20020a05620a569900b007882320b033si7319336qkn.105.2024.03.05.23.32.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 23:32:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-93429-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=@quicinc.com header.s=qcppdkim1 header.b="TnIrw/2H"; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-93429-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-93429-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id EF8181C22AF2 for ; Wed, 6 Mar 2024 07:30:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 543775C907; Wed, 6 Mar 2024 07:30:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="TnIrw/2H" 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 1284F179BF; Wed, 6 Mar 2024 07:30:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709710246; cv=none; b=tevZK5tv65e/YaPa8zNL5867RGxEcFBbgZo5bG0TI4soeyqTWbc/2qktsQUbAD7UVBCey91DrzZhobwiUE2txYiZnZLyZGVvEGGrjK4xTnmuR2eA34KaOAi7VgobF77tco4rMGH4QeLS/yBcDCUXuisn6Al3ig1Q3cEcX5kBxU8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709710246; c=relaxed/simple; bh=6q5uA0GAwycbAH8Lnrl1xYpzxrxn3OajUQval+uTsoc=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=dCW3WgFhQcIE3ci+xUHcn4zSSRQZol7zM4CR0oJywgLtoZln/6jYUdR/YGHRatieriA7hj8kS7yEgd/CL0napvtcIgR4E5/pbVOVqQMii05WrtsF7ueuE5fjv0NIZ8DLC1lBCtJC1lqQGnjyIGgUECv7GAHYKej+ahBcWFtwSpo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=TnIrw/2H; arc=none smtp.client-ip=205.220.168.131 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 4266Cswc026368; Wed, 6 Mar 2024 07:30:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= from:to:cc:subject:date:message-id:mime-version:content-type; s= qcppdkim1; bh=6jE+7DI4Z/+mUo2eFwCdooyjM8NPLVjM8BsLoV6q+lQ=; b=Tn Irw/2HphdgD5+4FTGg5UB3nS4wFgaku6Wlt6gvf3c2ywEJ8Woyh8sjqS5ax9w4pQ ordJH5jl2sFlJ0bp1hRHmjL3SXludfqe3CSknjNY9L+ysz+6AuL3XKqAOKpL9lqB WukjEpdMB0jSIz6+E/XRSfdmmoeStoIOKrN57agJEsSlfkvTVFjils/60w4tbp9u e15R5k0Qzl0NX0FLV9b48q97mEDyj4SCJBcr6BrkhQxLRfmzlPQHjBmzZTATjuLZ I0nFUIlxGSY/Tk+2VSPl70VFB9Ve71VF5jBPLxi+TJFjXvuC9iYGw+ztJ5YsTD76 4VID0U08PKHkJAfRV1wQ== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wp2bptc7n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 06 Mar 2024 07:30:40 +0000 (GMT) Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 4267Ud1i003736 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Mar 2024 07:30:39 GMT Received: from hu-okukatla-hyd.qualcomm.com (10.80.80.8) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Tue, 5 Mar 2024 23:30:34 -0800 From: Odelu Kukatla To: Bjorn Andersson , Konrad Dybcio , Georgi Djakov , Rob Herring , Krzysztof Kozlowski , Conor Dooley CC: Kees Cook , , "Gustavo A . R . Silva" , , , , , , , Subject: [PATCH v3 0/4] Add support for QoS configuration Date: Wed, 6 Mar 2024 13:00:12 +0530 Message-ID: <20240306073016.2163-1-quic_okukatla@quicinc.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: aaNk1uEvHlCnHBztBJlXLYPtecOwAze1 X-Proofpoint-ORIG-GUID: aaNk1uEvHlCnHBztBJlXLYPtecOwAze1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-03-06_04,2024-03-05_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 mlxscore=0 phishscore=0 suspectscore=0 mlxlogscore=883 lowpriorityscore=0 clxscore=1011 malwarescore=0 spamscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403060058 This series adds QoS support for QNOC type device which can be found on SC7280 platform. It adds support for programming priority, priority forward disable and urgency forwarding. This helps in priortizing the traffic originating from different interconnect masters at NOC(Network On Chip). Changes in v3: - Skip QoS programming incase regmap failse and continue with probe. - Defined all the qos structures as const. - Fixed compilation issue occurring with arm-linux-gnueabi- toolchain. - Removed enable_qos_deps() and disable_qos_deps() as no explicit voting is needed for BCM before sync_state. Odelu Kukatla (4): interconnect: qcom: icc-rpmh: Add QoS configuration support interconnect: qcom: sc7280: enable QoS programming dt-bindings: interconnect: add clock property to enable QOS on SC7280 arm64: dts: qcom: sc7280: Add clocks for QOS configuration .../interconnect/qcom,sc7280-rpmh.yaml | 49 +++ arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 + drivers/interconnect/qcom/icc-rpmh.c | 105 ++++++ drivers/interconnect/qcom/icc-rpmh.h | 32 ++ drivers/interconnect/qcom/sc7280.c | 332 ++++++++++++++++++ 5 files changed, 521 insertions(+) -- 2.17.1