From patchwork Wed Sep 4 14:07:33 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: 1980859 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 4WzPXy0YS0z1ygx for ; Thu, 5 Sep 2024 00:10:58 +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 1slqig-0005m3-Kl; Wed, 04 Sep 2024 14:10:50 +0000 Received: from smtp-relay-internal-0.internal ([10.131.114.225] helo=smtp-relay-internal-0.canonical.com) by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1slqib-0005er-A8 for kernel-team@lists.ubuntu.com; Wed, 04 Sep 2024 14:10:45 +0000 Received: from mail-pj1-f72.google.com (mail-pj1-f72.google.com [209.85.216.72]) (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-0.canonical.com (Postfix) with ESMTPS id AD34A3FA50 for ; Wed, 4 Sep 2024 14:10:44 +0000 (UTC) Received: by mail-pj1-f72.google.com with SMTP id 98e67ed59e1d1-2d88977c5a2so4305403a91.3 for ; Wed, 04 Sep 2024 07:10:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725459043; x=1726063843; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=PzQ2ALRuufN6cYv9vgA1KFv3DqHDqoNJL5zkkVieEyY=; b=UxZI/Pg6A6MVvu6SQamwiGbuVLmc6mmQ1DeqFxisplLePZLTt2IPvFZkw7JCYxpWr9 YfZ4vYsL/lpe+DMKlApAXOMtqVaekDOwqzXgPnCgzMk0kJBgRHEJuC07l8rp1Z1ZSDiO 9jWz1Ca395k1cDG+ZQXmFDNhw3L+YWB4Bv3ULb/17bfkkWqDISYTFL55vFHIcts/PL/9 dnH+VF6N3gPPswN0oNl8fUuvV6x/vgkIHsKJfds+rMfkTbI+o7lnQLhDnCQGL+WGSUSp tfP0Vw3V25CCJDTqziWrCFvChyJIDnO8vCjJRJiZLwBRcIkI8wiwlcXXPVrJZTHCYmNN YyHg== X-Gm-Message-State: AOJu0YyvTX1G2GHNHxZBNkTXZTy0F3xsPwdeXfOzZpkZY5L7yzmMLP9u I7eIc1c2eyAu9suFwTju7TabxQgDPBvUHLC4li5qw6lwcewQ5vIKr9ZQOWuG2TMzQRetOV3pQRS Tp3cJWmQ9yXNrU7ZyQ1mgEH7Rueit7ATWLuBIsF42YQPaNF0hSBjvmDsLfV7sMsGQiZWjJoKOZ/ s7+ijnP2pTYw== X-Received: by 2002:a17:90b:3a84:b0:2d3:c34e:2fda with SMTP id 98e67ed59e1d1-2d89728e42bmr12781223a91.14.1725459043166; Wed, 04 Sep 2024 07:10:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF55L6U1NgITrl/bT+nCCUsK8yscGZ4d1GVxPpv8fLbeI3F4cCTGYwhyMvu/yhdcj3nZ9BGNA== X-Received: by 2002:a17:90b:3a84:b0:2d3:c34e:2fda with SMTP id 98e67ed59e1d1-2d89728e42bmr12781184a91.14.1725459042779; Wed, 04 Sep 2024 07:10:42 -0700 (PDT) Received: from localhost.localdomain ([186.250.11.100]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-7d4fbd85b0asm1728611a12.17.2024.09.04.07.10.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Sep 2024 07:10:42 -0700 (PDT) From: Pedro Henrique Kopper To: kernel-team@lists.ubuntu.com Subject: [SRU][N][PATCH 4/5 v2] cpufreq: intel_pstate: Use Meteor Lake EPPs for Arrow Lake Date: Wed, 4 Sep 2024 11:07:33 -0300 Message-ID: <20240904141033.819456-5-pedro.kopper@canonical.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240904141033.819456-1-pedro.kopper@canonical.com> References: <20240904141033.819456-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 Use the same default EPPs as Meteor Lake generation. Signed-off-by: Srinivas Pandruvada Signed-off-by: Rafael J. Wysocki Signed-off-by: Pedro Henrique Kopper (cherry picked from commit 90ad9565f562b01d54ce3fc116ce6674a20b7d5a) 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 0c52fe2ef310..051a3294581b 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c @@ -3433,6 +3433,8 @@ static const struct x86_cpu_id intel_epp_default[] = { X86_MATCH_VFM(INTEL_SAPPHIRERAPIDS_X, HWP_SET_DEF_BALANCE_PERF_EPP(32)), X86_MATCH_VFM(INTEL_METEORLAKE_L, HWP_SET_EPP_VALUES(HWP_EPP_POWERSAVE, 179, 64, 16)), + X86_MATCH_VFM(INTEL_ARROWLAKE, HWP_SET_EPP_VALUES(HWP_EPP_POWERSAVE, + 179, 64, 16)), {} };