freebsd-skq/sys
sbruno abb8277b31 Cosmetic display change of Cx states via cx_supported sysctl entries.
Adjust power_profile script to handle the new world order as well.

Some vendors are opting out of a C2 state and only defining C1 & C3.  This
leads the acpi_cpu display to indicate that the machine supports C1 & C2
which is caused by the (mis)use of the index of the cx_state array as the
ACPI_STATE_CX value.

e.g. the code was pretending that cx_state[i] would
always convert to i by subtracting 1.

cx_state[2] == ACPI_STATE_C3
cx_state[1] == ACPI_STATE_C2
cx_state[0] == ACPI_STATE_C1

however, on certain machines this would lead to
cx_state[1] == ACPI_STATE_C3
cx_state[0] == ACPI_STATE_C1

This didn't break anything but led to a display of:
 * dev.cpu.0.cx_supported: C1/1 C2/96

Instead of
 * dev.cpu.0.cx_supported: C1/1 C3/96

MFC after:	2 weeks
2012-07-02 16:57:13 +00:00
..
amd64 tws(4) is interfaced with CAM so move it to the same section. 2012-07-01 08:10:49 +00:00
arm Create a pseudo-lint kernel for all at91 SoCs. This kernel will not 2012-07-01 06:56:41 +00:00
boot MFV: Update zlib to 1.2.7. 2012-06-21 21:47:08 +00:00
bsm
cam Add a loader tunable, kern.cam.ctl.disable, that will disable 2012-06-28 19:39:30 +00:00
cddl Expose scrub and resilver tunables. 2012-07-02 07:27:14 +00:00
compat Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
conf Add acpi_asus_wmi(4) -- driver for random extras found on WMI-compatible 2012-07-02 08:31:29 +00:00
contrib MFV: r237650 2012-06-27 16:15:13 +00:00
crypto
ddb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
dev Cosmetic display change of Cx states via cx_supported sysctl entries. 2012-07-02 16:57:13 +00:00
fs Do not override an error from uiomove() with (non-)error result from 2012-07-02 09:53:08 +00:00
gdb Update the ddb and gdb backends for the new 'trace_thread' hook. 2012-04-12 21:34:58 +00:00
geom Make geom_mirror more friendly to SSDs. To properly support TRIM, 2012-07-01 15:43:52 +00:00
gnu/fs Fix build: 2012-05-23 06:49:50 +00:00
i386 Fix XEN build, broken in r237924. 2012-07-02 14:03:19 +00:00
ia64 Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
isa
kern Honor db_pager_quit in 'show uma' and 'show malloc'. 2012-07-02 16:14:52 +00:00
kgssapi
libkern Fix unloading of libiconv module. 2012-06-11 17:42:39 +00:00
mips octeon_uart_class was removed some time ago everywhere but here. 2012-06-28 06:49:04 +00:00
modules Add acpi_asus_wmi(4) -- driver for random extras found on WMI-compatible 2012-07-02 08:31:29 +00:00
net Add the same check as vlan(4) where we ignore the ifnet departure event if the 2012-06-30 19:09:02 +00:00
net80211 Add a check for dynamic OFDM/CCK channel types. 2012-07-01 04:25:49 +00:00
netatalk Fix typos 2012-02-28 15:07:05 +00:00
netgraph Make radix lookup on src and dst flow addresses optional 2012-06-18 13:56:36 +00:00
netinet Move common code parts to sctp_common_input_processing(). 2012-07-02 16:44:09 +00:00
netinet6 Move common code parts to sctp_common_input_processing(). 2012-07-02 16:44:09 +00:00
netipsec Merge multi-FIB IPv6 support from projects/multi-fibv6/head/: 2012-02-17 02:39:58 +00:00
netipx
netnatm
netncp Add characters mapping for codepages used in Germany. 2012-06-01 03:59:08 +00:00
netsmb When checking if file descriptor number is valid, explicitely check for 'fd' 2012-06-13 22:12:10 +00:00
nfs Merge multi-FIB IPv6 support from projects/multi-fibv6/head/: 2012-02-17 02:39:58 +00:00
nfsclient PR# 165923 reported intermittent write failures for dirty 2012-05-12 12:02:51 +00:00
nfsserver
nlm jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 2012-01-31 02:11:05 +00:00
ofed Fix clang warning when compiling iw_cxgb. 2012-06-25 16:52:27 +00:00
opencrypto
pc98 Implement mechanism to export some kernel timekeeping data to 2012-06-22 07:06:40 +00:00
pci intpm: add ATI IXP400 pci id 2012-04-16 10:33:46 +00:00
powerpc Remove bogus __unused attribute from hrowpic_eoi(). 2012-07-01 19:07:45 +00:00
rpc
security Check vplabel for NULL before dereferencing it. Fixes a panic 2012-05-03 15:51:34 +00:00
sparc64 Switch back to the 4BSD scheduler for now. There is some more or less 2012-06-30 14:55:36 +00:00
sys Remove stray blank line. 2012-06-30 17:01:28 +00:00
teken
tools Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR. 2012-02-21 19:35:59 +00:00
ufs Fix unbounded-length malloc, controlled from usermode. The added check 2012-06-21 09:20:07 +00:00
vm Honor db_pager_quit in 'show uma' and 'show malloc'. 2012-07-02 16:14:52 +00:00
x86 Make the wchar_t type machine dependent. 2012-06-24 04:15:58 +00:00
xdr
xen blkif interface comment cleanups. No functional changes 2012-02-29 17:47:01 +00:00
Makefile Add sys/ofed to the 'make cscope' target. 2012-03-20 18:05:15 +00:00