From patchwork Tue Mar 12 09:47:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sibi Sankar X-Patchwork-Id: 13589752 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76500C54E66 for ; Tue, 12 Mar 2024 09:48:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=JOLcjONM0TsQHCv9Xtxls2lS0RZmyiaw6IM80luuCdY=; b=qdH2YL+rboZ0mJ 1dnqfFC8wRqcLSmuZJ0wowViqHWT7BYvCz+kRc/OmtQzsdxH9pnd/pUKMBo2OzNQFkAjB7ioiTJbG oqajIYiOWGrBN/VMUkE9W49x6bCGyXoWTsuqBhg8DTCfLkOENb21WeHmyA1poKmquVSUvHDBC08sI WJqMDfgITg0MQ5zHC580L+gkr2k6YdDlCtcN7HDyz4Pi3FC4q7HDt6Gx2WcaYarTPFAWNcUw15QMI D92wAoepZ8UEKiVnTrOt3r1SGKGBLrwpl4domKGp/M1bhLDvDRIkH0uB9POWx8tA1PyHKFzsXgYZw u1IrVMVCJxsRlh6/bxPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyjm-00000005Box-1a6T; Tue, 12 Mar 2024 09:47:58 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rjyjj-00000005Bn2-2Did for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 09:47:56 +0000 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 42C8DcNW015337; Tue, 12 Mar 2024 09:47:47 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-transfer-encoding:content-type; s=qcppdkim1; bh=GS8a44E ElKT1iKb4VOxwYSGBj1195LrzjcOpeKyOEEU=; b=ZyngT2ApdQdSLberTbOXPwM YH0NaT7OFsFeDq7N6W30Gtf0nwAyS6kbuOXUqQrLVhOQL5mDcfvOzRclPbGGUNfP EX9FtV6a90/CvNigKBnbd4NhaMMnpU0QmKig1IGmRkouFYrjCmqIx7cDJRZi5JzR /t72U/o8QrOdEI6DLOl+YpSyGWlG2TwT8boQir0AuLrUqj478b0fEbylOr7LlA2X e4yGVmOhobLpKA52JcDepIhxOyu8mTBTSMW2h4i2fluJQ4LIU5d2qdZkVmShYTvZ og4cv3TIcaEFNRfMwdz/wmkxmaK1BRSXGXKELivkkfLh0T3ZTlqOOFsnudC16Xw= = Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3wte5d0sa3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Mar 2024 09:47:47 +0000 (GMT) Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 42C9lkjf024150 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 12 Mar 2024 09:47:46 GMT Received: from hu-sibis-blr.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; Tue, 12 Mar 2024 02:47:41 -0700 From: Sibi Sankar To: , , , , , , , , CC: , , , , , , Sibi Sankar Subject: [PATCH V4 0/2] cpufreq: scmi: Add boost frequency support Date: Tue, 12 Mar 2024 15:17:24 +0530 Message-ID: <20240312094726.3438322-1-quic_sibis@quicinc.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: oLbu48V99Eu6XMJNSOURVjCRJ_8wUKfl X-Proofpoint-GUID: oLbu48V99Eu6XMJNSOURVjCRJ_8wUKfl 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-12_08,2024-03-11_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 impostorscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 clxscore=1011 lowpriorityscore=0 bulkscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2402120000 definitions=main-2403120074 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_024755_601616_C5C7FB07 X-CRM114-Status: GOOD ( 11.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series adds provision to mark dynamic opps as turbo capable and adds boost frequency support to the scmi cpufreq driver. V4: * Pickup Rbs * Use turbo and simplify setting turbo. [Dhruva/Viresh] * Update commit message of patch 2 with more info. [Sudeep] V3: * Don't set per-policy boost flags from the cpufreq driver. [Viresh] * Drop patch 1 since Viresh already pulled it in. * Drop depends on bug link. [Viresh] V2: * Document boost flag. [Lukasz] * Remove sustained_freq check. [Pierre] * simplify sustained_freq_khz calculation. [Sudeep] * fix default per-policy state. [Dietmar] * fix typo in commit message in patch 3. Sibi Sankar (2): firmware: arm_scmi: Add support for marking certain frequencies as turbo cpufreq: scmi: Enable boost support drivers/cpufreq/scmi-cpufreq.c | 20 +++++++++++++++++++- drivers/firmware/arm_scmi/perf.c | 3 +++ 2 files changed, 22 insertions(+), 1 deletion(-)