Skip to content

Commit bf53083

Browse files
author
James Morris
committed
Merge tag 'v3.6-rc7' into next
Linux 3.6-rc7 Requested by David Howells so he can merge his key susbsystem work into my tree with requisite -linus changesets.
2 parents 3585e96 + 979570e commit bf53083

File tree

1,226 files changed

+12337
-7967
lines changed

Some content is hidden

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

1,226 files changed

+12337
-7967
lines changed

Documentation/ABI/testing/sysfs-bus-pci

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,15 @@ Users:
210210
firmware assigned instance number of the PCI
211211
device that can help in understanding the firmware
212212
intended order of the PCI device.
213+
214+
What: /sys/bus/pci/devices/.../d3cold_allowed
215+
Date: July 2012
216+
Contact: Huang Ying <[email protected]>
217+
Description:
218+
d3cold_allowed is bit to control whether the corresponding PCI
219+
device can be put into D3Cold state. If it is cleared, the
220+
device will never be put into D3Cold state. If it is set, the
221+
device may be put into D3Cold state if other requirements are
222+
satisfied too. Reading this attribute will show the current
223+
value of d3cold_allowed bit. Writing this attribute will set
224+
the value of d3cold_allowed bit.

Documentation/ABI/testing/sysfs-platform-ideapad-laptop

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,15 @@ Contact: "Ike Panhc <[email protected]>"
55
Description:
66
Control the power of camera module. 1 means on, 0 means off.
77

8+
What: /sys/devices/platform/ideapad/fan_mode
9+
Date: June 2012
10+
KernelVersion: 3.6
11+
Contact: "Maxim Mikityanskiy <[email protected]>"
12+
Description:
13+
Change fan mode
14+
There are four available modes:
15+
* 0 -> Super Silent Mode
16+
* 1 -> Standard Mode
17+
* 2 -> Dust Cleaning
18+
* 4 -> Efficient Thermal Dissipation Mode
819

Documentation/DocBook/media/v4l/vidioc-g-tuner.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ the structure refers to a radio tuner the
125125
<constant>V4L2_TUNER_CAP_NORM</constant> flags can't be used.</para>
126126
<para>If multiple frequency bands are supported, then
127127
<structfield>capability</structfield> is the union of all
128-
<structfield>capability></structfield> fields of each &v4l2-frequency-band;.
128+
<structfield>capability</structfield> fields of each &v4l2-frequency-band;.
129129
</para></entry>
130130
</row>
131131
<row>

Documentation/block/00-INDEX

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,21 @@
33
biodoc.txt
44
- Notes on the Generic Block Layer Rewrite in Linux 2.5
55
capability.txt
6-
- Generic Block Device Capability (/sys/block/<disk>/capability)
6+
- Generic Block Device Capability (/sys/block/<device>/capability)
7+
cfq-iosched.txt
8+
- CFQ IO scheduler tunables
9+
data-integrity.txt
10+
- Block data integrity
711
deadline-iosched.txt
812
- Deadline IO scheduler tunables
913
ioprio.txt
1014
- Block io priorities (in CFQ scheduler)
15+
queue-sysfs.txt
16+
- Queue's sysfs entries
1117
request.txt
1218
- The members of struct request (in include/linux/blkdev.h)
1319
stat.txt
14-
- Block layer statistics in /sys/block/<dev>/stat
20+
- Block layer statistics in /sys/block/<device>/stat
1521
switching-sched.txt
1622
- Switching I/O schedulers at runtime
1723
writeback_cache_control.txt

Documentation/block/cfq-iosched.txt

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
CFQ (Complete Fairness Queueing)
2+
===============================
3+
4+
The main aim of CFQ scheduler is to provide a fair allocation of the disk
5+
I/O bandwidth for all the processes which requests an I/O operation.
6+
7+
CFQ maintains the per process queue for the processes which request I/O
8+
operation(syncronous requests). In case of asynchronous requests, all the
9+
requests from all the processes are batched together according to their
10+
process's I/O priority.
11+
112
CFQ ioscheduler tunables
213
========================
314

@@ -25,6 +36,72 @@ there are multiple spindles behind single LUN (Host based hardware RAID
2536
controller or for storage arrays), setting slice_idle=0 might end up in better
2637
throughput and acceptable latencies.
2738

39+
back_seek_max
40+
-------------
41+
This specifies, given in Kbytes, the maximum "distance" for backward seeking.
42+
The distance is the amount of space from the current head location to the
43+
sectors that are backward in terms of distance.
44+
45+
This parameter allows the scheduler to anticipate requests in the "backward"
46+
direction and consider them as being the "next" if they are within this
47+
distance from the current head location.
48+
49+
back_seek_penalty
50+
-----------------
51+
This parameter is used to compute the cost of backward seeking. If the
52+
backward distance of request is just 1/back_seek_penalty from a "front"
53+
request, then the seeking cost of two requests is considered equivalent.
54+
55+
So scheduler will not bias toward one or the other request (otherwise scheduler
56+
will bias toward front request). Default value of back_seek_penalty is 2.
57+
58+
fifo_expire_async
59+
-----------------
60+
This parameter is used to set the timeout of asynchronous requests. Default
61+
value of this is 248ms.
62+
63+
fifo_expire_sync
64+
----------------
65+
This parameter is used to set the timeout of synchronous requests. Default
66+
value of this is 124ms. In case to favor synchronous requests over asynchronous
67+
one, this value should be decreased relative to fifo_expire_async.
68+
69+
slice_async
70+
-----------
71+
This parameter is same as of slice_sync but for asynchronous queue. The
72+
default value is 40ms.
73+
74+
slice_async_rq
75+
--------------
76+
This parameter is used to limit the dispatching of asynchronous request to
77+
device request queue in queue's slice time. The maximum number of request that
78+
are allowed to be dispatched also depends upon the io priority. Default value
79+
for this is 2.
80+
81+
slice_sync
82+
----------
83+
When a queue is selected for execution, the queues IO requests are only
84+
executed for a certain amount of time(time_slice) before switching to another
85+
queue. This parameter is used to calculate the time slice of synchronous
86+
queue.
87+
88+
time_slice is computed using the below equation:-
89+
time_slice = slice_sync + (slice_sync/5 * (4 - prio)). To increase the
90+
time_slice of synchronous queue, increase the value of slice_sync. Default
91+
value is 100ms.
92+
93+
quantum
94+
-------
95+
This specifies the number of request dispatched to the device queue. In a
96+
queue's time slice, a request will not be dispatched if the number of request
97+
in the device exceeds this parameter. This parameter is used for synchronous
98+
request.
99+
100+
In case of storage with several disk, this setting can limit the parallel
101+
processing of request. Therefore, increasing the value can imporve the
102+
performace although this can cause the latency of some I/O to increase due
103+
to more number of requests.
104+
28105
CFQ IOPS Mode for group scheduling
29106
===================================
30107
Basic CFQ design is to provide priority based time slices. Higher priority

Documentation/block/queue-sysfs.txt

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,71 @@ These files are the ones found in the /sys/block/xxx/queue/ directory.
99
Files denoted with a RO postfix are readonly and the RW postfix means
1010
read-write.
1111

12+
add_random (RW)
13+
----------------
14+
This file allows to trun off the disk entropy contribution. Default
15+
value of this file is '1'(on).
16+
17+
discard_granularity (RO)
18+
-----------------------
19+
This shows the size of internal allocation of the device in bytes, if
20+
reported by the device. A value of '0' means device does not support
21+
the discard functionality.
22+
23+
discard_max_bytes (RO)
24+
----------------------
25+
Devices that support discard functionality may have internal limits on
26+
the number of bytes that can be trimmed or unmapped in a single operation.
27+
The discard_max_bytes parameter is set by the device driver to the maximum
28+
number of bytes that can be discarded in a single operation. Discard
29+
requests issued to the device must not exceed this limit. A discard_max_bytes
30+
value of 0 means that the device does not support discard functionality.
31+
32+
discard_zeroes_data (RO)
33+
------------------------
34+
When read, this file will show if the discarded block are zeroed by the
35+
device or not. If its value is '1' the blocks are zeroed otherwise not.
36+
1237
hw_sector_size (RO)
1338
-------------------
1439
This is the hardware sector size of the device, in bytes.
1540

41+
iostats (RW)
42+
-------------
43+
This file is used to control (on/off) the iostats accounting of the
44+
disk.
45+
46+
logical_block_size (RO)
47+
-----------------------
48+
This is the logcal block size of the device, in bytes.
49+
1650
max_hw_sectors_kb (RO)
1751
----------------------
1852
This is the maximum number of kilobytes supported in a single data transfer.
1953

54+
max_integrity_segments (RO)
55+
---------------------------
56+
When read, this file shows the max limit of integrity segments as
57+
set by block layer which a hardware controller can handle.
58+
2059
max_sectors_kb (RW)
2160
-------------------
2261
This is the maximum number of kilobytes that the block layer will allow
2362
for a filesystem request. Must be smaller than or equal to the maximum
2463
size allowed by the hardware.
2564

65+
max_segments (RO)
66+
-----------------
67+
Maximum number of segments of the device.
68+
69+
max_segment_size (RO)
70+
---------------------
71+
Maximum segment size of the device.
72+
73+
minimum_io_size (RO)
74+
--------------------
75+
This is the smallest preferred io size reported by the device.
76+
2677
nomerges (RW)
2778
-------------
2879
This enables the user to disable the lookup logic involved with IO
@@ -45,11 +96,24 @@ per-block-cgroup request pool. IOW, if there are N block cgroups,
4596
each request queue may have upto N request pools, each independently
4697
regulated by nr_requests.
4798

99+
optimal_io_size (RO)
100+
--------------------
101+
This is the optimal io size reported by the device.
102+
103+
physical_block_size (RO)
104+
------------------------
105+
This is the physical block size of device, in bytes.
106+
48107
read_ahead_kb (RW)
49108
------------------
50109
Maximum number of kilobytes to read-ahead for filesystems on this block
51110
device.
52111

112+
rotational (RW)
113+
---------------
114+
This file is used to stat if the device is of rotational type or
115+
non-rotational type.
116+
53117
rq_affinity (RW)
54118
----------------
55119
If this option is '1', the block layer will migrate request completions to the

Documentation/devicetree/bindings/mmc/fsl-imx-esdhc.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ Required properties:
1010
- compatible : Should be "fsl,<chip>-esdhc"
1111

1212
Optional properties:
13-
- fsl,cd-internal : Indicate to use controller internal card detection
14-
- fsl,wp-internal : Indicate to use controller internal write protection
13+
- fsl,cd-controller : Indicate to use controller internal card detection
14+
- fsl,wp-controller : Indicate to use controller internal write protection
1515

1616
Examples:
1717

1818
esdhc@70004000 {
1919
compatible = "fsl,imx51-esdhc";
2020
reg = <0x70004000 0x4000>;
2121
interrupts = <1>;
22-
fsl,cd-internal;
23-
fsl,wp-internal;
22+
fsl,cd-controller;
23+
fsl,wp-controller;
2424
};
2525

2626
esdhc@70008000 {

Documentation/devicetree/bindings/regulator/tps6586x.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ Required properties:
99
- regulators: list of regulators provided by this controller, must have
1010
property "regulator-compatible" to match their hardware counterparts:
1111
sm[0-2], ldo[0-9] and ldo_rtc
12-
- sm0-supply: The input supply for the SM0.
13-
- sm1-supply: The input supply for the SM1.
14-
- sm2-supply: The input supply for the SM2.
12+
- vin-sm0-supply: The input supply for the SM0.
13+
- vin-sm1-supply: The input supply for the SM1.
14+
- vin-sm2-supply: The input supply for the SM2.
1515
- vinldo01-supply: The input supply for the LDO1 and LDO2
1616
- vinldo23-supply: The input supply for the LDO2 and LDO3
1717
- vinldo4-supply: The input supply for the LDO4
@@ -30,9 +30,9 @@ Example:
3030
#gpio-cells = <2>;
3131
gpio-controller;
3232

33-
sm0-supply = <&some_reg>;
34-
sm1-supply = <&some_reg>;
35-
sm2-supply = <&some_reg>;
33+
vin-sm0-supply = <&some_reg>;
34+
vin-sm1-supply = <&some_reg>;
35+
vin-sm2-supply = <&some_reg>;
3636
vinldo01-supply = <...>;
3737
vinldo23-supply = <...>;
3838
vinldo4-supply = <...>;

Documentation/feature-removal-schedule.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ Why: KVM tracepoints provide mostly equivalent information in a much more
579579
----------------------------
580580

581581
What: at91-mci driver ("CONFIG_MMC_AT91")
582-
When: 3.7
582+
When: 3.8
583583
Why: There are two mci drivers: at91-mci and atmel-mci. The PDC support
584584
was added to atmel-mci as a first step to support more chips.
585585
Then at91-mci was kept only for old IP versions (on at91rm9200 and

Documentation/filesystems/vfat.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@ errors=panic|continue|remount-ro
137137
without doing anything or remount the partition in
138138
read-only mode (default behavior).
139139

140+
discard -- If set, issues discard/TRIM commands to the block
141+
device when blocks are freed. This is useful for SSD devices
142+
and sparse/thinly-provisoned LUNs.
143+
144+
nfs -- This option maintains an index (cache) of directory
145+
inodes by i_logstart which is used by the nfs-related code to
146+
improve look-ups.
147+
148+
Enable this only if you want to export the FAT filesystem
149+
over NFS
150+
140151
<bool>: 0,1,yes,no,true,false
141152

142153
TODO

Documentation/i2c/busses/i2c-i801

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Supported adapters:
2121
* Intel DH89xxCC (PCH)
2222
* Intel Panther Point (PCH)
2323
* Intel Lynx Point (PCH)
24+
* Intel Lynx Point-LP (PCH)
2425
Datasheets: Publicly available at the Intel website
2526

2627
On Intel Patsburg and later chipsets, both the normal host SMBus controller

Documentation/networking/netconsole.txt

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,23 @@ Built-in netconsole starts immediately after the TCP stack is
5151
initialized and attempts to bring up the supplied dev at the supplied
5252
address.
5353

54-
The remote host can run either 'netcat -u -l -p <port>',
55-
'nc -l -u <port>' or syslogd.
54+
The remote host has several options to receive the kernel messages,
55+
for example:
56+
57+
1) syslogd
58+
59+
2) netcat
60+
61+
On distributions using a BSD-based netcat version (e.g. Fedora,
62+
openSUSE and Ubuntu) the listening port must be specified without
63+
the -p switch:
64+
65+
'nc -u -l -p <port>' / 'nc -u -l <port>' or
66+
'netcat -u -l -p <port>' / 'netcat -u -l <port>'
67+
68+
3) socat
69+
70+
'socat udp-recv:<port> -'
5671

5772
Dynamic reconfiguration:
5873
========================

Documentation/pinctrl.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,9 +840,9 @@ static unsigned long i2c_pin_configs[] = {
840840

841841
static struct pinctrl_map __initdata mapping[] = {
842842
PIN_MAP_MUX_GROUP("foo-i2c.0", PINCTRL_STATE_DEFAULT, "pinctrl-foo", "i2c0", "i2c0"),
843-
PIN_MAP_MUX_CONFIGS_GROUP("foo-i2c.0", PINCTRL_STATE_DEFAULT, "pinctrl-foo", "i2c0", i2c_grp_configs),
844-
PIN_MAP_MUX_CONFIGS_PIN("foo-i2c.0", PINCTRL_STATE_DEFAULT, "pinctrl-foo", "i2c0scl", i2c_pin_configs),
845-
PIN_MAP_MUX_CONFIGS_PIN("foo-i2c.0", PINCTRL_STATE_DEFAULT, "pinctrl-foo", "i2c0sda", i2c_pin_configs),
843+
PIN_MAP_CONFIGS_GROUP("foo-i2c.0", PINCTRL_STATE_DEFAULT, "pinctrl-foo", "i2c0", i2c_grp_configs),
844+
PIN_MAP_CONFIGS_PIN("foo-i2c.0", PINCTRL_STATE_DEFAULT, "pinctrl-foo", "i2c0scl", i2c_pin_configs),
845+
PIN_MAP_CONFIGS_PIN("foo-i2c.0", PINCTRL_STATE_DEFAULT, "pinctrl-foo", "i2c0sda", i2c_pin_configs),
846846
};
847847

848848
Finally, some devices expect the mapping table to contain certain specific

Documentation/vm/hugetlbpage.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,17 @@ map_hugetlb.c.
299299
*******************************************************************
300300

301301
/*
302-
* hugepage-shm: see Documentation/vm/hugepage-shm.c
302+
* map_hugetlb: see tools/testing/selftests/vm/map_hugetlb.c
303303
*/
304304

305305
*******************************************************************
306306

307307
/*
308-
* hugepage-mmap: see Documentation/vm/hugepage-mmap.c
308+
* hugepage-shm: see tools/testing/selftests/vm/hugepage-shm.c
309+
*/
310+
311+
*******************************************************************
312+
313+
/*
314+
* hugepage-mmap: see tools/testing/selftests/vm/hugepage-mmap.c
309315
*/

0 commit comments

Comments
 (0)