Skip to content

Commit 3f17ea6

Browse files
committed
Merge branch 'next' (accumulated 3.16 merge window patches) into master
Now that 3.15 is released, this merges the 'next' branch into 'master', bringing us to the normal situation where my 'master' branch is the merge window. * accumulated work in next: (6809 commits) ufs: sb mutex merge + mutex_destroy powerpc: update comments for generic idle conversion cris: update comments for generic idle conversion idle: remove cpu_idle() forward declarations nbd: zero from and len fields in NBD_CMD_DISCONNECT. mm: convert some level-less printks to pr_* MAINTAINERS: adi-buildroot-devel is moderated MAINTAINERS: add linux-api for review of API/ABI changes mm/kmemleak-test.c: use pr_fmt for logging fs/dlm/debug_fs.c: replace seq_printf by seq_puts fs/dlm/lockspace.c: convert simple_str to kstr fs/dlm/config.c: convert simple_str to kstr mm: mark remap_file_pages() syscall as deprecated mm: memcontrol: remove unnecessary memcg argument from soft limit functions mm: memcontrol: clean up memcg zoneinfo lookup mm/memblock.c: call kmemleak directly from memblock_(alloc|free) mm/mempool.c: update the kmemleak stack trace for mempool allocations lib/radix-tree.c: update the kmemleak stack trace for radix tree allocations mm: introduce kmemleak_update_trace() mm/kmemleak.c: use %u to print ->checksum ...
2 parents 1860e37 + 1a5700b commit 3f17ea6

File tree

5,560 files changed

+308529
-157791
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,560 files changed

+308529
-157791
lines changed

Documentation/ABI/testing/configfs-usb-gadget

+45
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,40 @@ KernelVersion: 3.11
6262
Description:
6363
This group contains functions available to this USB gadget.
6464

65+
What: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>
66+
Date: May 2014
67+
KernelVersion: 3.16
68+
Description:
69+
This group contains "Feature Descriptors" specific for one
70+
gadget's USB interface or one interface group described
71+
by an IAD.
72+
73+
The attributes:
74+
75+
compatible_id - 8-byte string for "Compatible ID"
76+
sub_compatible_id - 8-byte string for "Sub Compatible ID"
77+
78+
What: /config/usb-gadget/gadget/functions/<func>.<inst>/interface.<n>/<property>
79+
Date: May 2014
80+
KernelVersion: 3.16
81+
Description:
82+
This group contains "Extended Property Descriptors" specific for one
83+
gadget's USB interface or one interface group described
84+
by an IAD.
85+
86+
The attributes:
87+
88+
type - value 1..7 for interpreting the data
89+
1: unicode string
90+
2: unicode string with environment variable
91+
3: binary
92+
4: little-endian 32-bit
93+
5: big-endian 32-bit
94+
6: unicode string with a symbolic link
95+
7: multiple unicode strings
96+
data - blob of data to be interpreted depending on
97+
type
98+
6599
What: /config/usb-gadget/gadget/strings
66100
Date: Jun 2013
67101
KernelVersion: 3.11
@@ -79,3 +113,14 @@ Description:
79113
product - gadget's product description
80114
manufacturer - gadget's manufacturer description
81115

116+
What: /config/usb-gadget/gadget/os_desc
117+
Date: May 2014
118+
KernelVersion: 3.16
119+
Description:
120+
This group contains "OS String" extension handling attributes.
121+
122+
use - flag turning "OS Desctiptors" support on/off
123+
b_vendor_code - one-byte value used for custom per-device and
124+
per-interface requests
125+
qw_sign - an identifier to be reported as "OS String"
126+
proper

Documentation/ABI/testing/sysfs-bus-iio

+44-2
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,17 @@ What: /sys/bus/iio/devices/iio:deviceX/in_temp_raw
114114
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_raw
115115
What: /sys/bus/iio/devices/iio:deviceX/in_temp_x_raw
116116
What: /sys/bus/iio/devices/iio:deviceX/in_temp_y_raw
117-
What: /sys/bus/iio/devices/iio:deviceX/in_temp_z_raw
117+
What: /sys/bus/iio/devices/iio:deviceX/in_temp_ambient_raw
118+
What: /sys/bus/iio/devices/iio:deviceX/in_temp_object_raw
118119
KernelVersion: 2.6.35
119120
120121
Description:
121122
Raw (unscaled no bias removal etc.) temperature measurement.
122123
If an axis is specified it generally means that the temperature
123124
sensor is associated with one part of a compound device (e.g.
124-
a gyroscope axis). Units after application of scale and offset
125+
a gyroscope axis). The ambient and object modifiers distinguish
126+
between ambient (reference) and distant temperature for contact-
127+
less measurements. Units after application of scale and offset
125128
are milli degrees Celsius.
126129

127130
What: /sys/bus/iio/devices/iio:deviceX/in_tempX_input
@@ -210,6 +213,14 @@ Contact: [email protected]
210213
Description:
211214
Scaled humidity measurement in milli percent.
212215

216+
What: /sys/bus/iio/devices/iio:deviceX/in_X_mean_raw
217+
KernelVersion: 3.5
218+
219+
Description:
220+
Averaged raw measurement from channel X. The number of values
221+
used for averaging is device specific. The converting rules for
222+
normal raw values also applies to the averaged raw values.
223+
213224
What: /sys/bus/iio/devices/iio:deviceX/in_accel_offset
214225
What: /sys/bus/iio/devices/iio:deviceX/in_accel_x_offset
215226
What: /sys/bus/iio/devices/iio:deviceX/in_accel_y_offset
@@ -784,6 +795,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_incli_x_en
784795
What: /sys/.../iio:deviceX/scan_elements/in_incli_y_en
785796
What: /sys/.../iio:deviceX/scan_elements/in_pressureY_en
786797
What: /sys/.../iio:deviceX/scan_elements/in_pressure_en
798+
What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_en
787799
KernelVersion: 2.6.37
788800
789801
Description:
@@ -799,6 +811,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_voltageY_supply_type
799811
What: /sys/.../iio:deviceX/scan_elements/in_timestamp_type
800812
What: /sys/.../iio:deviceX/scan_elements/in_pressureY_type
801813
What: /sys/.../iio:deviceX/scan_elements/in_pressure_type
814+
What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_type
802815
KernelVersion: 2.6.37
803816
804817
Description:
@@ -845,6 +858,7 @@ What: /sys/.../iio:deviceX/scan_elements/in_incli_y_index
845858
What: /sys/.../iio:deviceX/scan_elements/in_timestamp_index
846859
What: /sys/.../iio:deviceX/scan_elements/in_pressureY_index
847860
What: /sys/.../iio:deviceX/scan_elements/in_pressure_index
861+
What: /sys/.../iio:deviceX/scan_elements/in_rot_quaternion_index
848862
KernelVersion: 2.6.37
849863
850864
Description:
@@ -881,6 +895,25 @@ Description:
881895
on-chip EEPROM. After power-up or chip reset the device will
882896
automatically load the saved configuration.
883897

898+
What: /sys/.../iio:deviceX/in_illuminanceY_input
899+
What: /sys/.../iio:deviceX/in_illuminanceY_raw
900+
What: /sys/.../iio:deviceX/in_illuminanceY_mean_raw
901+
KernelVersion: 3.4
902+
903+
Description:
904+
Illuminance measurement, units after application of scale
905+
and offset are lux.
906+
907+
What: /sys/.../iio:deviceX/in_intensityY_raw
908+
What: /sys/.../iio:deviceX/in_intensityY_ir_raw
909+
What: /sys/.../iio:deviceX/in_intensityY_both_raw
910+
KernelVersion: 3.4
911+
912+
Description:
913+
Unit-less light intensity. Modifiers both and ir indicate
914+
that measurements contains visible and infrared light
915+
components or just infrared light, respectively.
916+
884917
What: /sys/.../iio:deviceX/in_intensity_red_integration_time
885918
What: /sys/.../iio:deviceX/in_intensity_green_integration_time
886919
What: /sys/.../iio:deviceX/in_intensity_blue_integration_time
@@ -891,3 +924,12 @@ Contact: [email protected]
891924
Description:
892925
This attribute is used to get/set the integration time in
893926
seconds.
927+
928+
What: /sys/bus/iio/devices/iio:deviceX/in_rot_quaternion_raw
929+
KernelVersion: 3.15
930+
931+
Description:
932+
Raw value of quaternion components using a format
933+
x y z w. Here x, y, and z component represents the axis about
934+
which a rotation will occur and w component represents the
935+
amount of rotation.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
What /sys/bus/iio/devices/iio:deviceX/in_proximity_raw
2+
Date: March 2014
3+
KernelVersion: 3.15
4+
Contact: Matt Ranostay <[email protected]>
5+
Description:
6+
Get the current distance in meters of storm (1km steps)
7+
1000-40000 = distance in meters
8+
9+
What /sys/bus/iio/devices/iio:deviceX/sensor_sensitivity
10+
Date: March 2014
11+
KernelVersion: 3.15
12+
Contact: Matt Ranostay <[email protected]>
13+
Description:
14+
Show or set the gain boost of the amp, from 0-31 range.
15+
18 = indoors (default)
16+
14 = outdoors

Documentation/ABI/testing/sysfs-bus-pci

+21
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,24 @@ Description:
250250
valid. For example, writing a 2 to this file when sriov_numvfs
251251
is not 0 and not 2 already will return an error. Writing a 10
252252
when the value of sriov_totalvfs is 8 will return an error.
253+
254+
What: /sys/bus/pci/devices/.../driver_override
255+
Date: April 2014
256+
Contact: Alex Williamson <[email protected]>
257+
Description:
258+
This file allows the driver for a device to be specified which
259+
will override standard static and dynamic ID matching. When
260+
specified, only a driver with a name matching the value written
261+
to driver_override will have an opportunity to bind to the
262+
device. The override is specified by writing a string to the
263+
driver_override file (echo pci-stub > driver_override) and
264+
may be cleared with an empty string (echo > driver_override).
265+
This returns the device to standard matching rules binding.
266+
Writing to driver_override does not automatically unbind the
267+
device from its current driver or make any attempt to
268+
automatically load the specified driver. If no driver with a
269+
matching name is currently loaded in the kernel, the device
270+
will not bind to any driver. This also allows devices to
271+
opt-out of driver binding using a driver_override name such as
272+
"none". Only a single driver may be specified in the override,
273+
there is no support for parsing delimiters.

Documentation/ABI/testing/sysfs-devices-system-cpu

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Description: Discover cpuidle policy and mechanism
128128

129129
What: /sys/devices/system/cpu/cpu#/cpufreq/*
130130
Date: pre-git history
131-
Contact: cpufreq@vger.kernel.org
131+
Contact: linux-pm@vger.kernel.org
132132
Description: Discover and change clock speed of CPUs
133133

134134
Clock scaling allows you to change the clock speed of the
@@ -146,7 +146,7 @@ Description: Discover and change clock speed of CPUs
146146

147147
What: /sys/devices/system/cpu/cpu#/cpufreq/freqdomain_cpus
148148
Date: June 2013
149-
Contact: cpufreq@vger.kernel.org
149+
Contact: linux-pm@vger.kernel.org
150150
Description: Discover CPUs in the same CPU frequency coordination domain
151151

152152
freqdomain_cpus is the list of CPUs (online+offline) that share

Documentation/ABI/testing/sysfs-driver-hid-thingm

-23
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
What: /sys/devices/../../gisb_arb_timeout
2+
Date: May 2014
3+
KernelVersion: 3.17
4+
Contact: Florian Fainelli <[email protected]>
5+
Description:
6+
Returns the currently configured raw timeout value of the
7+
Broadcom Set Top Box internal GISB bus arbiter. Minimum value
8+
is 1, and maximum value is 0xffffffff.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
What: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_req
2+
Date: Feb 2014
3+
Contact: Li Jun <[email protected]>
4+
Description:
5+
Can be set and read.
6+
Set a_bus_req(A-device bus request) input to be 1 if
7+
the application running on the A-device wants to use the bus,
8+
and to be 0 when the application no longer wants to use
9+
the bus(or wants to work as peripheral). a_bus_req can also
10+
be set to 1 by kernel in response to remote wakeup signaling
11+
from the B-device, the A-device should decide to resume the bus.
12+
13+
Valid values are "1" and "0".
14+
15+
Reading: returns 1 if the application running on the A-device
16+
is using the bus as host role, otherwise 0.
17+
18+
What: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_bus_drop
19+
Date: Feb 2014
20+
Contact: Li Jun <[email protected]>
21+
Description:
22+
Can be set and read
23+
The a_bus_drop(A-device bus drop) input is 1 when the
24+
application running on the A-device wants to power down
25+
the bus, and is 0 otherwise, When a_bus_drop is 1, then
26+
the a_bus_req shall be 0.
27+
28+
Valid values are "1" and "0".
29+
30+
Reading: returns 1 if the bus is off(vbus is turned off) by
31+
A-device, otherwise 0.
32+
33+
What: /sys/bus/platform/devices/ci_hdrc.0/inputs/b_bus_req
34+
Date: Feb 2014
35+
Contact: Li Jun <[email protected]>
36+
Description:
37+
Can be set and read.
38+
The b_bus_req(B-device bus request) input is 1 during the time
39+
that the application running on the B-device wants to use the
40+
bus as host, and is 0 when the application no longer wants to
41+
work as host and decides to switch back to be peripheral.
42+
43+
Valid values are "1" and "0".
44+
45+
Reading: returns if the application running on the B device
46+
is using the bus as host role, otherwise 0.
47+
48+
What: /sys/bus/platform/devices/ci_hdrc.0/inputs/a_clr_err
49+
Date: Feb 2014
50+
Contact: Li Jun <[email protected]>
51+
Description:
52+
Only can be set.
53+
The a_clr_err(A-device Vbus error clear) input is used to clear
54+
vbus error, then A-device will power down the bus.
55+
56+
Valid value is "1"

Documentation/ABI/testing/sysfs-power

+20-9
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,30 @@ Description:
77
subsystem.
88

99
What: /sys/power/state
10-
Date: August 2006
10+
Date: May 2014
1111
Contact: Rafael J. Wysocki <[email protected]>
1212
Description:
13-
The /sys/power/state file controls the system power state.
14-
Reading from this file returns what states are supported,
15-
which is hard-coded to 'freeze' (Low-Power Idle), 'standby'
16-
(Power-On Suspend), 'mem' (Suspend-to-RAM), and 'disk'
17-
(Suspend-to-Disk).
13+
The /sys/power/state file controls system sleep states.
14+
Reading from this file returns the available sleep state
15+
labels, which may be "mem", "standby", "freeze" and "disk"
16+
(hibernation). The meanings of the first three labels depend on
17+
the relative_sleep_states command line argument as follows:
18+
1) relative_sleep_states = 1
19+
"mem", "standby", "freeze" represent non-hibernation sleep
20+
states from the deepest ("mem", always present) to the
21+
shallowest ("freeze"). "standby" and "freeze" may or may
22+
not be present depending on the capabilities of the
23+
platform. "freeze" can only be present if "standby" is
24+
present.
25+
2) relative_sleep_states = 0 (default)
26+
"mem" - "suspend-to-RAM", present if supported.
27+
"standby" - "power-on suspend", present if supported.
28+
"freeze" - "suspend-to-idle", always present.
1829

1930
Writing to this file one of these strings causes the system to
20-
transition into that state. Please see the file
21-
Documentation/power/states.txt for a description of each of
22-
these states.
31+
transition into the corresponding state, if available. See
32+
Documentation/power/states.txt for a description of what
33+
"suspend-to-RAM", "power-on suspend" and "suspend-to-idle" mean.
2334

2435
What: /sys/power/disk
2536
Date: September 2006

Documentation/Changes

+5
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ Perl
7373
You will need perl 5 and the following modules: Getopt::Long, Getopt::Std,
7474
File::Basename, and File::Find to build the kernel.
7575

76+
BC
77+
--
78+
79+
You will need bc to build kernels 3.10 and higher
80+
7681

7782
System utilities
7883
================

Documentation/CodingStyle

+15-7
Original file line numberDiff line numberDiff line change
@@ -660,15 +660,23 @@ There are a number of driver model diagnostic macros in <linux/device.h>
660660
which you should use to make sure messages are matched to the right device
661661
and driver, and are tagged with the right level: dev_err(), dev_warn(),
662662
dev_info(), and so forth. For messages that aren't associated with a
663-
particular device, <linux/printk.h> defines pr_debug() and pr_info().
663+
particular device, <linux/printk.h> defines pr_notice(), pr_info(),
664+
pr_warn(), pr_err(), etc.
664665

665666
Coming up with good debugging messages can be quite a challenge; and once
666-
you have them, they can be a huge help for remote troubleshooting. Such
667-
messages should be compiled out when the DEBUG symbol is not defined (that
668-
is, by default they are not included). When you use dev_dbg() or pr_debug(),
669-
that's automatic. Many subsystems have Kconfig options to turn on -DDEBUG.
670-
A related convention uses VERBOSE_DEBUG to add dev_vdbg() messages to the
671-
ones already enabled by DEBUG.
667+
you have them, they can be a huge help for remote troubleshooting. However
668+
debug message printing is handled differently than printing other non-debug
669+
messages. While the other pr_XXX() functions print unconditionally,
670+
pr_debug() does not; it is compiled out by default, unless either DEBUG is
671+
defined or CONFIG_DYNAMIC_DEBUG is set. That is true for dev_dbg() also,
672+
and a related convention uses VERBOSE_DEBUG to add dev_vdbg() messages to
673+
the ones already enabled by DEBUG.
674+
675+
Many subsystems have Kconfig debug options to turn on -DDEBUG in the
676+
corresponding Makefile; in other cases specific files #define DEBUG. And
677+
when a debug message should be unconditionally printed, such as if it is
678+
already inside a debug-related #ifdef secton, printk(KERN_DEBUG ...) can be
679+
used.
672680

673681

674682
Chapter 14: Allocating memory

0 commit comments

Comments
 (0)