Skip to content

Commit e12fe68

Browse files
committed
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
2 parents 7329f0d + 712ae51 commit e12fe68

305 files changed

Lines changed: 2759 additions & 1685 deletions

File tree

Some content is hidden

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

‎Documentation/power/devices.txt‎

Lines changed: 14 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -520,59 +520,20 @@ Support for power domains is provided through the pwr_domain field of struct
520520
device. This field is a pointer to an object of type struct dev_power_domain,
521521
defined in include/linux/pm.h, providing a set of power management callbacks
522522
analogous to the subsystem-level and device driver callbacks that are executed
523-
for the given device during all power transitions, in addition to the respective
524-
subsystem-level callbacks. Specifically, the power domain "suspend" callbacks
525-
(i.e. ->runtime_suspend(), ->suspend(), ->freeze(), ->poweroff(), etc.) are
526-
executed after the analogous subsystem-level callbacks, while the power domain
527-
"resume" callbacks (i.e. ->runtime_resume(), ->resume(), ->thaw(), ->restore,
528-
etc.) are executed before the analogous subsystem-level callbacks. Error codes
529-
returned by the "suspend" and "resume" power domain callbacks are ignored.
530-
531-
Power domain ->runtime_idle() callback is executed before the subsystem-level
532-
->runtime_idle() callback and the result returned by it is not ignored. Namely,
533-
if it returns error code, the subsystem-level ->runtime_idle() callback will not
534-
be called and the helper function rpm_idle() executing it will return error
535-
code. This mechanism is intended to help platforms where saving device state
536-
is a time consuming operation and should only be carried out if all devices
537-
in the power domain are idle, before turning off the shared power resource(s).
538-
Namely, the power domain ->runtime_idle() callback may return error code until
539-
the pm_runtime_idle() helper (or its asychronous version) has been called for
540-
all devices in the power domain (it is recommended that the returned error code
541-
be -EBUSY in those cases), preventing the subsystem-level ->runtime_idle()
542-
callback from being run prematurely.
543-
544-
The support for device power domains is only relevant to platforms needing to
545-
use the same subsystem-level (e.g. platform bus type) and device driver power
546-
management callbacks in many different power domain configurations and wanting
547-
to avoid incorporating the support for power domains into the subsystem-level
548-
callbacks. The other platforms need not implement it or take it into account
549-
in any way.
550-
551-
552-
System Devices
553-
--------------
554-
System devices (sysdevs) follow a slightly different API, which can be found in
555-
556-
include/linux/sysdev.h
557-
drivers/base/sys.c
558-
559-
System devices will be suspended with interrupts disabled, and after all other
560-
devices have been suspended. On resume, they will be resumed before any other
561-
devices, and also with interrupts disabled. These things occur in special
562-
"sysdev_driver" phases, which affect only system devices.
563-
564-
Thus, after the suspend_noirq (or freeze_noirq or poweroff_noirq) phase, when
565-
the non-boot CPUs are all offline and IRQs are disabled on the remaining online
566-
CPU, then a sysdev_driver.suspend phase is carried out, and the system enters a
567-
sleep state (or a system image is created). During resume (or after the image
568-
has been created or loaded) a sysdev_driver.resume phase is carried out, IRQs
569-
are enabled on the only online CPU, the non-boot CPUs are enabled, and the
570-
resume_noirq (or thaw_noirq or restore_noirq) phase begins.
571-
572-
Code to actually enter and exit the system-wide low power state sometimes
573-
involves hardware details that are only known to the boot firmware, and
574-
may leave a CPU running software (from SRAM or flash memory) that monitors
575-
the system and manages its wakeup sequence.
523+
for the given device during all power transitions, instead of the respective
524+
subsystem-level callbacks. Specifically, if a device's pm_domain pointer is
525+
not NULL, the ->suspend() callback from the object pointed to by it will be
526+
executed instead of its subsystem's (e.g. bus type's) ->suspend() callback and
527+
anlogously for all of the remaining callbacks. In other words, power management
528+
domain callbacks, if defined for the given device, always take precedence over
529+
the callbacks provided by the device's subsystem (e.g. bus type).
530+
531+
The support for device power management domains is only relevant to platforms
532+
needing to use the same device driver power management callbacks in many
533+
different power domain configurations and wanting to avoid incorporating the
534+
support for power domains into subsystem-level callbacks, for example by
535+
modifying the platform bus type. Other platforms need not implement it or take
536+
it into account in any way.
576537

577538

578539
Device Low Power (suspend) States

‎Documentation/power/runtime_pm.txt‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -566,11 +566,6 @@ to do this is:
566566
pm_runtime_set_active(dev);
567567
pm_runtime_enable(dev);
568568

569-
The PM core always increments the run-time usage counter before calling the
570-
->prepare() callback and decrements it after calling the ->complete() callback.
571-
Hence disabling run-time PM temporarily like this will not cause any run-time
572-
suspend callbacks to be lost.
573-
574569
7. Generic subsystem callbacks
575570

576571
Subsystems may wish to conserve code space by using the set of generic power

‎Documentation/usb/error-codes.txt‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ A transfer's actual_length may be positive even when an error has been
7676
reported. That's because transfers often involve several packets, so that
7777
one or more packets could finish before an error stops further endpoint I/O.
7878

79+
For isochronous URBs, the urb status value is non-zero only if the URB is
80+
unlinked, the device is removed, the host controller is disabled, or the total
81+
transferred length is less than the requested length and the URB_SHORT_NOT_OK
82+
flag is set. Completion handlers for isochronous URBs should only see
83+
urb->status set to zero, -ENOENT, -ECONNRESET, -ESHUTDOWN, or -EREMOTEIO.
84+
Individual frame descriptor status fields may report more status codes.
85+
7986

8087
0 Transfer completed successfully
8188

@@ -132,7 +139,7 @@ one or more packets could finish before an error stops further endpoint I/O.
132139
device removal events immediately.
133140

134141
-EXDEV ISO transfer only partially completed
135-
look at individual frame status for details
142+
(only set in iso_frame_desc[n].status, not urb->status)
136143

137144
-EINVAL ISO madness, if this happens: Log off and go home
138145

‎MAINTAINERS‎

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,16 +1345,18 @@ F: drivers/auxdisplay/
13451345
F: include/linux/cfag12864b.h
13461346

13471347
AVR32 ARCHITECTURE
1348-
M: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
1348+
M: Haavard Skinnemoen <hskinnemoen@gmail.com>
1349+
M: Hans-Christian Egtvedt <egtvedt@samfundet.no>
13491350
W: http://www.atmel.com/products/AVR32/
13501351
W: http://avr32linux.org/
13511352
W: http://avrfreaks.net/
1352-
S: Supported
1353+
S: Maintained
13531354
F: arch/avr32/
13541355

13551356
AVR32/AT32AP MACHINE SUPPORT
1356-
M: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
1357-
S: Supported
1357+
M: Haavard Skinnemoen <hskinnemoen@gmail.com>
1358+
M: Hans-Christian Egtvedt <egtvedt@samfundet.no>
1359+
S: Maintained
13581360
F: arch/avr32/mach-at32ap/
13591361

13601362
AX.25 NETWORK LAYER
@@ -1390,7 +1392,6 @@ F: include/linux/backlight.h
13901392
BATMAN ADVANCED
13911393
M: Marek Lindner <lindner_marek@yahoo.de>
13921394
M: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
1393-
M: Sven Eckelmann <sven@narfation.org>
13941395
L: b.a.t.m.a.n@lists.open-mesh.org
13951396
W: http://www.open-mesh.org/
13961397
S: Maintained
@@ -1423,7 +1424,6 @@ S: Supported
14231424
F: arch/blackfin/
14241425

14251426
BLACKFIN EMAC DRIVER
1426-
M: Michael Hennerich <michael.hennerich@analog.com>
14271427
L: uclinux-dist-devel@blackfin.uclinux.org
14281428
W: http://blackfin.uclinux.org
14291429
S: Supported
@@ -1639,7 +1639,7 @@ CAN NETWORK LAYER
16391639
M: Oliver Hartkopp <socketcan@hartkopp.net>
16401640
M: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
16411641
M: Urs Thuermann <urs.thuermann@volkswagen.de>
1642-
L: socketcan-core@lists.berlios.de
1642+
L: socketcan-core@lists.berlios.de (subscribers-only)
16431643
L: netdev@vger.kernel.org
16441644
W: http://developer.berlios.de/projects/socketcan/
16451645
S: Maintained
@@ -1651,7 +1651,7 @@ F: include/linux/can/raw.h
16511651

16521652
CAN NETWORK DRIVERS
16531653
M: Wolfgang Grandegger <wg@grandegger.com>
1654-
L: socketcan-core@lists.berlios.de
1654+
L: socketcan-core@lists.berlios.de (subscribers-only)
16551655
L: netdev@vger.kernel.org
16561656
W: http://developer.berlios.de/projects/socketcan/
16571657
S: Maintained
@@ -5181,6 +5181,7 @@ S: Supported
51815181
F: drivers/net/qlcnic/
51825182

51835183
QLOGIC QLGE 10Gb ETHERNET DRIVER
5184+
M: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
51845185
M: Ron Mercer <ron.mercer@qlogic.com>
51855186
M: linux-driver@qlogic.com
51865187
L: netdev@vger.kernel.org
@@ -6434,8 +6435,9 @@ S: Maintained
64346435
F: drivers/usb/misc/rio500*
64356436

64366437
USB EHCI DRIVER
6438+
M: Alan Stern <stern@rowland.harvard.edu>
64376439
L: linux-usb@vger.kernel.org
6438-
S: Orphan
6440+
S: Maintained
64396441
F: Documentation/usb/ehci.txt
64406442
F: drivers/usb/host/ehci*
64416443

@@ -6465,6 +6467,12 @@ S: Maintained
64656467
F: Documentation/hid/hiddev.txt
64666468
F: drivers/hid/usbhid/
64676469

6470+
USB/IP DRIVERS
6471+
M: Matt Mooney <mfm@muteddisk.com>
6472+
L: linux-usb@vger.kernel.org
6473+
S: Maintained
6474+
F: drivers/staging/usbip/
6475+
64686476
USB ISP116X DRIVER
64696477
M: Olav Kongas <ok@artecdesign.ee>
64706478
L: linux-usb@vger.kernel.org
@@ -6494,8 +6502,9 @@ S: Maintained
64946502
F: sound/usb/midi.*
64956503

64966504
USB OHCI DRIVER
6505+
M: Alan Stern <stern@rowland.harvard.edu>
64976506
L: linux-usb@vger.kernel.org
6498-
S: Orphan
6507+
S: Maintained
64996508
F: Documentation/usb/ohci.txt
65006509
F: drivers/usb/host/ohci*
65016510

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 3
22
PATCHLEVEL = 0
33
SUBLEVEL = 0
4-
EXTRAVERSION = -rc4
4+
EXTRAVERSION = -rc5
55
NAME = Sneaky Weasel
66

77
# *DOCUMENTATION*

‎arch/alpha/include/asm/mmzone.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ PLAT_NODE_DATA_LOCALNR(unsigned long p, int n)
5656
* Given a kernel address, find the home node of the underlying memory.
5757
*/
5858
#define kvaddr_to_nid(kaddr) pa_to_nid(__pa(kaddr))
59-
#define node_start_pfn(nid) (NODE_DATA(nid)->node_start_pfn)
6059

6160
/*
6261
* Given a kaddr, LOCAL_BASE_ADDR finds the owning node of the memory

‎arch/arm/boot/compressed/head.S‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,8 @@ __common_mmu_cache_on:
597597
sub pc, lr, r0, lsr #32 @ properly flush pipeline
598598
#endif
599599

600+
#define PROC_ENTRY_SIZE (4*5)
601+
600602
/*
601603
* Here follow the relocatable cache support functions for the
602604
* various processors. This is a generic hook for locating an
@@ -624,7 +626,7 @@ call_cache_fn: adr r12, proc_types
624626
ARM( addeq pc, r12, r3 ) @ call cache function
625627
THUMB( addeq r12, r3 )
626628
THUMB( moveq pc, r12 ) @ call cache function
627-
add r12, r12, #4*5
629+
add r12, r12, #PROC_ENTRY_SIZE
628630
b 1b
629631

630632
/*
@@ -794,6 +796,16 @@ proc_types:
794796

795797
.size proc_types, . - proc_types
796798

799+
/*
800+
* If you get a "non-constant expression in ".if" statement"
801+
* error from the assembler on this line, check that you have
802+
* not accidentally written a "b" instruction where you should
803+
* have written W(b).
804+
*/
805+
.if (. - proc_types) % PROC_ENTRY_SIZE != 0
806+
.error "The size of one or more proc_types entries is wrong."
807+
.endif
808+
797809
/*
798810
* Turn off the Cache and MMU. ARMv3 does not support
799811
* reading the control register, but ARMv4 does.

‎arch/arm/include/asm/assembler.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
* Do not include any C declarations in this file - it is included by
1414
* assembler source.
1515
*/
16+
#ifndef __ASM_ASSEMBLER_H__
17+
#define __ASM_ASSEMBLER_H__
18+
1619
#ifndef __ASSEMBLY__
1720
#error "Only include this from assembly code"
1821
#endif
@@ -290,3 +293,4 @@
290293
.macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f
291294
usracc ldr, \reg, \ptr, \inc, \cond, \rept, \abort
292295
.endm
296+
#endif /* __ASM_ASSEMBLER_H__ */

‎arch/arm/include/asm/entry-macro-multi.S‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#include <asm/assembler.h>
2+
13
/*
24
* Interrupt handling. Preserves r7, r8, r9
35
*/

‎arch/arm/kernel/module.c‎

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,17 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
193193
offset -= 0x02000000;
194194
offset += sym->st_value - loc;
195195

196-
/* only Thumb addresses allowed (no interworking) */
197-
if (!(offset & 1) ||
196+
/*
197+
* For function symbols, only Thumb addresses are
198+
* allowed (no interworking).
199+
*
200+
* For non-function symbols, the destination
201+
* has no specific ARM/Thumb disposition, so
202+
* the branch is resolved under the assumption
203+
* that interworking is not required.
204+
*/
205+
if ((ELF32_ST_TYPE(sym->st_info) == STT_FUNC &&
206+
!(offset & 1)) ||
198207
offset <= (s32)0xff000000 ||
199208
offset >= (s32)0x01000000) {
200209
pr_err("%s: section %u reloc %u sym '%s': relocation %u out of range (%#lx -> %#x)\n",

0 commit comments

Comments
 (0)