git: acpi/pstate: Adjust FID/VID verification for AMD 0Fh family CPUs
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Wed Mar 16 06:54:11 PDT 2011
commit ed468a9acfb6c2a578281394cffdcd81be04598a
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Wed Mar 16 21:28:16 2011 +0800
acpi/pstate: Adjust FID/VID verification for AMD 0Fh family CPUs
- If min/max are same, then there is only one P-State, which does
not make sense to have the P-State sysctl tree.
- If the first and last P-State entres do not match max/min, then
just log a warning message.
- The original FID/VID checks should only be applied to intermediate
P-States.
- Correct FID check against min FID.
Summary of changes:
sys/platform/pc32/acpica5/acpi_pstate_machdep.c | 49 ++++++++++++++++++----
sys/platform/pc64/acpica5/acpi_pstate_machdep.c | 49 ++++++++++++++++++----
2 files changed, 80 insertions(+), 18 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ed468a9acfb6c2a578281394cffdcd81be04598a
--
DragonFly BSD source repository
More information about the Commits
mailing list