From patchwork Tue Dec 17 06:48:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wasim Nazir X-Patchwork-Id: 13911298 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 94D0BE7716A for ; Tue, 17 Dec 2024 07:03:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=94Zleg2H3T4Y7IWXK+t5KGCGXCv8bkX0QgyXji62rIY=; b=uhlRAYZuLQsWL7Z7e0WWFHsfMm bquzOv6RBIwBbV0M0gILhqpMomw/Du2NgVu9Y7sHJZOdTVtyBiMiNgcJ8N9aP+KEUoNpCEAfcMWOP M1+hlqtwolXWYpBz4Brq/3h2nq9yJwE9Ey2RvXjqKxl8oAbJDGDTRMEoOiSwnFRlWzIyk0g3A1qPG DjFNX8IcajcaHF7L3wxGT+Zp9aqmmKH6Z9G/36YL7rCrWQjzwZZvOf8ZSpQ/R+oTAzZjK0hFZuEAg 6HGbJTa5yFPBvJ5zP5/7JggQab/BwdWInxBpKhidEA+wV5+L2vY/DXQh1o6DtSo85abwmE/cGkMiJ LsJ/azRg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tNRc4-0000000CWFG-2Hnf; Tue, 17 Dec 2024 07:03:25 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tNROK-0000000CTE1-3wln for linux-arm-kernel@lists.infradead.org; Tue, 17 Dec 2024 06:49:14 +0000 Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BH2wbOZ015454; Tue, 17 Dec 2024 06:49:05 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=94Zleg2H3T4 Y7IWXK+t5KGCGXCv8bkX0QgyXji62rIY=; b=AO7FFq3LMAnPOrGxOgH1rTx7Uh5 B8Fe/7NPGO23OkwyDW5LVD2GAcSTQetROqLucsRNuJo221ovULER9yLXLrYTfYvP 3X3RbBh4RiIvDz1ExNA03C0+of6dtCyilHHsnN1NbcShj1WHjZnogeK7u55MBWGJ Jh/h1a+yObT04jd0WxgQHj8viyvYVRmFT5xYf/aJxroMMBoLeEV/gbwX6bTLGlHt MeRMXROa5Tt81ujzOjD6XJaKWGL+mFQYFwtGJFQc7hqri/stA04CiEhRzM5oem6k ncsRhRLrEpiGefATu0CK8Avc74/Cr9xm7AvnMtAS/h9m4TCLQ56LpZe6x3w== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43k1060fmj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Dec 2024 06:49:05 +0000 (GMT) Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 4BH6n0hF014920; Tue, 17 Dec 2024 06:49:01 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 43h33kx8yt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Dec 2024 06:49:01 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 4BH6n07T014875; Tue, 17 Dec 2024 06:49:01 GMT Received: from hu-devc-hyd-u22-c.qualcomm.com (hu-wasimn-hyd.qualcomm.com [10.147.246.180]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 4BH6n1oN014927 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 17 Dec 2024 06:49:01 +0000 Received: by hu-devc-hyd-u22-c.qualcomm.com (Postfix, from userid 3944840) id 0E4925AF; Tue, 17 Dec 2024 12:18:59 +0530 (+0530) From: Wasim Nazir To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Catalin Marinas , Will Deacon Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@quicinc.com, Manaf Meethalavalappu Pallikunhi Subject: [PATCH v4 6/7] arm64: defconfig: enable cpu idle injection and cpu idle cooling device Date: Tue, 17 Dec 2024 12:18:55 +0530 Message-ID: <20241217064856.2772305-7-quic_wasimn@quicinc.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241217064856.2772305-1-quic_wasimn@quicinc.com> References: <20241217064856.2772305-1-quic_wasimn@quicinc.com> MIME-Version: 1.0 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: zMSu1OKRWURBtTxITdL_cbfKXMxhHUdO X-Proofpoint-ORIG-GUID: zMSu1OKRWURBtTxITdL_cbfKXMxhHUdO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 clxscore=1015 suspectscore=0 spamscore=0 priorityscore=1501 malwarescore=0 phishscore=0 mlxscore=0 adultscore=0 lowpriorityscore=0 mlxlogscore=785 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412170054 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241216_224912_990081_AA635072 X-CRM114-Status: GOOD ( 10.05 ) 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 From: Manaf Meethalavalappu Pallikunhi Enable cpu idle injection framework and thermal cpu idle cooling device to throttle the cpu by injecting idle cycle during high thermal condition. Signed-off-by: Manaf Meethalavalappu Pallikunhi --- arch/arm64/configs/defconfig | 3 +++ 1 file changed, 3 insertions(+) -- 2.47.0 diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 76bd7424985a..32911e57e761 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -693,6 +693,7 @@ CONFIG_SENSORS_INA2XX=m CONFIG_SENSORS_INA3221=m CONFIG_THERMAL_GOV_POWER_ALLOCATOR=y CONFIG_CPU_THERMAL=y +CONFIG_CPU_IDLE_THERMAL=y CONFIG_DEVFREQ_THERMAL=y CONFIG_THERMAL_EMULATION=y CONFIG_IMX_SC_THERMAL=m @@ -1595,6 +1596,8 @@ CONFIG_HISI_PMU=y CONFIG_ARM_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m CONFIG_NVIDIA_CORESIGHT_PMU_ARCH_SYSTEM_PMU=m CONFIG_MESON_DDR_PMU=m +CONFIG_POWERCAP=y +CONFIG_IDLE_INJECT=y CONFIG_NVMEM_LAYOUT_SL28_VPD=m CONFIG_NVMEM_IMX_OCOTP=y CONFIG_NVMEM_IMX_OCOTP_ELE=m