]> git.itanic.dy.fi Git - linux-stable/commit
Merge branch 'pm-tools'
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 19 May 2023 14:33:50 +0000 (16:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 19 May 2023 14:33:50 +0000 (16:33 +0200)
commit5783ecc90e24a870a563b1acbfd13cad3786e519
tree595254a11af9d2abbc0325eebc8edddd397aaaa6
parent73c7f8246539da12c76bb731a2fe7389ae55eae8
parenteab866bfff51d21318425ef5ce9d5b49791a6799
Merge branch 'pm-tools'

Merge cpupower utility fixes for 6.4-rc3:

 - Read TSC on each CPU right before reading MPERF so as to reduce the
   potential time difference between the TSC and MPERF accesses and
   improve the C0 percentage calculation (Wyes Karny).

 - Fix a possible file handle leak and clean up the code in
   sysfs_get_enabled() (Hao Zeng).

* pm-tools:
  cpupower: Make TSC read per CPU for Mperf monitor
  cpupower:Fix resource leaks in sysfs_get_enabled()