lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231128191217.GDZWY7kYC9bE9Qkg25@fat_crate.local>
Date:   Tue, 28 Nov 2023 20:12:17 +0100
From:   Borislav Petkov <bp@...en8.de>
To:     Thomas Weißschuh <linux@...ssschuh.net>
Cc:     Thomas Gleixner <tglx@...utronix.de>,
        Ingo Molnar <mingo@...hat.com>,
        Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
        "H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/cpu: Update power flags

On Tue, Nov 28, 2023 at 07:54:54PM +0100, Thomas Weißschuh wrote:
> 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 <linux@...ssschuh.net>
> ---
>  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 */

No need.

The beginning of Documentation/arch/x86/cpuinfo.rst tries to explain
why.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ