Skip to content

Commit 4b61bb5

Browse files
committed
Merge commit 'v2.6.31-rc8' into next
2 parents 805423e + 326ba50 commit 4b61bb5

File tree

1,284 files changed

+32489
-18787
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,284 files changed

+32489
-18787
lines changed

CREDITS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2006,6 +2006,9 @@ E: [email protected]
20062006
D: Soundblaster driver fixes, ISAPnP quirk
20072007
S: California, USA
20082008

2009+
N: Jonathan Layes
2010+
D: ARPD support
2011+
20092012
N: Tom Lees
20102013
20112014
W: http://www.lpsg.demon.co.uk/
@@ -3802,6 +3805,9 @@ S: van Bronckhorststraat 12
38023805
S: 2612 XV Delft
38033806
S: The Netherlands
38043807

3808+
N: Thomas Woller
3809+
D: CS461x Cirrus Logic sound driver
3810+
38053811
N: David Woodhouse
38063812
38073813
D: JFFS2 file system, Memory Technology Device subsystem,

Documentation/ABI/testing/sysfs-block

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,28 +94,37 @@ What: /sys/block/<disk>/queue/physical_block_size
9494
Date: May 2009
9595
Contact: Martin K. Petersen <[email protected]>
9696
Description:
97-
This is the smallest unit the storage device can write
98-
without resorting to read-modify-write operation. It is
99-
usually the same as the logical block size but may be
100-
bigger. One example is SATA drives with 4KB sectors
101-
that expose a 512-byte logical block size to the
102-
operating system.
97+
This is the smallest unit a physical storage device can
98+
write atomically. It is usually the same as the logical
99+
block size but may be bigger. One example is SATA
100+
drives with 4KB sectors that expose a 512-byte logical
101+
block size to the operating system. For stacked block
102+
devices the physical_block_size variable contains the
103+
maximum physical_block_size of the component devices.
103104

104105
What: /sys/block/<disk>/queue/minimum_io_size
105106
Date: April 2009
106107
Contact: Martin K. Petersen <[email protected]>
107108
Description:
108-
Storage devices may report a preferred minimum I/O size,
109-
which is the smallest request the device can perform
110-
without incurring a read-modify-write penalty. For disk
111-
drives this is often the physical block size. For RAID
112-
arrays it is often the stripe chunk size.
109+
Storage devices may report a granularity or preferred
110+
minimum I/O size which is the smallest request the
111+
device can perform without incurring a performance
112+
penalty. For disk drives this is often the physical
113+
block size. For RAID arrays it is often the stripe
114+
chunk size. A properly aligned multiple of
115+
minimum_io_size is the preferred request size for
116+
workloads where a high number of I/O operations is
117+
desired.
113118

114119
What: /sys/block/<disk>/queue/optimal_io_size
115120
Date: April 2009
116121
Contact: Martin K. Petersen <[email protected]>
117122
Description:
118123
Storage devices may report an optimal I/O size, which is
119-
the device's preferred unit of receiving I/O. This is
120-
rarely reported for disk drives. For RAID devices it is
121-
usually the stripe width or the internal block size.
124+
the device's preferred unit for sustained I/O. This is
125+
rarely reported for disk drives. For RAID arrays it is
126+
usually the stripe width or the internal track size. A
127+
properly aligned multiple of optimal_io_size is the
128+
preferred request size for workloads where sustained
129+
throughput is desired. If no optimal I/O size is
130+
reported this file contains 0.

Documentation/DocBook/kernel-hacking.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,8 +449,8 @@ printk(KERN_INFO "i = %u\n", i);
449449
</para>
450450

451451
<programlisting>
452-
__u32 ipaddress;
453-
printk(KERN_INFO "my ip: %d.%d.%d.%d\n", NIPQUAD(ipaddress));
452+
__be32 ipaddress;
453+
printk(KERN_INFO "my ip: %pI4\n", &amp;ipaddress);
454454
</programlisting>
455455

456456
<para>

Documentation/arm/memory.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ ffff8000 ffffffff copy_user_page / clear_user_page use.
2121
For SA11xx and Xscale, this is used to
2222
setup a minicache mapping.
2323

24+
ffff4000 ffffffff cache aliasing on ARMv6 and later CPUs.
25+
2426
ffff1000 ffff7fff Reserved.
2527
Platforms must not use this address range.
2628

Documentation/filesystems/9p.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,9 @@ available from the same CVS repository.
123123
There are user and developer mailing lists available through the v9fs project
124124
on sourceforge (http://sourceforge.net/projects/v9fs).
125125

126+
A stand-alone version of the module (which should build for any 2.6 kernel)
127+
is available via (http://github.com/ericvh/9p-sac/tree/master)
128+
126129
News and other information is maintained on SWiK (http://swik.net/v9fs).
127130

128131
Bug reports may be issued through the kernel.org bugzilla

Documentation/filesystems/afs.txt

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ it does support include:
2323

2424
(*) Security (currently only AFS kaserver and KerberosIV tickets).
2525

26-
(*) File reading.
26+
(*) File reading and writing.
2727

2828
(*) Automounting.
2929

30-
It does not yet support the following AFS features:
31-
32-
(*) Write support.
30+
(*) Local caching (via fscache).
3331

34-
(*) Local caching.
32+
It does not yet support the following AFS features:
3533

3634
(*) pioctl() system call.
3735

@@ -56,7 +54,7 @@ They permit the debugging messages to be turned on dynamically by manipulating
5654
the masks in the following files:
5755

5856
/sys/module/af_rxrpc/parameters/debug
59-
/sys/module/afs/parameters/debug
57+
/sys/module/kafs/parameters/debug
6058

6159

6260
=====
@@ -66,9 +64,9 @@ USAGE
6664
When inserting the driver modules the root cell must be specified along with a
6765
list of volume location server IP addresses:
6866

69-
insmod af_rxrpc.o
70-
insmod rxkad.o
71-
insmod kafs.o rootcell=cambridge.redhat.com:172.16.18.73:172.16.18.91
67+
modprobe af_rxrpc
68+
modprobe rxkad
69+
modprobe kafs rootcell=cambridge.redhat.com:172.16.18.73:172.16.18.91
7270

7371
The first module is the AF_RXRPC network protocol driver. This provides the
7472
RxRPC remote operation protocol and may also be accessed from userspace. See:
@@ -81,7 +79,7 @@ is the actual filesystem driver for the AFS filesystem.
8179
Once the module has been loaded, more modules can be added by the following
8280
procedure:
8381

84-
echo add grand.central.org 18.7.14.88:128.2.191.224 >/proc/fs/afs/cells
82+
echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells
8583

8684
Where the parameters to the "add" command are the name of a cell and a list of
8785
volume location servers within that cell, with the latter separated by colons.
@@ -101,7 +99,7 @@ The name of the volume can be suffixes with ".backup" or ".readonly" to
10199
specify connection to only volumes of those types.
102100

103101
The name of the cell is optional, and if not given during a mount, then the
104-
named volume will be looked up in the cell specified during insmod.
102+
named volume will be looked up in the cell specified during modprobe.
105103

106104
Additional cells can be added through /proc (see later section).
107105

@@ -163,14 +161,14 @@ THE CELL DATABASE
163161

164162
The filesystem maintains an internal database of all the cells it knows and the
165163
IP addresses of the volume location servers for those cells. The cell to which
166-
the system belongs is added to the database when insmod is performed by the
164+
the system belongs is added to the database when modprobe is performed by the
167165
"rootcell=" argument or, if compiled in, using a "kafs.rootcell=" argument on
168166
the kernel command line.
169167

170168
Further cells can be added by commands similar to the following:
171169

172170
echo add CELLNAME VLADDR[:VLADDR][:VLADDR]... >/proc/fs/afs/cells
173-
echo add grand.central.org 18.7.14.88:128.2.191.224 >/proc/fs/afs/cells
171+
echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 >/proc/fs/afs/cells
174172

175173
No other cell database operations are available at this time.
176174

@@ -233,7 +231,7 @@ insmod /tmp/kafs.o rootcell=cambridge.redhat.com:172.16.18.91
233231
mount -t afs \%root.afs. /afs
234232
mount -t afs \%cambridge.redhat.com:root.cell. /afs/cambridge.redhat.com/
235233

236-
echo add grand.central.org 18.7.14.88:128.2.191.224 > /proc/fs/afs/cells
234+
echo add grand.central.org 18.9.48.14:128.2.203.61:130.237.48.87 > /proc/fs/afs/cells
237235
mount -t afs "#grand.central.org:root.cell." /afs/grand.central.org/
238236
mount -t afs "#grand.central.org:root.archive." /afs/grand.central.org/archive
239237
mount -t afs "#grand.central.org:root.contrib." /afs/grand.central.org/contrib

Documentation/filesystems/proc.txt

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1167,13 +1167,11 @@ CHAPTER 3: PER-PROCESS PARAMETERS
11671167
3.1 /proc/<pid>/oom_adj - Adjust the oom-killer score
11681168
------------------------------------------------------
11691169

1170-
This file can be used to adjust the score used to select which processes should
1171-
be killed in an out-of-memory situation. The oom_adj value is a characteristic
1172-
of the task's mm, so all threads that share an mm with pid will have the same
1173-
oom_adj value. A high value will increase the likelihood of this process being
1174-
killed by the oom-killer. Valid values are in the range -16 to +15 as
1175-
explained below and a special value of -17, which disables oom-killing
1176-
altogether for threads sharing pid's mm.
1170+
This file can be used to adjust the score used to select which processes
1171+
should be killed in an out-of-memory situation. Giving it a high score will
1172+
increase the likelihood of this process being killed by the oom-killer. Valid
1173+
values are in the range -16 to +15, plus the special value -17, which disables
1174+
oom-killing altogether for this process.
11771175

11781176
The process to be killed in an out-of-memory situation is selected among all others
11791177
based on its badness score. This value equals the original memory size of the process
@@ -1187,9 +1185,6 @@ the parent's score if they do not share the same memory. Thus forking servers
11871185
are the prime candidates to be killed. Having only one 'hungry' child will make
11881186
parent less preferable than the child.
11891187

1190-
/proc/<pid>/oom_adj cannot be changed for kthreads since they are immune from
1191-
oom-killing already.
1192-
11931188
/proc/<pid>/oom_score shows process' current badness score.
11941189

11951190
The following heuristics are then applied:

Documentation/filesystems/sysfs.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ interface.
2323
Using sysfs
2424
~~~~~~~~~~~
2525

26-
sysfs is always compiled in. You can access it by doing:
26+
sysfs is always compiled in if CONFIG_SYSFS is defined. You can access
27+
it by doing:
2728

2829
mount -t sysfs sysfs /sys
2930

Documentation/ioctl/ioctl-number.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ Code Seq# Include File Comments
139139
'm' all linux/synclink.h conflict!
140140
'm' 00-1F net/irda/irmod.h conflict!
141141
'n' 00-7F linux/ncp_fs.h
142+
'n' 80-8F linux/nilfs2_fs.h NILFS2
142143
'n' E0-FF video/matrox.h matroxfb
143144
'o' 00-1F fs/ocfs2/ocfs2_fs.h OCFS2
144145
'o' 00-03 include/mtd/ubi-user.h conflict! (OCFS2 and UBI overlaps)

Documentation/kernel-parameters.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,6 +1115,10 @@ and is between 256 and 4096 characters. It is defined in the file
11151115
libata.dma=4 Compact Flash DMA only
11161116
Combinations also work, so libata.dma=3 enables DMA
11171117
for disks and CDROMs, but not CFs.
1118+
1119+
libata.ignore_hpa= [LIBATA] Ignore HPA limit
1120+
libata.ignore_hpa=0 keep BIOS limits (default)
1121+
libata.ignore_hpa=1 ignore limits, using full disk
11181122

11191123
libata.noacpi [LIBATA] Disables use of ACPI in libata suspend/resume
11201124
when set.

Documentation/laptops/thinkpad-acpi.txt

Lines changed: 0 additions & 127 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ detailed description):
3636
- Bluetooth enable and disable
3737
- video output switching, expansion control
3838
- ThinkLight on and off
39-
- limited docking and undocking
40-
- UltraBay eject
4139
- CMOS/UCMS control
4240
- LED control
4341
- ACPI sounds
@@ -729,131 +727,6 @@ cannot be read or if it is unknown, thinkpad-acpi will report it as "off".
729727
It is impossible to know if the status returned through sysfs is valid.
730728

731729

732-
Docking / undocking -- /proc/acpi/ibm/dock
733-
------------------------------------------
734-
735-
Docking and undocking (e.g. with the X4 UltraBase) requires some
736-
actions to be taken by the operating system to safely make or break
737-
the electrical connections with the dock.
738-
739-
The docking feature of this driver generates the following ACPI events:
740-
741-
ibm/dock GDCK 00000003 00000001 -- eject request
742-
ibm/dock GDCK 00000003 00000002 -- undocked
743-
ibm/dock GDCK 00000000 00000003 -- docked
744-
745-
NOTE: These events will only be generated if the laptop was docked
746-
when originally booted. This is due to the current lack of support for
747-
hot plugging of devices in the Linux ACPI framework. If the laptop was
748-
booted while not in the dock, the following message is shown in the
749-
logs:
750-
751-
Mar 17 01:42:34 aero kernel: thinkpad_acpi: dock device not present
752-
753-
In this case, no dock-related events are generated but the dock and
754-
undock commands described below still work. They can be executed
755-
manually or triggered by Fn key combinations (see the example acpid
756-
configuration files included in the driver tarball package available
757-
on the web site).
758-
759-
When the eject request button on the dock is pressed, the first event
760-
above is generated. The handler for this event should issue the
761-
following command:
762-
763-
echo undock > /proc/acpi/ibm/dock
764-
765-
After the LED on the dock goes off, it is safe to eject the laptop.
766-
Note: if you pressed this key by mistake, go ahead and eject the
767-
laptop, then dock it back in. Otherwise, the dock may not function as
768-
expected.
769-
770-
When the laptop is docked, the third event above is generated. The
771-
handler for this event should issue the following command to fully
772-
enable the dock:
773-
774-
echo dock > /proc/acpi/ibm/dock
775-
776-
The contents of the /proc/acpi/ibm/dock file shows the current status
777-
of the dock, as provided by the ACPI framework.
778-
779-
The docking support in this driver does not take care of enabling or
780-
disabling any other devices you may have attached to the dock. For
781-
example, a CD drive plugged into the UltraBase needs to be disabled or
782-
enabled separately. See the provided example acpid configuration files
783-
for how this can be accomplished.
784-
785-
There is no support yet for PCI devices that may be attached to a
786-
docking station, e.g. in the ThinkPad Dock II. The driver currently
787-
does not recognize, enable or disable such devices. This means that
788-
the only docking stations currently supported are the X-series
789-
UltraBase docks and "dumb" port replicators like the Mini Dock (the
790-
latter don't need any ACPI support, actually).
791-
792-
793-
UltraBay eject -- /proc/acpi/ibm/bay
794-
------------------------------------
795-
796-
Inserting or ejecting an UltraBay device requires some actions to be
797-
taken by the operating system to safely make or break the electrical
798-
connections with the device.
799-
800-
This feature generates the following ACPI events:
801-
802-
ibm/bay MSTR 00000003 00000000 -- eject request
803-
ibm/bay MSTR 00000001 00000000 -- eject lever inserted
804-
805-
NOTE: These events will only be generated if the UltraBay was present
806-
when the laptop was originally booted (on the X series, the UltraBay
807-
is in the dock, so it may not be present if the laptop was undocked).
808-
This is due to the current lack of support for hot plugging of devices
809-
in the Linux ACPI framework. If the laptop was booted without the
810-
UltraBay, the following message is shown in the logs:
811-
812-
Mar 17 01:42:34 aero kernel: thinkpad_acpi: bay device not present
813-
814-
In this case, no bay-related events are generated but the eject
815-
command described below still works. It can be executed manually or
816-
triggered by a hot key combination.
817-
818-
Sliding the eject lever generates the first event shown above. The
819-
handler for this event should take whatever actions are necessary to
820-
shut down the device in the UltraBay (e.g. call idectl), then issue
821-
the following command:
822-
823-
echo eject > /proc/acpi/ibm/bay
824-
825-
After the LED on the UltraBay goes off, it is safe to pull out the
826-
device.
827-
828-
When the eject lever is inserted, the second event above is
829-
generated. The handler for this event should take whatever actions are
830-
necessary to enable the UltraBay device (e.g. call idectl).
831-
832-
The contents of the /proc/acpi/ibm/bay file shows the current status
833-
of the UltraBay, as provided by the ACPI framework.
834-
835-
EXPERIMENTAL warm eject support on the 600e/x, A22p and A3x (To use
836-
this feature, you need to supply the experimental=1 parameter when
837-
loading the module):
838-
839-
These models do not have a button near the UltraBay device to request
840-
a hot eject but rather require the laptop to be put to sleep
841-
(suspend-to-ram) before the bay device is ejected or inserted).
842-
The sequence of steps to eject the device is as follows:
843-
844-
echo eject > /proc/acpi/ibm/bay
845-
put the ThinkPad to sleep
846-
remove the drive
847-
resume from sleep
848-
cat /proc/acpi/ibm/bay should show that the drive was removed
849-
850-
On the A3x, both the UltraBay 2000 and UltraBay Plus devices are
851-
supported. Use "eject2" instead of "eject" for the second bay.
852-
853-
Note: the UltraBay eject support on the 600e/x, A22p and A3x is
854-
EXPERIMENTAL and may not work as expected. USE WITH CAUTION!
855-
856-
857730
CMOS/UCMS control
858731
-----------------
859732

0 commit comments

Comments
 (0)