1. 09 Apr, 2010 2 commits
    • Borislav Petkov's avatar
      powernow-k8: Add core performance boost support · 73860c6b
      Borislav Petkov authored
      Starting with F10h, revE, AMD processors add support for a dynamic
      core boosting feature called Core Performance Boost. When a specific
      condition is present, a subset of the cores on a system are boosted
      beyond their P0 operating frequency to speed up the performance of
      single-threaded applications.
      
      In the normal case, the system comes out of reset with core boosting
      enabled. This patch adds a sysfs knob with which core boosting can be
      switched on or off for benchmarking purposes.
      
      While at it, make the CPB code hotplug-aware so that taking cores
      offline wouldn't interfere with boosting the remaining online cores.
      Furthermore, add cpu_online_mask hotplug protection as suggested by
      Andrew.
      
      Finally, cleanup the driver init codepath and update copyrights.
      Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
      LKML-Reference: <1270065406-1814-3-git-send-email-bp@amd64.org>
      Reviewed-by: default avatarThomas Renninger <trenn@suse.de>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      73860c6b
    • Borislav Petkov's avatar
      x86, cpu: Add AMD core boosting feature flag to /proc/cpuinfo · 5958f1d5
      Borislav Petkov authored
      By semi-popular demand, this adds the Core Performance Boost feature
      flag to /proc/cpuinfo. Possible use case for this is userspace tools
      like cpufreq-aperf, for example, so that they don't have to jump through
      hoops of accessing "/dev/cpu/%d/cpuid" in order to check for CPB hw
      support, or call cpuid from userspace.
      Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
      LKML-Reference: <1270065406-1814-2-git-send-email-bp@amd64.org>
      Reviewed-by: default avatarThomas Renninger <trenn@suse.de>
      Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
      5958f1d5
  2. 30 Mar, 2010 6 commits
  3. 29 Mar, 2010 32 commits