Skip to content

Commit e4ddcb0

Browse files
committed
Merge commit 'v2.6.27-rc1' into for-linus
2 parents f2afa77 + 6e86841 commit e4ddcb0

File tree

4,090 files changed

+185407
-110763
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,090 files changed

+185407
-110763
lines changed

CREDITS

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,14 @@ S: 2322 37th Ave SW
317317
S: Seattle, Washington 98126-2010
318318
S: USA
319319

320+
N: Muli Ben-Yehuda
321+
E: mulix@mulix.org
322+
E: muli@il.ibm.com
323+
W: http://www.mulix.org
324+
D: trident OSS sound driver, x86-64 dma-ops and Calgary IOMMU,
325+
D: KVM and Xen bits and other misc. hackery.
326+
S: Haifa, Israel
327+
320328
N: Johannes Berg
321329
E: johannes@sipsolutions.net
322330
W: http://johannes.sipsolutions.net/
@@ -3344,8 +3352,7 @@ S: Spain
33443352
N: Linus Torvalds
33453353
E: torvalds@linux-foundation.org
33463354
D: Original kernel hacker
3347-
S: 12725 SW Millikan Way, Suite 400
3348-
S: Beaverton, Oregon 97005
3355+
S: Portland, Oregon 97005
33493356
S: USA
33503357

33513358
N: Marcelo Tosatti

Documentation/00-INDEX

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,6 @@ telephony/
361361
- directory with info on telephony (e.g. voice over IP) support.
362362
time_interpolators.txt
363363
- info on time interpolators.
364-
tipar.txt
365-
- information about Parallel link cable for Texas Instruments handhelds.
366364
tty.txt
367365
- guide to the locking policies of the tty layer.
368366
uml/
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
What: /sys/dev
2+
Date: April 2008
3+
KernelVersion: 2.6.26
4+
Contact: Dan Williams <dan.j.williams@intel.com>
5+
Description: The /sys/dev tree provides a method to look up the sysfs
6+
path for a device using the information returned from
7+
stat(2). There are two directories, 'block' and 'char',
8+
beneath /sys/dev containing symbolic links with names of
9+
the form "<major>:<minor>". These links point to the
10+
corresponding sysfs path for the given device.
11+
12+
Example:
13+
$ readlink /sys/dev/block/8:32
14+
../../block/sdc
15+
16+
Entries in /sys/dev/char and /sys/dev/block will be
17+
dynamically created and destroyed as devices enter and
18+
leave the system.
19+
20+
Users: mdadm <linux-raid@vger.kernel.org>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
What: /sys/devices/system/memory
2+
Date: June 2008
3+
Contact: Badari Pulavarty <pbadari@us.ibm.com>
4+
Description:
5+
The /sys/devices/system/memory contains a snapshot of the
6+
internal state of the kernel memory blocks. Files could be
7+
added or removed dynamically to represent hot-add/remove
8+
operations.
9+
10+
Users: hotplug memory add/remove tools
11+
https://w3.opensource.ibm.com/projects/powerpc-utils/
12+
13+
What: /sys/devices/system/memory/memoryX/removable
14+
Date: June 2008
15+
Contact: Badari Pulavarty <pbadari@us.ibm.com>
16+
Description:
17+
The file /sys/devices/system/memory/memoryX/removable
18+
indicates whether this memory block is removable or not.
19+
This is useful for a user-level agent to determine
20+
identify removable sections of the memory before attempting
21+
potentially expensive hot-remove memory operation
22+
23+
Users: hotplug memory remove tools
24+
https://w3.opensource.ibm.com/projects/powerpc-utils/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
What: /sys/kernel/mm
2+
Date: July 2008
3+
Contact: Nishanth Aravamudan <nacc@us.ibm.com>, VM maintainers
4+
Description:
5+
/sys/kernel/mm/ should contain any and all VM
6+
related information in /sys/kernel/.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
What: /sys/kernel/mm/hugepages/
2+
Date: June 2008
3+
Contact: Nishanth Aravamudan <nacc@us.ibm.com>, hugetlb maintainers
4+
Description:
5+
/sys/kernel/mm/hugepages/ contains a number of subdirectories
6+
of the form hugepages-<size>kB, where <size> is the page size
7+
of the hugepages supported by the kernel/CPU combination.
8+
9+
Under these directories are a number of files:
10+
nr_hugepages
11+
nr_overcommit_hugepages
12+
free_hugepages
13+
surplus_hugepages
14+
resv_hugepages
15+
See Documentation/vm/hugetlbpage.txt for details.

Documentation/CodingStyle

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -474,25 +474,29 @@ make a good program).
474474
So, you can either get rid of GNU emacs, or change it to use saner
475475
values. To do the latter, you can stick the following in your .emacs file:
476476

477-
(defun linux-c-mode ()
478-
"C mode with adjusted defaults for use with the Linux kernel."
479-
(interactive)
480-
(c-mode)
481-
(c-set-style "K&R")
482-
(setq tab-width 8)
483-
(setq indent-tabs-mode t)
484-
(setq c-basic-offset 8))
485-
486-
This will define the M-x linux-c-mode command. When hacking on a
487-
module, if you put the string -*- linux-c -*- somewhere on the first
488-
two lines, this mode will be automatically invoked. Also, you may want
489-
to add
490-
491-
(setq auto-mode-alist (cons '("/usr/src/linux.*/.*\\.[ch]$" . linux-c-mode)
492-
auto-mode-alist))
493-
494-
to your .emacs file if you want to have linux-c-mode switched on
495-
automagically when you edit source files under /usr/src/linux.
477+
(defun c-lineup-arglist-tabs-only (ignored)
478+
"Line up argument lists by tabs, not spaces"
479+
(let* ((anchor (c-langelem-pos c-syntactic-element))
480+
(column (c-langelem-2nd-pos c-syntactic-element))
481+
(offset (- (1+ column) anchor))
482+
(steps (floor offset c-basic-offset)))
483+
(* (max steps 1)
484+
c-basic-offset)))
485+
486+
(add-hook 'c-mode-hook
487+
(lambda ()
488+
(let ((filename (buffer-file-name)))
489+
;; Enable kernel mode for the appropriate files
490+
(when (and filename
491+
(string-match "~/src/linux-trees" filename))
492+
(setq indent-tabs-mode t)
493+
(c-set-style "linux")
494+
(c-set-offset 'arglist-cont-nonempty
495+
'(c-lineup-gcc-asm-reg
496+
c-lineup-arglist-tabs-only))))))
497+
498+
This will make emacs go better with the kernel coding style for C
499+
files below ~/src/linux-trees.
496500

497501
But even if you fail in getting emacs to do sane formatting, not
498502
everything is lost: use "indent".

Documentation/DMA-API.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,10 +298,10 @@ recommended that you never use these unless you really know what the
298298
cache width is.
299299

300300
int
301-
dma_mapping_error(dma_addr_t dma_addr)
301+
dma_mapping_error(struct device *dev, dma_addr_t dma_addr)
302302

303303
int
304-
pci_dma_mapping_error(dma_addr_t dma_addr)
304+
pci_dma_mapping_error(struct pci_dev *hwdev, dma_addr_t dma_addr)
305305

306306
In some circumstances dma_map_single and dma_map_page will fail to create
307307
a mapping. A driver can check for these errors by testing the returned

Documentation/DMA-attributes.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,12 @@ ready and available in memory. The DMA of the "completion indication"
2222
could race with data DMA. Mapping the memory used for completion
2323
indications with DMA_ATTR_WRITE_BARRIER would prevent the race.
2424

25+
DMA_ATTR_WEAK_ORDERING
26+
----------------------
27+
28+
DMA_ATTR_WEAK_ORDERING specifies that reads and writes to the mapping
29+
may be weakly ordered, that is that reads and writes may pass each other.
30+
31+
Since it is optional for platforms to implement DMA_ATTR_WEAK_ORDERING,
32+
those that do not will simply ignore the attribute and exhibit default
33+
behavior.

Documentation/DocBook/gadget.tmpl

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,44 @@ These utilities include endpoint autoconfiguration.
524524
<!-- !Edrivers/usb/gadget/epautoconf.c -->
525525
</sect1>
526526

527+
<sect1 id="composite"><title>Composite Device Framework</title>
528+
529+
<para>The core API is sufficient for writing drivers for composite
530+
USB devices (with more than one function in a given configuration),
531+
and also multi-configuration devices (also more than one function,
532+
but not necessarily sharing a given configuration).
533+
There is however an optional framework which makes it easier to
534+
reuse and combine functions.
535+
</para>
536+
537+
<para>Devices using this framework provide a <emphasis>struct
538+
usb_composite_driver</emphasis>, which in turn provides one or
539+
more <emphasis>struct usb_configuration</emphasis> instances.
540+
Each such configuration includes at least one
541+
<emphasis>struct usb_function</emphasis>, which packages a user
542+
visible role such as "network link" or "mass storage device".
543+
Management functions may also exist, such as "Device Firmware
544+
Upgrade".
545+
</para>
546+
547+
!Iinclude/linux/usb/composite.h
548+
!Edrivers/usb/gadget/composite.c
549+
550+
</sect1>
551+
552+
<sect1 id="functions"><title>Composite Device Functions</title>
553+
554+
<para>At this writing, a few of the current gadget drivers have
555+
been converted to this framework.
556+
Near-term plans include converting all of them, except for "gadgetfs".
557+
</para>
558+
559+
!Edrivers/usb/gadget/f_acm.c
560+
!Edrivers/usb/gadget/f_serial.c
561+
562+
</sect1>
563+
564+
527565
</chapter>
528566

529567
<chapter id="controllers"><title>Peripheral Controller Drivers</title>

0 commit comments

Comments
 (0)