Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp784861rdb; Fri, 26 Jan 2024 10:29:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFRH+E880L2iG78zfYOAo2LLEEVdpOQ9Ec5MYw60wUe+MnFxFVhtECGMcMrxesbuCWn3S6P X-Received: by 2002:a05:6214:246e:b0:685:421c:e201 with SMTP id im14-20020a056214246e00b00685421ce201mr381428qvb.18.1706293796028; Fri, 26 Jan 2024 10:29:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706293796; cv=pass; d=google.com; s=arc-20160816; b=GEtn4+382RWLuL+J1a4wx0iQ4mb3mlum9g0KR8S4yJinpyaT06C2u4QX3gyA3/KUnA iEIbTneOF9Zq9Hl/f5l0kP8cGIbJh54SEGUrX1TnYZGiUAkEuXSpB5SbgGxf7Qa7wNHy 0SJ7aSAsClEvOgkeqGZ0+HXwZaRL9IrrbwbM9wVmQltwxo8LOhtjPN3233+fjp6v2pZI PMo9RqFbJH55K/iYHzf0iSkmJ2n/iR8599w+JdCN1cDnpDHQPcMRlrFcgHONo4ZOJDwP rscbVkkZdjRGSHdKQzpMaq0JIXoseKu68xhcm1CtXgVN+uw72ruH2L14qOhf8E4bnYWv Cl3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=yHi5U3YMogl4iHy5GsTuj+x0agWS8uDT6CKM5jqaWoU=; fh=0KkpWFZBldSf16X6p1vBYC2gCpX3Xwu20vmhOMDTNX4=; b=S1Bnp7Wq9+YeRBhjw1owKrrmH5M/vbLXvvvPLDk8WdSLPaR6nOvVD+NQdQ71COMz4x qFcqxeT9IZlUIEPwGE/c/HRcfMH+VVm5k8QBexZHmPQ02qOrr+cEcSIp3NUaGAxjh3Mh PYAVXM2caUds2CgPKANpn9fdgjH3fDnEDnqFrZP2Mbuemv5qNF5Hjgz2yF+GMRZqeLRV tNJY8CLTT1r4wZI8dHeKeGyyzkQWpeDN0fzmULO4CTgADRWBJMIjfVUvAOzOU6engj07 dt0kNHeRY7d/Kt6st8sjcp0cHn+d3BdA+H6+LvWKAnDyec6/TsDwFdeaMxLhWXGpoWN+ zl0g== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-40487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jo30-20020a056214501e00b006818b4bda58si1859308qvb.133.2024.01.26.10.29.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Jan 2024 10:29:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-40487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-40487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-40487-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 7977A1C21B5E for ; Fri, 26 Jan 2024 18:29:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 76EFE20DC8; Fri, 26 Jan 2024 18:29:46 +0000 (UTC) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98690208B4; Fri, 26 Jan 2024 18:29:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706293786; cv=none; b=lgd75tW+2Qk7yhodx5cm6QMAWP55mT6hpp3S9DsTETqPBSTIzGB3MCwqjjNL3oakx4JZLrHIwkrFdPuPI8zXkVTcAOnmYJxvdmLVwgEokE2ko1KhKF2lFMRZ4N/4hMizY2yTZWmz0BNY6NSPep7dB7LL48fDdLgbiurDP6WI0wg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706293786; c=relaxed/simple; bh=0IpWNU1MIudpmuKWbGyYaz6Jus1Rape1tUquqhM14RM=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=qh2B0s/6bTZ1w1+21o+NYR6NfOcf+j9FAaGz3Y4gXU8FkaiJfMDoLmb680uGCcuV4PC6yRue8Q5r+3BJU9qfH4E6eRZl+xgA3TkCgHh7oZFgPNLGXtKH8rxop1eDfEeOcoIxUHQEoGsDb44q/1jd2N6R+5/+9zLJlnxUSK4dpcc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.167.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3bddceb0540so219545b6e.0; Fri, 26 Jan 2024 10:29:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706293783; x=1706898583; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=yHi5U3YMogl4iHy5GsTuj+x0agWS8uDT6CKM5jqaWoU=; b=bHVxK5ThMh4JF73x9fZdORxwb3WOc3NSklhdyjAwkdY42QD5FLovgx9pbhfUyPehRo lLFEkv/lFse3z9pdXYBX/ClwAyxQEAPBU0j2hpZYS1/tR0vsZ+9+vX471k5IYdPk4HPl lVmYWd5m4B2IyHJy5ttwjFDEsM98C7ZZZxMyZkGOhk4AjfLuAN/W/kCefmpO8NG2lb/J IlVj9AUkOQL5PuxyZrsZ/OGUGM79oItPfBg/IUuIFZe6GpLE+kDdCMLfx2YNEHhMvGAi 78Oc/NsiHINcuFs0prDXCmoh6rTNvIgc2QcjSAPzYCOlG1YsOH8BNPgZKf0A6vHcIPwj +G8Q== X-Gm-Message-State: AOJu0YxBQO2PAThzUnkbTBlDNdlnHTTNSvf/Hc592aC70dG29Ok7w66n tpIOqYZzclWDq6ldmR8YSELuPiDDl9OPuk3Gw9RZgMn0u8TAP5Rrg1K0JAKSEO9RIeNchhNfU3/ 8pTgksRJgNWF0Fy5BYgePxaDfAAeQ2JwCdW8= X-Received: by 2002:a05:6871:54f:b0:214:2544:bf26 with SMTP id t15-20020a056871054f00b002142544bf26mr176888oal.3.1706293783589; Fri, 26 Jan 2024 10:29:43 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Rafael J. Wysocki" Date: Fri, 26 Jan 2024 19:29:32 +0100 Message-ID: Subject: [GIT PULL] Power management fixes for v6.8-rc2 To: Linus Torvalds Cc: Linux PM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Hi Linus, Please pull from the tag git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-6.8-rc2 with top-most commit f3bdd82c5834219a5b272c2310c83aef68667486 Merge branch 'pm-cpufreq' on top of commit 6613476e225e090cc9aad49be7fa504e290dd33d Linux 6.8-rc1 to receive power management fixes for 6.8-rc2. These fix two cpufreq drivers and the cpupower utility. Specifics: - Fix the handling of scaling_max/min_freq sysfs attributes in the AMD P-state cpufreq driver (Mario Limonciello). - Make the intel_pstate cpufreq driver avoid unnecessary computation of the HWP performance level corresponding to a given frequency in the cases when it is known already, which also helps to avoid reducing the maximum CPU capacity artificially on some systems (Rafael J. Wysocki). - Fix compilation of the cpupower utility when CFLAGS is passed as a make argument for cpupower, but it does not take effect as expected due to mishandling (Stanley Chan). Thanks! --------------- Mario Limonciello (1): cpufreq/amd-pstate: Fix setting scaling max/min freq values Rafael J. Wysocki (1): cpufreq: intel_pstate: Refine computation of P-state for given frequency Stanley Chan (1): tools cpupower bench: Override CFLAGS assignments --------------- drivers/cpufreq/amd-pstate.c | 7 ++--- drivers/cpufreq/intel_pstate.c | 55 +++++++++++++++++++++++-------------- tools/power/cpupower/bench/Makefile | 2 +- 3 files changed, 38 insertions(+), 26 deletions(-)