Red Hat Bugzilla – Bug 178845
RHEL4u4 FEAT: Provide support for Opteron Rev G and Power Now! clean-up
Last modified: 2009-06-18 10:33:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.5) Gecko/20041215 Firefox/1.0 Red Hat/1.0-12.EL4
Description of problem:
pn_cleanup.patch: This patch cleans up some error messages in the powernow-k8 driver and makes them more understandable.
pnk8-odd-fid.patch: Future versions of the Opteron processor may support frequency transitions of 100 MHz, instead of the current 200 MHz. This patch enables the powernow-k8 driver to transition to an odd FID code, indicating a multiple of 100 MHz frequency.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The patches are for Power Now cleanup and a Power Now feature request to support Opteron Rev G. Not a bug.
Actual Results: Test Results:
Running 2.6.9-28.EL on dual core Opteron.
[bhavana@dhcp83-37 Patches]$ dmesg| grep power
powernow-k8: Found 1 AMD Athlon 64 / Opteron processors (version 1.00.09b)
powernow-k8: 0 : fid 0x8 (1600 MHz), vid 0xa (1300 mV)
powernow-k8: 1 : fid 0x0 (800 MHz), vid 0x16 (1000 mV)
powernow-k8: cpu_init done, current fid 0x0, vid 0x16
[bhavana@dhcp83-37 Patches]$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Change the scaling_cur_freq.
[root@dhcp83-37 Patches]# echo -n "24000000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
Create load on the system by building the Linux kernel or by executing
a processor intensive program and verify the scaling_cur_freq as load varies.
[root@dhcp83-37 Patches]# while true; do cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq;sleep1; clear; done
The Rev G processors are in production now and are not available for testing.
Soon as they are sent to me, I can test this on the relevant processor. Hopefully this should not hold up the patch acceptance process.
The patches related to this feature (sent to rhkernel-list) have been submitted upstream to 2.6.16-rc1.
Created attachment 123630 [details]
This patch cleans up some error messages in the powernow-k8 driver and makes it more understandable.
Series of two patches, apply this one first.
Created attachment 123631 [details]
This patch enables the powernow-k8 driver to transition to an odd FID code, indicating a multiple of 100 MHz frequency.
Apply this patch after applying pn_cleanup patch.
committed in stream U4 build 34.4. A test kernel with this patch is available
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.