Skip to content

Commit a385ec4

Browse files
author
Ingo Molnar
committed
Merge tag 'v3.4-rc2' into perf/core
Merge Linux 3.4-rc2: we were on v3.3, update the base. Signed-off-by: Ingo Molnar <[email protected]>
2 parents 659c36f + 0034102 commit a385ec4

File tree

4,774 files changed

+129908
-61551
lines changed

Some content is hidden

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

4,774 files changed

+129908
-61551
lines changed

Documentation/ABI/stable/sysfs-driver-usb-usbtmc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ What: /sys/bus/usb/drivers/usbtmc/devices/*/auto_abort
5555
Date: August 2008
5656
Contact: Greg Kroah-Hartman <[email protected]>
5757
Description:
58-
This file determines if the the transaction of the USB TMC
58+
This file determines if the transaction of the USB TMC
5959
device is to be automatically aborted if there is any error.
6060
For more details about this, please see the document,
6161
"Universal Serial Bus Test and Measurement Class Specification
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
What: /sys/kernel/debug/olpc-ec/cmd
2+
Date: Dec 2011
3+
KernelVersion: 3.4
4+
5+
Description:
6+
7+
A generic interface for executing OLPC Embedded Controller commands and
8+
reading their responses.
9+
10+
To execute a command, write data with the format: CC:N A A A A
11+
CC is the (hex) command, N is the count of expected reply bytes, and A A A A
12+
are optional (hex) arguments.
13+
14+
To read the response (if any), read from the generic node after executing
15+
a command. Hex reply bytes will be returned, *whether or not* they came from
16+
the immediately previous command.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
What: /sys/block/dm-<num>/dm/name
2+
Date: January 2009
3+
KernelVersion: 2.6.29
4+
5+
Description: Device-mapper device name.
6+
Read-only string containing mapped device name.
7+
Users: util-linux, device-mapper udev rules
8+
9+
What: /sys/block/dm-<num>/dm/uuid
10+
Date: January 2009
11+
KernelVersion: 2.6.29
12+
13+
Description: Device-mapper device UUID.
14+
Read-only string containing DM-UUID or empty string
15+
if DM-UUID is not set.
16+
Users: util-linux, device-mapper udev rules
17+
18+
What: /sys/block/dm-<num>/dm/suspended
19+
Date: June 2009
20+
KernelVersion: 2.6.31
21+
22+
Description: Device-mapper device suspend state.
23+
Contains the value 1 while the device is suspended.
24+
Otherwise it contains 0. Read-only attribute.
25+
Users: util-linux, device-mapper udev rules
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
What: /sys/bus/rpmsg/devices/.../name
2+
Date: June 2011
3+
KernelVersion: 3.3
4+
Contact: Ohad Ben-Cohen <[email protected]>
5+
Description:
6+
Every rpmsg device is a communication channel with a remote
7+
processor. Channels are identified with a (textual) name,
8+
which is maximum 32 bytes long (defined as RPMSG_NAME_SIZE in
9+
rpmsg.h).
10+
11+
This sysfs entry contains the name of this channel.
12+
13+
What: /sys/bus/rpmsg/devices/.../src
14+
Date: June 2011
15+
KernelVersion: 3.3
16+
Contact: Ohad Ben-Cohen <[email protected]>
17+
Description:
18+
Every rpmsg device is a communication channel with a remote
19+
processor. Channels have a local ("source") rpmsg address,
20+
and remote ("destination") rpmsg address. When an entity
21+
starts listening on one end of a channel, it assigns it with
22+
a unique rpmsg address (a 32 bits integer). This way when
23+
inbound messages arrive to this address, the rpmsg core
24+
dispatches them to the listening entity (a kernel driver).
25+
26+
This sysfs entry contains the src (local) rpmsg address
27+
of this channel. If it contains 0xffffffff, then an address
28+
wasn't assigned (can happen if no driver exists for this
29+
channel).
30+
31+
What: /sys/bus/rpmsg/devices/.../dst
32+
Date: June 2011
33+
KernelVersion: 3.3
34+
Contact: Ohad Ben-Cohen <[email protected]>
35+
Description:
36+
Every rpmsg device is a communication channel with a remote
37+
processor. Channels have a local ("source") rpmsg address,
38+
and remote ("destination") rpmsg address. When an entity
39+
starts listening on one end of a channel, it assigns it with
40+
a unique rpmsg address (a 32 bits integer). This way when
41+
inbound messages arrive to this address, the rpmsg core
42+
dispatches them to the listening entity.
43+
44+
This sysfs entry contains the dst (remote) rpmsg address
45+
of this channel. If it contains 0xffffffff, then an address
46+
wasn't assigned (can happen if the kernel driver that
47+
is attached to this channel is exposing a service to the
48+
remote processor. This make it a local rpmsg server,
49+
and it is listening for inbound messages that may be sent
50+
from any remote rpmsg client; it is not bound to a single
51+
remote entity).
52+
53+
What: /sys/bus/rpmsg/devices/.../announce
54+
Date: June 2011
55+
KernelVersion: 3.3
56+
Contact: Ohad Ben-Cohen <[email protected]>
57+
Description:
58+
Every rpmsg device is a communication channel with a remote
59+
processor. Channels are identified by a textual name (see
60+
/sys/bus/rpmsg/devices/.../name above) and have a local
61+
("source") rpmsg address, and remote ("destination") rpmsg
62+
address.
63+
64+
A channel is first created when an entity, whether local
65+
or remote, starts listening on it for messages (and is thus
66+
called an rpmsg server).
67+
68+
When that happens, a "name service" announcement is sent
69+
to the other processor, in order to let it know about the
70+
creation of the channel (this way remote clients know they
71+
can start sending messages).
72+
73+
This sysfs entry tells us whether the channel is a local
74+
server channel that is announced (values are either
75+
true or false).

Documentation/ABI/testing/sysfs-driver-samsung-laptop

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,21 @@ Description: Some Samsung laptops have different "performance levels"
1717
Specifically, not all support the "overclock" option,
1818
and it's still unknown if this value even changes
1919
anything, other than making the user feel a bit better.
20+
21+
What: /sys/devices/platform/samsung/battery_life_extender
22+
Date: December 1, 2011
23+
KernelVersion: 3.3
24+
Contact: Corentin Chary <[email protected]>
25+
Description: Max battery charge level can be modified, battery cycle
26+
life can be extended by reducing the max battery charge
27+
level.
28+
0 means normal battery mode (100% charge)
29+
1 means battery life extender mode (80% charge)
30+
31+
What: /sys/devices/platform/samsung/usb_charge
32+
Date: December 1, 2011
33+
KernelVersion: 3.3
34+
Contact: Corentin Chary <[email protected]>
35+
Description: Use your USB ports to charge devices, even
36+
when your laptop is powered off.
37+
1 means enabled, 0 means disabled.

Documentation/ABI/testing/sysfs-firmware-acpi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
What: /sys/firmware/acpi/bgrt/
2+
Date: January 2012
3+
Contact: Matthew Garrett <[email protected]>
4+
Description:
5+
The BGRT is an ACPI 5.0 feature that allows the OS
6+
to obtain a copy of the firmware boot splash and
7+
some associated metadata. This is intended to be used
8+
by boot splash applications in order to interact with
9+
the firmware boot splash in order to avoid jarring
10+
transitions.
11+
12+
image: The image bitmap. Currently a 32-bit BMP.
13+
status: 1 if the image is valid, 0 if firmware invalidated it.
14+
type: 0 indicates image is in BMP format.
15+
version: The version of the BGRT. Currently 1.
16+
xoffset: The number of pixels between the left of the screen
17+
and the left edge of the image.
18+
yoffset: The number of pixels between the top of the screen
19+
and the top edge of the image.
20+
121
What: /sys/firmware/acpi/interrupts/
222
Date: February 2008
323
Contact: Len Brown <[email protected]>

Documentation/CodingStyle

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,35 @@ own custom mode, or may have some other magic method for making indentation
793793
work correctly.
794794

795795

796+
Chapter 19: Inline assembly
797+
798+
In architecture-specific code, you may need to use inline assembly to interface
799+
with CPU or platform functionality. Don't hesitate to do so when necessary.
800+
However, don't use inline assembly gratuitously when C can do the job. You can
801+
and should poke hardware from C when possible.
802+
803+
Consider writing simple helper functions that wrap common bits of inline
804+
assembly, rather than repeatedly writing them with slight variations. Remember
805+
that inline assembly can use C parameters.
806+
807+
Large, non-trivial assembly functions should go in .S files, with corresponding
808+
C prototypes defined in C header files. The C prototypes for assembly
809+
functions should use "asmlinkage".
810+
811+
You may need to mark your asm statement as volatile, to prevent GCC from
812+
removing it if GCC doesn't notice any side effects. You don't always need to
813+
do so, though, and doing so unnecessarily can limit optimization.
814+
815+
When writing a single inline assembly statement containing multiple
816+
instructions, put each instruction on a separate line in a separate quoted
817+
string, and end each string except the last with \n\t to properly indent the
818+
next instruction in the assembly output:
819+
820+
asm ("magic %reg1, #42\n\t"
821+
"more_magic %reg2, %reg3"
822+
: /* outputs */ : /* inputs */ : /* clobbers */);
823+
824+
796825

797826
Appendix I: References
798827

Documentation/DMA-attributes.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,21 @@ may be weakly ordered, that is that reads and writes may pass each other.
3131
Since it is optional for platforms to implement DMA_ATTR_WEAK_ORDERING,
3232
those that do not will simply ignore the attribute and exhibit default
3333
behavior.
34+
35+
DMA_ATTR_WRITE_COMBINE
36+
----------------------
37+
38+
DMA_ATTR_WRITE_COMBINE specifies that writes to the mapping may be
39+
buffered to improve performance.
40+
41+
Since it is optional for platforms to implement DMA_ATTR_WRITE_COMBINE,
42+
those that do not will simply ignore the attribute and exhibit default
43+
behavior.
44+
45+
DMA_ATTR_NON_CONSISTENT
46+
-----------------------
47+
48+
DMA_ATTR_NON_CONSISTENT lets the platform to choose to return either
49+
consistent or non-consistent memory as it sees fit. By using this API,
50+
you are guaranteeing to the platform that you have all the correct and
51+
necessary sync points for this memory in the driver.

Documentation/DocBook/device-drivers.tmpl

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,4 +446,21 @@ X!Idrivers/video/console/fonts.c
446446
!Edrivers/i2c/i2c-core.c
447447
</chapter>
448448

449+
<chapter id="hsi">
450+
<title>High Speed Synchronous Serial Interface (HSI)</title>
451+
452+
<para>
453+
High Speed Synchronous Serial Interface (HSI) is a
454+
serial interface mainly used for connecting application
455+
engines (APE) with cellular modem engines (CMT) in cellular
456+
handsets.
457+
458+
HSI provides multiplexing for up to 16 logical channels,
459+
low-latency and full duplex communication.
460+
</para>
461+
462+
!Iinclude/linux/hsi/hsi.h
463+
!Edrivers/hsi/hsi.c
464+
</chapter>
465+
449466
</book>

Documentation/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
obj-m := DocBook/ accounting/ auxdisplay/ connector/ \
22
filesystems/ filesystems/configfs/ ia64/ laptops/ networking/ \
3-
pcmcia/ spi/ timers/ vm/ watchdog/src/
3+
pcmcia/ spi/ timers/ watchdog/src/

Documentation/acpi/apei/einj.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@ directory apei/einj. The following files are provided.
5353
This file is used to set the second error parameter value. Effect of
5454
parameter depends on error_type specified.
5555

56+
- notrigger
57+
The EINJ mechanism is a two step process. First inject the error, then
58+
perform some actions to trigger it. Setting "notrigger" to 1 skips the
59+
trigger phase, which *may* allow the user to cause the error in some other
60+
context by a simple access to the cpu, memory location, or device that is
61+
the target of the error injection. Whether this actually works depends
62+
on what operations the BIOS actually includes in the trigger phase.
63+
5664
BIOS versions based in the ACPI 4.0 specification have limited options
5765
to control where the errors are injected. Your BIOS may support an
5866
extension (enabled with the param_extension=1 module parameter, or

Documentation/aoe/aoe.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ CREATING DEVICE NODES
3535
sh Documentation/aoe/mkshelf.sh /dev/etherd 0
3636

3737
There is also an autoload script that shows how to edit
38-
/etc/modprobe.conf to ensure that the aoe module is loaded when
38+
/etc/modprobe.d/aoe.conf to ensure that the aoe module is loaded when
3939
necessary.
4040

4141
USING DEVICE NODES

Documentation/aoe/autoload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22
# set aoe to autoload by installing the
3-
# aliases in /etc/modprobe.conf
3+
# aliases in /etc/modprobe.d/
44

5-
f=/etc/modprobe.conf
5+
f=/etc/modprobe.d/aoe.conf
66

77
if test ! -r $f || test ! -w $f; then
88
echo "cannot configure $f for module autoloading" 1>&2

Documentation/blockdev/floppy.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ you can put:
4949

5050
options floppy omnibook messages
5151

52-
in /etc/modprobe.conf.
52+
in a configuration file in /etc/modprobe.d/.
5353

5454

5555
The floppy driver related options are:

Documentation/cgroups/cpusets.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ and name space for cpusets, with a minimum of additional kernel code.
217217

218218
The cpus and mems files in the root (top_cpuset) cpuset are
219219
read-only. The cpus file automatically tracks the value of
220-
cpu_online_map using a CPU hotplug notifier, and the mems file
220+
cpu_online_mask using a CPU hotplug notifier, and the mems file
221221
automatically tracks the value of node_states[N_HIGH_MEMORY]--i.e.,
222222
nodes with memory--using the cpuset_track_online_nodes() hook.
223223

0 commit comments

Comments
 (0)