Bug 209430 - dev.cpu.0.freq_levels are completely bogus on AMD APU
Summary: dev.cpu.0.freq_levels are completely bogus on AMD APU
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.3-RELEASE
Hardware: amd64 Any
: --- Affects Many People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-10 16:23 UTC by nulluse
Modified: 2016-05-10 17:03 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nulluse 2016-05-10 16:23:27 UTC
For AMD APU A10-6800K powerd reports:

dev.cpu.0.freq_levels: 4100/20802 3800/15963 3325/13967 3200/10235 2800/8955 2600/6400 2275/5600 2000/4015 1750/3513 1500/3011 1250/2509 1000/2007 750/1505 500/1003 250/501

In reality this APU only supports the following P-States:

P-State FID 0x1C - VID 0x12 - IDD 19 (22.00x - )
P-State FID 0x1B - VID 0x18 - IDD 21 (21.50x - )
P-State FID 0x1A - VID 0x20 - IDD 19 (21.00x - )
P-State FID 0x19 - VID 0x26 - IDD 16 (20.50x - )
P-State FID 0x16 - VID 0x34 - IDD 13 (19.00x - )
P-State FID 0x10 - VID 0x46 - IDD 9 (16.00x - )
P-State FID 0xA - VID 0x58 - IDD 6 (13.00x - )
P-State FID 0x4 - VID 0x68 - IDD 4 (10.00x - ) 

i.e. the range of possible frequencies must be from 2000 Mhz to 4400 Mhz and the top 3 are turbo-boost so cannot be set in OS.

So it is 4100, 3800, 3600, 3200, 2600, 2000.
Comment 1 Jung-uk Kim freebsd_committer freebsd_triage 2016-05-10 17:03:25 UTC
Please attach your 'acpidump -dt' output.