public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin] cpuinfo:power management: add proc_feedback, acc_power
Date: Wed, 26 Feb 2020 11:16:00 -0000	[thread overview]
Message-ID: <20200226111604.54015.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=4653cc92ed509b8f9b340b16920e8cb683c85f40

commit 4653cc92ed509b8f9b340b16920e8cb683c85f40
Author: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Date:   Tue Feb 25 16:44:16 2020 -0700

    cpuinfo:power management: add proc_feedback, acc_power
    
    linux 4.6 x86/cpu: Add advanced power management bits
    Bit 11 of CPUID 8000_0007 edx is processor feedback interface.
    Bit 12 of CPUID 8000_0007 edx is accumulated power.
    
    Print proper names in /proc/cpuinfo
    
    [missed enabling this 2016 change during previous major cpuinfo update
    as no power related changes were made to the Linux files since then]

Diff:
---
 winsup/cygwin/fhandler_proc.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc
index 030ade6..605a844 100644
--- a/winsup/cygwin/fhandler_proc.cc
+++ b/winsup/cygwin/fhandler_proc.cc
@@ -1397,8 +1397,8 @@ format_proc_cpuinfo (void *, char *&destbuf)
 /*	  ftcprint (features1,  8, "invariant_tsc"); */ /* TSC invariant */
 	  ftcprint (features1,  9, "cpb");          /* core performance boost */
 	  ftcprint (features1, 10, "eff_freq_ro");  /* ro eff freq interface */
-/*	  ftcprint (features1, 11, "proc_feedback"); */ /* proc feedback if */
-/*	  ftcprint (features1, 12, "acc_power"); */ /* core power reporting */
+	  ftcprint (features1, 11, "proc_feedback");/* proc feedback if */
+	  ftcprint (features1, 12, "acc_power");    /* core power reporting */
 /*	  ftcprint (features1, 13, "connstby"); */  /* connected standby */
 /*	  ftcprint (features1, 14, "rapl"); */	    /* running average power limit */
 	}


                 reply	other threads:[~2020-02-26 11:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20200226111604.54015.qmail@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).