amd/amdfam10: Add runtime ACPI _PSS generation
commit6300b034143cab98d472276054de2781eb3ce97a
authorTimothy Pearson <tpearson@raptorengineeringinc.com>
Mon, 26 Jan 2015 23:53:22 +0000 (26 17:53 -0600)
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 28 Jan 2015 18:58:36 +0000 (28 19:58 +0100)
tree73c48353a8754bb087b1daa25247ad989f18bb6c
parente9162010049ce6135e67c9a3a11ddfdf8218a7fd
amd/amdfam10: Add runtime ACPI _PSS generation

Skeleton and ACPI generator interface taken from
model_fxx powernow_acpi.c
Small portions of FIDVID MSR code taken from
model_10xxx fidvid.c

Nearly completely rewritten for the P-state-based K10 CPU

TEST: KFSN4-DRE with dual Opteron 8356 CPUs
Verified CPU per-core dynamic state change with system load
Verified reported P-state count and frequencies
Stress-tested each CPU (all cores simultaneously) to verify
proper P0 transition and configuration.

Change-Id: Icf620ec96a3f163b62d96b5988184996641dd439
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/8284
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
src/cpu/amd/model_10xxx/powernow_acpi.c