Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2876042lqp; Mon, 25 Mar 2024 11:42:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVosjZqhbhKO9BMGL19rQ09ZudKdwL7RDnkSmSWVcPM+wfei3OjmqDM9NOLc1zZAwsaSjZfpSO8mL4uDwHSQ1P7WSYkSTPaaBovhm8Kgg== X-Google-Smtp-Source: AGHT+IE+SEUUze4uNhZy959KIdVC2KX4/n4Aa1V4E7NeDE87KF6Vm1LkQNP0eo9i/4OYrdjiq8Vt X-Received: by 2002:a17:906:a197:b0:a47:3409:2948 with SMTP id s23-20020a170906a19700b00a4734092948mr5544408ejy.38.1711392126966; Mon, 25 Mar 2024 11:42:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711392126; cv=pass; d=google.com; s=arc-20160816; b=eqHlm9n5Bb6ch3lABgcEJq6g+Z7VURV0ESdoY3AjrIj33bonrG/ygY0cQNDsLI3wTj 21V99b4n/iRhDYBmcozJw8B49JIqsVb9IcE9+RPBx1NX/mdGJRGQtpTJKiek6ThDM/+n V6oqBbtPAJd5/dZ+Hz8ZIAQ5UeGsLLts3Lp78UF/mlJMk/Y5OzezcpGlXiJP/0EiSird fPgs31fx4+bHdWgInyxPYhkllSnGuxEqPmeuVfMp+ZqFYo/8RJvIVAOiaA5qJahTWDxn xVY4nk0dEEpMPV6P3ivxSqLSIzdKHVNjjmvjCFh0C2WqT+bnENtZbqrJhSKj8kGk5lmM fYqQ== 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=Corv7XC0jfZEvU5R/Nlwww06NiqD+/ReBLSDRFB3fHE=; fh=ER7WIdRIxxuvgVIO3fAh8d9ql1MmlGbcD3P+h3G6+Ds=; b=Vrvpq6w/nrPb2UxZ4FGpUmylAYgTP208Faf+L1mw+Y0XRskt8xnk6vdL3NfsIMyJS8 p2MLDSWcM5UQas8Ro5MHXR7Ao8QRSGqU6BAy5Dvz3obWvYt1E+2DzTsi/jCvrOJlCo+X 9lzJnqJ2O2fII1PbR9sjHckr0oNoJnbnOlrx0w1OrVkmwQOD8jf6poQk15m6zxDAy7gl pw6KviP7k6uk/+x3L4JRvFCIXk/xp4Q9qI5yiuFm+pTnMaN7NMhjZcrUCFBSiNzxnWzm HMXGvlIBRgn8FyIQE0lgNd4q7Kh3FPwXhCIC0iXVG1VQEnXYbNaSYtsZyD1sbGeJgUX/ d7CQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EOy3f9ts; 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-117686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117686-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id nb5-20020a1709071c8500b00a4750c515c1si1703439ejc.189.2024.03.25.11.42.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 11:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=EOy3f9ts; 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-117686-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117686-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D89551FA355B for ; Mon, 25 Mar 2024 18:34:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 67047290F; Mon, 25 Mar 2024 18:16:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="EOy3f9ts" 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 132C84A1E; Mon, 25 Mar 2024 18:16:56 +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=1711390618; cv=none; b=UKDKgmbUM2BhlJhLj3RtUl8dVoDJdTeMa2h3V2MqmH9ECVRH1N9fPBd5WwFd6cgR8bqFrBXVqgQaNvMxl7Y4pRTMTAnu7bNZWvaIqNsIaiX4lRGMT1zyuQhFXBulTYegfENqEF+5eZ5hbvIzlHsHGOPWn/+LM/lmQWKUDsdendE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711390618; c=relaxed/simple; bh=xwtZlQRSzEIncth8FBMh9U4sQS1Vy0SBOM+CfuCw/s4=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=oXbmooyBKRj/SN7ILVl5WJflMFaoTKf7xzeiDD9rAE+/uDxRW9Tjv/ffKuSjt9ay5rkiYqBLyuddY9ye046rkjaUHLUEbsnUmef+SSCw+6LjAPr5Fwwi7F/xkmL15SFkQdXlm34942wcVI3/jGJ4xS926UqxqQgtpaMi11aIHN0= 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=EOy3f9ts; 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 (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42PCNPaY008401; Mon, 25 Mar 2024 18:16:52 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=Corv7XC0jfZEvU5R/Nlwww06NiqD+/ReBLSDRFB3fHE=; b=EO y3f9tsUaqTH0DLTtK29t2lY/iznisjJdrqon3YM3TPSo1nMCcaf/9E7c4wEv0Gws FuuZd9LB9JQszsNmrD3eKwxwR7LK8m5VaEok0DTPpeTCwRlPJtq7NKredFtmTJld ZNtHSlEOrjBKGvlPhrQL1k7V1t1F1HVDJ4NBJK0Xt9Oj647FXBqhuhclocHmFXgS SEJ1SzCXmqMC2Ss0fyZcDerPZ2SGsFBcnBRQrnZpJ+0u1OaTMTGlLv15Tu+8IfCQ M7bInzNWpixNVIqo4aFmQWBL82p3MtL3+57QSc1z+7nLn4/yExf6ThojMQtLsTny 4V4HpYh3+yNT6+j8w/cg== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x34hp1khq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 18:16:52 +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 42PIGpkL028410 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 25 Mar 2024 18:16:51 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; Mon, 25 Mar 2024 11:16:47 -0700 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 v4 0/4] Add support for QoS configuration Date: Mon, 25 Mar 2024 23:46:24 +0530 Message-ID: <20240325181628.9407-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-ORIG-GUID: yjLl1hmygz50P917MYQxC5n4yNFdKXoi X-Proofpoint-GUID: yjLl1hmygz50P917MYQxC5n4yNFdKXoi 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-25_16,2024-03-21_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=884 suspectscore=0 spamscore=0 lowpriorityscore=0 phishscore=0 impostorscore=0 priorityscore=1501 clxscore=1015 mlxscore=0 adultscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2403250107 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 v4: - Addressed comments related to spacing and line wrapping. - Changed the print level from warn to info for regmap related errors. - Use of GENMASK instead of BIT_MASK for bit mask creation. 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 | 14 + arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 + drivers/interconnect/qcom/icc-rpmh.c | 99 ++++++ drivers/interconnect/qcom/icc-rpmh.h | 34 ++ drivers/interconnect/qcom/sc7280.c | 332 ++++++++++++++++++ 5 files changed, 482 insertions(+) -- 2.17.1