public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Borislav Petkov <bp@suse.de>
To: Huang Rui <ray.huang@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>, Len Brown <lenb@kernel.org>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Ingo Molnar <mingo@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>,
	Fenghua Yu <fenghua.yu@intel.com>,
	Tony Luck <tony.luck@intel.com>,
	Andy Lutomirski <luto@amacapital.net>,
	Peter Zijlstra <peterz@infradead.org>,
	linux-kernel@vger.kernel.org, x86@kernel.org,
	Fengguang Wu <fengguang.wu@intel.com>,
	Sherry Hurwitz <sherry.hurwitz@amd.com>,
	Tony Li <tony.li@amd.com>
Subject: Re: [PATCH] x86/cpu: add some advanced power management bits
Date: Fri, 25 Mar 2016 12:37:02 +0100	[thread overview]
Message-ID: <20160325113702.GA26111@pd.tnic> (raw)
In-Reply-To: <1458871720-3209-1-git-send-email-ray.huang@amd.com>

On Fri, Mar 25, 2016 at 10:08:40AM +0800, Huang Rui wrote:
> Bit 11 of CPUID 8000_0007 edx is processor feedback interface.
> Bit 12 of CPUID 8000_0007 edx is accumulated power.
> 
> So this patch fixes the output of cpuinfo, and add some new names to
> make it more meaningful.
> 
> Reported-by: Borislav Petkov <bp@alien8.de>
> Signed-off-by: Huang Rui <ray.huang@amd.com>
> ---
>  arch/x86/kernel/cpu/powerflags.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/x86/kernel/cpu/powerflags.c b/arch/x86/kernel/cpu/powerflags.c
> index 31f0f33..1dd8294 100644
> --- a/arch/x86/kernel/cpu/powerflags.c
> +++ b/arch/x86/kernel/cpu/powerflags.c
> @@ -18,4 +18,6 @@ const char *const x86_power_flags[32] = {
>  	"",	/* tsc invariant mapped to constant_tsc */
>  	"cpb",  /* core performance boost */
>  	"eff_freq_ro", /* Readonly aperf/mperf */
> +	"proc_feedback", /* processor feedback interface */
> +	"acc_power", /* accumulated power mechanism */
>  };
> --

Tested-by: Borislav Petkov <bp@suse.de>

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

  reply	other threads:[~2016-03-25 11:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25  2:08 [PATCH] x86/cpu: add some advanced power management bits Huang Rui
2016-03-25 11:37 ` Borislav Petkov [this message]
2016-03-29  9:16 ` [tip:x86/urgent] x86/cpu: Add " tip-bot for Huang Rui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160325113702.GA26111@pd.tnic \
    --to=bp@suse.de \
    --cc=fengguang.wu@intel.com \
    --cc=fenghua.yu@intel.com \
    --cc=hpa@zytor.com \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luto@amacapital.net \
    --cc=mingo@kernel.org \
    --cc=peterz@infradead.org \
    --cc=ray.huang@amd.com \
    --cc=rjw@rjwysocki.net \
    --cc=sherry.hurwitz@amd.com \
    --cc=tglx@linutronix.de \
    --cc=tony.li@amd.com \
    --cc=tony.luck@intel.com \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox