From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) (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 11F6A40D578 for ; Tue, 28 Jul 2026 07:32:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785223927; cv=none; b=Rzt0t6doMT/JniXutkcXh2ZEvh3ceJ0AArwIs3CjkqpolagqnoQiQGwag+yFHipGE/CpS6VUgZiAEgAXFCGL7yvI/RcvAZf+Q/iMuiOjlWs5FFw2fb7pQSHETlKhByg218QAvpXBFHxfHr3Y8Z9bQp40WSzggYTyoRASjHSu0jY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785223927; c=relaxed/simple; bh=7qBIsb7cZtls+1Q4n80+8yqOlu8lXYGX8HbJOH3oTEs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=fbjMDaG3mvZSE1mAjTkcrHuW5VEsxdxypx61j2lCyk8ZkOzNqble0F59MsFQ1Ep7+MfeZPar8DZM3326AguOYRqfql1zVFkZOsYpbnn7dQUB1ukidci4RFoMp/ijLWUvK4C+af1tr5VIBerHVmT4aMa3rssKhJPbkWdsgbeGwDA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=manifault.com; spf=pass smtp.mailfrom=manifault.com; dkim=pass (2048-bit key) header.d=manifault-com.20251104.gappssmtp.com header.i=@manifault-com.20251104.gappssmtp.com header.b=HfEeOXjQ; arc=none smtp.client-ip=209.85.161.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=manifault.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=manifault.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=manifault-com.20251104.gappssmtp.com header.i=@manifault-com.20251104.gappssmtp.com header.b="HfEeOXjQ" Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-6ab06473488so1003839eaf.0 for ; Tue, 28 Jul 2026 00:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=manifault-com.20251104.gappssmtp.com; s=20251104; t=1785223925; x=1785828725; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=TBPFV7mE/o+ifYMGJXqsFhj2vvcUzVogsfKmm2PsKxY=; b=HfEeOXjQrpSdcTFonnG3MqgGNEbpqBLRIel01E4cfu6T2a4I/+I3d6V45qwuq/GfaM +xt4kKR5eo3tpe0BFGA0of5yu18GhD88l2nJQh593he7LKBmeOR4y3rq2sKet4B6VCXe pLYna2WWYzWLe+YEtOPhOmsHZPsBKYiPhXbWiofaWbqNwsNNYVejEM7IbdhswUUCF2nJ qp+mpZXu4rN/gdvdJFpe4RE9TKUBfsxgRnZUYQhl/QLcLubzQdl20DiZwQ9UUOcX+Luc t8AT6ZuN7Ir6sD+BRyEmJalJk5vnWe6WNauE/z+lvclFapAR+1AlSKqel8dVwmaVbw+m usiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785223925; x=1785828725; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=TBPFV7mE/o+ifYMGJXqsFhj2vvcUzVogsfKmm2PsKxY=; b=nLxCU3+eCMLapvgMvDCPDA8M6jy+9WFvSDR6AdHrycOFGdx3dIJ6ml7e3Mfu/udDrv NFQ/diKq6QGi+WJHfZ69tQCR1KuKiVu0TpzBseJzeNWkbdCESzSIOYCS94jKjPvN+Qxv nI3eNu1xOUVvvGg3UM3GcP1Fjy6kXwfT52R8U4kIPaAx/vxXmU+X/YtkGCYnWC7I1vOS jzTxD+LemqG6q9ragUZTc2JA9fMC2SNFCEniqXG9xZpW8aE9G8hHu112DPn83IegRZvv nhji2eQj0kSUGBcAA5SbrVegPFfSwweh/NRNObl7UBNBuW1PPRk0x6zPyZfyFOOPD4Qm aaVw== X-Forwarded-Encrypted: i=1; AHgh+RrBYKLbLVVhOOwEG6hctZK0amfzNnNwu4wk5+61xGKeAq1a/uswvobxgz9a6Kc1ZYmGAhfhVAI1/dR9P/8=@vger.kernel.org X-Gm-Message-State: AOJu0YzSXoFl1wB52UsFSEojglONIvaLKYUthnAJCEu1GGSNShO60CsV LyqXSxW+8BOcqhQGuZtszMbj4X259m8EwA81u6KeJl1abPBBdqkyO7cG0Gy9ezN+Rg4o X-Gm-Gg: AR+sD13cOyOPzG2rNEv3mIU1dfZ3rbTSxUpiHfS5jmbDpois3AKtkRqTedar6Vi/hbT +NxVLrQZ5a1OSQpgnmERdqAUyS60awpcVujjLJb6bAczFOO9jM1B0scFCkwcj10si1ez6hkpatW GqvNIiApItd4YTrT3gFOYvt3rZXBWpA9KR2B3DcnNeU6KcHww4BLoeCSTNfT+xwkkgLM7+T7Hkh 7h8/belR+L0oMq4XcQ04BG32ZzIZZ4cn5Adp1ThXaahLWN8m/NJtntSQk2MML5UFC7aEuEt0OvP 5U6FnDds/aeYeLLkhDmPGzVUw3381gsm77fi7W118W8Vjna9gzHSGXsM+9IjtfreEo3XbI3esjP hGBXcjBs2I68LeAW9DISc1nqR0LWtpOWWXQ6WrA6kdpQIyccTUqwzrXkbXjJ/RMn5Pa0GKu0RCq 6KybT6y55VzWCyj1RdgpHVQ31mEUSSWXlA3oqg2A== X-Received: by 2002:a05:6820:3397:20b0:6ac:9779:ce07 with SMTP id 006d021491bc7-6ac9779d811mr461472eaf.59.1785223920141; Tue, 28 Jul 2026 00:32:00 -0700 (PDT) Received: from localhost (c-76-141-129-107.hsd1.il.comcast.net. [76.141.129.107]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-6aaf9385b35sm6699039eaf.7.2026.07.28.00.31.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2026 00:31:59 -0700 (PDT) From: David Vernet To: "Rafael J. Wysocki" Cc: Mario Limonciello , "Gautham R. Shenoy" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Andr=C3=A9=20Almeida?= , Changwoo Min Subject: [RFC PATCH 4/4] Documentation: amd-pstate: Document the epp_boost parameter Date: Tue, 28 Jul 2026 02:31:50 -0500 Message-ID: <20260728073150.54964-5-void@manifault.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260728073150.54964-1-void@manifault.com> References: <20260728073150.54964-1-void@manifault.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document the per-core EPP boost mechanism and its epp_boost module parameter added by the previous patch. Signed-off-by: David Vernet --- Documentation/admin-guide/pm/amd-pstate.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Documentation/admin-guide/pm/amd-pstate.rst b/Documentation/admin-guide/pm/amd-pstate.rst index a95e2ebce005..004b79ff925c 100644 --- a/Documentation/admin-guide/pm/amd-pstate.rst +++ b/Documentation/admin-guide/pm/amd-pstate.rst @@ -372,6 +372,22 @@ based on the power source and will not react to user desired power state. Attempting to manually write to the ``energy_performance_preference`` sysfs file will fail when ``dynamic_epp`` is enabled. +Energy performance preference boosting +====================================== +On MSR-based systems running in the ``active mode``, the driver can optionally +bias the energy performance preference of a recently-busy CPU toward +performance while leaving all other CPUs at the policy value. C0 residency is +sampled at most every 10 ms; while a CPU has been at least 50% busy within the +last 300 ms, the EPP field of its CPPC request is set to ``performance`` (0). +The policy value is restored once 300 ms pass without a busy sample. + +This behavior is disabled by default. It can be enabled with the module +parameter ``amd_pstate.epp_boost=1`` on the kernel command line, or at runtime +by writing ``1`` to ``/sys/module/amd_pstate/parameters/epp_boost``. The +mechanism only runs while the parameter is enabled and has no overhead when +disabled. It has no effect in the ``passive`` and ``guided`` modes or on +shared-memory (non-MSR) systems. + ``amd-pstate`` vs ``acpi-cpufreq`` ====================================== -- 2.53.0