summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart/uart_bus_pci.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2012-03-10 18:56:16 +0000
committermav <mav@FreeBSD.org>2012-03-10 18:56:16 +0000
commit4be9351f8bd44209a6e7521658b3da16c1951098 (patch)
treef960e0018bf89aa5ad1591c9545f9d50434c6bfb /sys/dev/uart/uart_bus_pci.c
parent49831084fc545dca70c5b7d523832649aadfeb7c (diff)
downloadFreeBSD-src-4be9351f8bd44209a6e7521658b3da16c1951098.zip
FreeBSD-src-4be9351f8bd44209a6e7521658b3da16c1951098.tar.gz
Revert r175376 and tune cpufreq(4) frequency comparison logic instead.
Instead of using 25MHz equality threshold, look for the nearest value when handling dev.cpu.0.freq sysctl and for exact match when it is expected. ACPI may report extra level with frequency 1MHz above the nominal to control Intel Turbo Boost operation. It is not a bug, but feature: dev.cpu.0.freq_levels: 2934/106000 2933/95000 2800/82000 ... In this case value 2933 means 2.93GHz, but 2934 means 3.2-3.6GHz. I've found that my Core i7-870 based system has Intel Turbo Boost disabled by default and without this change it was absolutely invisible and hard to control. MFC after: 2 weeks
Diffstat (limited to 'sys/dev/uart/uart_bus_pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud