Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1640621rdb; Mon, 8 Jan 2024 06:02:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHX+BdWQ4JQK6jSZik5jkl0sz6EvwXkxVcrLiIJfONbXcofkj2DX8keC7B8qoMHBzJcFtim X-Received: by 2002:a05:6358:3421:b0:174:c858:cd3d with SMTP id h33-20020a056358342100b00174c858cd3dmr4274465rwd.63.1704722521555; Mon, 08 Jan 2024 06:02:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704722521; cv=none; d=google.com; s=arc-20160816; b=plTs4RRfkzef8S9M8vUlyoXUzHquV82Z2oaFgRMw09MubmuZqTSlVFWsMigxtUuxt/ VAljjvNX18EcGe772Xaj++vlKgm2N6hbGyhtHToQbP1KWAVOsVYj8Js8oDUGgnhDZTID VVypYtSUe6rhJ9x4BLmNTrR6Ejf7N+OPVsSzxYtfqWLctuH2fzNvAetpUYoaHeYPZQsZ fIqDIc8PX24tREIbkCr0L6wgbx7DEFuCKi4OEZOyNNJJbVFSAjeMmdwce8G6RtJXQG7o rf5TRy3LvjBY4imY1fEwh2IGmYV9W5vHao4aBw9rNDWIRM/0kfOTIvvXQI9edZnW+XgY 9EaA== ARC-Message-Signature: i=1; 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=XSdf+yYKlevuqvUAJL2ZB1zbnY7c7soWv8e8oy1iaoM=; fh=a706d1HlX/DtAJdq5shvP4nqykvzEfxTrnpKk22EfFw=; b=bI6Ur1kEL+/EtKjxMW0nKik9MNy8zfmHVPNwgZQO1FSf3J0zMAoFpuVOcR/Z8LFpSg ZJgWftpuhnXHi2A4Io80d6esDJPoUSMA0VDw1lUDXV6YIBC816MLoNmfx6zjWjq46p5y DC+tfPJqzogSZxs0RPCXW70ZmR6T5/ULcqy40PIkNm9zW34lsP8JU9Yn8cLqfe4dYRc2 TPjuRTFzEpc5VA6mofNa4PmZEeONlV6XkSu27U1q0eIT/eSt/R7TcE6fwpkTje3IPEde Rw5W9IwE0an6J0J0Hy5GokZXh959rfKlGrq5L8yGs8ix1JdOL3REgblODVM7RoG2Czlj 305g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CDhUsrJK; spf=pass (google.com: domain of linux-kernel+bounces-19662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19662-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. [147.75.199.223]) by mx.google.com with ESMTPS id c16-20020ab07a70000000b007ce6a7886b5si36872uat.53.2024.01.08.06.02.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 06:02:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-19662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=CDhUsrJK; spf=pass (google.com: domain of linux-kernel+bounces-19662-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-19662-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 4595B1C21A43 for ; Mon, 8 Jan 2024 14:02:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BE5C46538; Mon, 8 Jan 2024 14:01:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="CDhUsrJK" 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 EB9674597A; Mon, 8 Jan 2024 14:01:49 +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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 408CKZ6d013064; Mon, 8 Jan 2024 14:01:39 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=XSdf+yYKlevuqvUAJL2ZB1zbnY7c7soWv8e8oy1iaoM=; b=CD hUsrJKcTPqhAVS5jeiB8uIQgjrzTVGCTR8O8smRHlzIlFkKdXCAHkUF7wb6T6opk 22o1/MqfDRBLbJb8ViZzvY1Y5eZxkxcY0HmwHgyWhsH0Jr39fisscM9V11q140pz hcU9XWurgEgb6YVj0Oz0KkY3wWyQ66r+GJApZm1spC9AAdhtuFovamDLv879+1lu 7iOLnGiaaEAp5cAgm0MZ7gwNTqyTM6Gp6o8vXlvtb6NXwkIXgB1ILL9wcsXa1CC8 pY/QYEEhv4C5EkuKQMwYP8z4jDiwOQC7oFDamda2adCxlruxKb6X2rtYrvdIn3Be Ydp6xn9h0BeFeWCWbkbg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vgbu2gvce-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 08 Jan 2024 14:01:39 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 408E1cfu009427 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 8 Jan 2024 14:01:38 GMT Received: from blr-ubuntu-253.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Mon, 8 Jan 2024 06:01:34 -0800 From: Sibi Sankar To: , , , CC: , , , , , Sibi Sankar Subject: [PATCH 0/3] firmware: arm_scmi: Register and handle limits change notification Date: Mon, 8 Jan 2024 19:31:15 +0530 Message-ID: <20240108140118.1596-1-quic_sibis@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 nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 1VpS28Qtf73KLRqQFxwLRRczD4qm_F08 X-Proofpoint-ORIG-GUID: 1VpS28Qtf73KLRqQFxwLRRczD4qm_F08 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 lowpriorityscore=0 suspectscore=0 malwarescore=0 bulkscore=0 adultscore=0 phishscore=0 spamscore=0 clxscore=1011 mlxlogscore=469 impostorscore=0 priorityscore=1501 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2311290000 definitions=main-2401080119 This series registers for scmi limits change notifications and adds perf_notify_support/perf_opp_xlate interfaces which are used by the scmi cpufreq driver to determine the throttled frequency and apply HW pressure. Depends on: HW pressure: https://patchwork.kernel.org/project/linux-arm-msm/cover/20231221152407.436177-1-vincent.guittot@linaro.org/ Sibi Sankar (3): firmware: arm_scmi: Add perf_notify_support interface firmware: arm_scmi: Add perf_opp_xlate interface cpufreq: scmi: Register for limit change notifications drivers/cpufreq/scmi-cpufreq.c | 42 +++++++++++++++++++++++++++++++- drivers/firmware/arm_scmi/perf.c | 37 ++++++++++++++++++++++++++++ include/linux/scmi_protocol.h | 11 +++++++++ 3 files changed, 89 insertions(+), 1 deletion(-) -- 2.17.1