Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4068604rdh; Tue, 28 Nov 2023 10:55:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9pWZIAJowXPHRSCnkEm74qOwz95GW8f3cKKdO+4MemvzdgwuMEMy574+NbzCmU7b2bHDg X-Received: by 2002:a05:6a20:3ca9:b0:18c:222e:50e6 with SMTP id b41-20020a056a203ca900b0018c222e50e6mr13632634pzj.47.1701197717614; Tue, 28 Nov 2023 10:55:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701197717; cv=none; d=google.com; s=arc-20160816; b=l+HetnxT8NXiZFpihNQcierjp8W3CnYd0Ilbu4kHAKTlsgrGBCuP7NoGviQrcwTg3l LsuTYwIJ1l5P8Mf+VbX3UlrzaS3wHIFiUdvkpPI80L43g+JTUwLCUy6therYerDgxJg5 P8tQJUAoi5tIrOi3CeNKw+Vq1vegpL4YhtnVA9DU13RJX50jntd1WxtHX3J/Q452HUgx TNWxtFBF/mcyqvpdMxMA9lBSHaKP16KwUtCi+clTona1xN79YGAfC44Rb9oD5gfyitt0 anW4Y8JktO4iiE65EfzqfQi8hVOGUN4mi8J5mGEN9T4RNhyrfffNzx7KVya6ZPwIbtZI 9d0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=20vBNy0xRsKTtonWBc+sDI2GLBahtkyvIcGWwzZ8qZ4=; fh=qka7fwo6uOOgTYP7lrQpOGunK8t0yZx827jTFqrq01E=; b=QJzE/3Ae5bTfR7e0Z4a4SgdN0GK0t3ALq1XTgr0uNkaB5DHSDmXNAMSJz33oEmcSIf ZDsHCncUdgEzxVroH875xk5RMPNxKKgcGi668PdXJwuXQUFXCKI+hl9FI+6K+0EVJ0M6 MWwGjvxvZdHvKvu0Z4ni+v5OnPSv5TmQqFJ1dD/QvVKEd7XUMt/WuxRIL3uge5hMZ2cj NGU8VU1ZnMmEQzYlck2qWMiqdwaAXd7GCVqiWmi4VG8D7ikNC80ayCD2MDuvrFWx+6Xl WtvWDp2ucMTbCngoIBurT7R++9PZY+Lvk4maXUW8gR8VQ5Fe/jUk1LtiJ27YM3JXwPCA AHVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=UsY78Z+o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id k21-20020a6568d5000000b005b92d40e11bsi12792877pgt.168.2023.11.28.10.55.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 10:55:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=UsY78Z+o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 033818051A34; Tue, 28 Nov 2023 10:55:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230171AbjK1Syx (ORCPT + 99 others); Tue, 28 Nov 2023 13:54:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229944AbjK1Syw (ORCPT ); Tue, 28 Nov 2023 13:54:52 -0500 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EE99131 for ; Tue, 28 Nov 2023 10:54:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1701197696; bh=g5ZQtgKHvReyc2FbFJdjdcOuj1Mex1OD2XH15wvt0xQ=; h=From:Date:Subject:To:Cc:From; b=UsY78Z+onca9EojgI9jD7Jla9fc3zmxsMioryJWG96SHdyXoUKgb3hkAodn3SkG3/ sbW0zkfwTSfBHP3/sb2loAGcb/X9InCqO5nFOKCvKzQBTurDYOmlJOnZouQAhkBHgd BvJx8zx1QDBLYxKPzsFnG1omOWdJcAEDWR042NiI= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= Date: Tue, 28 Nov 2023 19:54:54 +0100 Subject: [PATCH] x86/cpu: Update power flags MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20231128-powerflags-v1-1-87e8fe020a3d@weissschuh.net> X-B4-Tracking: v=1; b=H4sIAH03ZmUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDQyML3YL88tSitJzE9GJdi+RUM7NES7M0szRjJaCGgqLUtMwKsGHRsbW 1AEcnwoNcAAAA To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" Cc: linux-kernel@vger.kernel.org, =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=ed25519-sha256; t=1701197695; l=1122; i=linux@weissschuh.net; s=20221212; h=from:subject:message-id; bh=g5ZQtgKHvReyc2FbFJdjdcOuj1Mex1OD2XH15wvt0xQ=; b=52wa1GJz31VPEzbWBaqm9xum2pA9yacoidwksoWRik5Os7VvN69m/qrOREF+DTTHV0Z0xNA/7 9/RtLohigCLA7HVojfPZOB7vtYDSBuWGOLf9y+3NY5R/CjbMPeBSxNP X-Developer-Key: i=linux@weissschuh.net; a=ed25519; pk=KcycQgFPX2wGR5azS7RhpBqedglOZVgRPfdFSPB1LNw= X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 28 Nov 2023 10:55:15 -0800 (PST) As described on page 99 of "Processing Programming Reference (PPR) for AMD Family 19h Model 61h, Revision B1 Processor". (AMD Documentation Hub Document 56713) Tested on an "AMD Ryzen 7 7840U w/ Radeon 780M Graphics". Signed-off-by: Thomas Weißschuh --- arch/x86/kernel/cpu/powerflags.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/cpu/powerflags.c b/arch/x86/kernel/cpu/powerflags.c index fd6ec2aa0303..0c98405aeae2 100644 --- a/arch/x86/kernel/cpu/powerflags.c +++ b/arch/x86/kernel/cpu/powerflags.c @@ -21,4 +21,7 @@ const char *const x86_power_flags[32] = { "eff_freq_ro", /* Readonly aperf/mperf */ "proc_feedback", /* processor feedback interface */ "acc_power", /* accumulated power mechanism */ + "connected_standby", /* connected standby */ + "rapl", /* running average power limit */ + "fast_cppc", /* fast collaborative processor performance control */ }; --- base-commit: df60cee26a2e3d937a319229e335cb3f9c1f16d2 change-id: 20231128-powerflags-8ce66a96f6f3 Best regards, -- Thomas Weißschuh