From patchwork Wed Sep 11 03:15:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Henrique Kopper X-Patchwork-Id: 1983611 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com (client-ip=185.125.189.65; helo=lists.ubuntu.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=patchwork.ozlabs.org) Received: from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4X3Qlw0LFhz1y24 for ; Wed, 11 Sep 2024 13:19:23 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=lists.ubuntu.com) by lists.ubuntu.com with esmtp (Exim 4.86_2) (envelope-from ) id 1soDsv-0004xy-9g; Wed, 11 Sep 2024 03:19:13 +0000 Received: from smtp-relay-internal-1.internal ([10.131.114.114] helo=smtp-relay-internal-1.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1soDst-0004ws-L5 for kernel-team@lists.ubuntu.com; Wed, 11 Sep 2024 03:19:11 +0000 Received: from mail-pg1-f200.google.com (mail-pg1-f200.google.com [209.85.215.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 50D493F32F for ; Wed, 11 Sep 2024 03:19:11 +0000 (UTC) Received: by mail-pg1-f200.google.com with SMTP id 41be03b00d2f7-7163489149fso1773827a12.3 for ; Tue, 10 Sep 2024 20:19:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726024750; x=1726629550; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=O0OX9Ea0HmvF7QCfgtDfTZHrrYknNGjy+DVq/E7Sysg=; b=TjJSHI10wbe1WHx5N3LRmx8WHIsMg92AyQKBd8ebJyzY3OJXH9g1GoirA0zLqh9wLg wWdCXf1l+7lZISOVsv86wTgw91ZqCMin3dXvRiz0w78a7Ff+EF2XlFdoBDTAqHod8Nzb H9MeyT/aPyc9rIyWxgrDIbHtzuUaF1Eb/cgYdHthHVPonxlL9hzlmUMfpoHxYEw4mD5H vYX5cG+w69qmqMbnbx1cbonuA6dQunqDkhHoAZY957qoOMmCIApHIFycc+cD7FhIu4Ob SiT7mwdMKy8+lCTcQ//x1gCWeU2RSP7YwxGlCWy0ncjNDWIka7ao+JZJLM9XpoweEI0O 8Pdg== X-Gm-Message-State: AOJu0Yx8EPcuL35REPBtdm4e+DhISvkiX/5RgKRo1Y6ZjiujMlwEqAHX 5BcSX3O0asSHEQNLPhB7W9LVal4/CSu/HthtuOcbqunmXpY71U9CmBmbUjhnAG0aYrC5rEDgoEA V3TuwzTzxaj/zCgXJdYjTOb3bPeYs9WzkyPiPU4yIMBrVwoyFS3WqUlaVO5FPZd2n4tLtr7hUxI 7Ft5UxI5QZpw== X-Received: by 2002:a05:6a21:4581:b0:1cf:5155:cb5c with SMTP id adf61e73a8af0-1cf62d5ca33mr2732926637.34.1726024749769; Tue, 10 Sep 2024 20:19:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGEiikvJNBb/jDVjGkSFIwkePq1u/T9zUbA1pyv2zzagH7tx9IrdQssP4owwrAhJdq6zXxrlw== X-Received: by 2002:a05:6a21:4581:b0:1cf:5155:cb5c with SMTP id adf61e73a8af0-1cf62d5ca33mr2732890637.34.1726024749252; Tue, 10 Sep 2024 20:19:09 -0700 (PDT) Received: from localhost.localdomain ([186.250.11.100]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7d823cf3cefsm5399903a12.32.2024.09.10.20.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 20:19:08 -0700 (PDT) From: Pedro Henrique Kopper To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH v3 2/6] cpufreq: intel_pstate: Update default EPPs for Meteor Lake Date: Wed, 11 Sep 2024 00:15:48 -0300 Message-ID: <20240911031901.3907840-3-pedro.kopper@canonical.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240911031901.3907840-1-pedro.kopper@canonical.com> References: <20240911031901.3907840-1-pedro.kopper@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" From: Srinivas Pandruvada BugLink: https://bugs.launchpad.net/bugs/2077470 Update default balanced_performance EPP to 115 and performance EPP to 16. Changing the balanced_performance EPP has better performance/watt compared to default powerup EPP value of 128. Changing the performance EPP to 0x10 shows reduced power for similar performance as EPP 0. On small form factor devices this is beneficial as lower power results in lower CPU and skin temperature. This results in reduced thermal throttling and higher performance. Signed-off-by: Srinivas Pandruvada Signed-off-by: Rafael J. Wysocki (cherry picked from commit 1f4b7fdd71e066aa7c01e3e26ceeb39b47dd5461) Signed-off-by: Pedro Henrique Kopper --- drivers/cpufreq/intel_pstate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index 58dbfe9b76ae..18ba78cdf6ed 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -3431,6 +3431,8 @@ static const struct x86_cpu_id intel_epp_default[] = { */ X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, HWP_SET_DEF_BALANCE_PERF_EPP(102)), X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, HWP_SET_DEF_BALANCE_PERF_EPP(32)), + X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, HWP_SET_EPP_VALUES(HWP_EPP_POWERSAVE, + HWP_EPP_BALANCE_POWERSAVE, 115, 16)), {} };