Skip to content

Commit 7cd2541

Browse files
author
Ingo Molnar
committed
Merge commit 'v2.6.36-rc7' into perf/core
Conflicts: arch/x86/kernel/module.c Merge reason: Resolve the conflict, pick up fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
2 parents c62f981 + cb655d0 commit 7cd2541

359 files changed

Lines changed: 2601 additions & 1390 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.

‎CREDITS‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3554,12 +3554,12 @@ E: cvance@nai.com
35543554
D: portions of the Linux Security Module (LSM) framework and security modules
35553555

35563556
N: Petr Vandrovec
3557-
E: vandrove@vc.cvut.cz
3557+
E: petr@vandrovec.name
35583558
D: Small contributions to ncpfs
35593559
D: Matrox framebuffer driver
3560-
S: Chudenicka 8
3561-
S: 10200 Prague 10, Hostivar
3562-
S: Czech Republic
3560+
S: 21513 Conradia Ct
3561+
S: Cupertino, CA 95014
3562+
S: USA
35633563

35643564
N: Thibaut Varene
35653565
E: T-Bone@parisc-linux.org

‎MAINTAINERS‎

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,13 @@ W: http://www.fluff.org/ben/linux/
962962
S: Maintained
963963
F: arch/arm/mach-s3c6410/
964964

965+
ARM/S5P ARM ARCHITECTURES
966+
M: Kukjin Kim <kgene.kim@samsung.com>
967+
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
968+
L: linux-samsung-soc@vger.kernel.org (moderated for non-subscribers)
969+
S: Maintained
970+
F: arch/arm/mach-s5p*/
971+
965972
ARM/SHMOBILE ARM ARCHITECTURE
966973
M: Paul Mundt <lethal@linux-sh.org>
967974
M: Magnus Damm <magnus.damm@gmail.com>
@@ -1220,15 +1227,15 @@ F: drivers/auxdisplay/
12201227
F: include/linux/cfag12864b.h
12211228

12221229
AVR32 ARCHITECTURE
1223-
M: Haavard Skinnemoen <hskinnemoen@atmel.com>
1230+
M: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
12241231
W: http://www.atmel.com/products/AVR32/
12251232
W: http://avr32linux.org/
12261233
W: http://avrfreaks.net/
12271234
S: Supported
12281235
F: arch/avr32/
12291236

12301237
AVR32/AT32AP MACHINE SUPPORT
1231-
M: Haavard Skinnemoen <hskinnemoen@atmel.com>
1238+
M: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
12321239
S: Supported
12331240
F: arch/avr32/mach-at32ap/
12341241

@@ -2199,6 +2206,12 @@ W: http://acpi4asus.sf.net
21992206
S: Maintained
22002207
F: drivers/platform/x86/eeepc-laptop.c
22012208

2209+
EFIFB FRAMEBUFFER DRIVER
2210+
L: linux-fbdev@vger.kernel.org
2211+
M: Peter Jones <pjones@redhat.com>
2212+
S: Maintained
2213+
F: drivers/video/efifb.c
2214+
22022215
EFS FILESYSTEM
22032216
W: http://aeschi.ch.eu.org/efs/
22042217
S: Orphan
@@ -2662,6 +2675,8 @@ M: Guenter Roeck <guenter.roeck@ericsson.com>
26622675
L: lm-sensors@lm-sensors.org
26632676
W: http://www.lm-sensors.org/
26642677
T: quilt kernel.org/pub/linux/kernel/people/jdelvare/linux-2.6/jdelvare-hwmon/
2678+
T: quilt kernel.org/pub/linux/kernel/people/groeck/linux-staging/
2679+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git
26652680
S: Maintained
26662681
F: Documentation/hwmon/
26672682
F: drivers/hwmon/
@@ -3773,9 +3788,8 @@ W: http://www.syskonnect.com
37733788
S: Supported
37743789

37753790
MATROX FRAMEBUFFER DRIVER
3776-
M: Petr Vandrovec <vandrove@vc.cvut.cz>
37773791
L: linux-fbdev@vger.kernel.org
3778-
S: Maintained
3792+
S: Orphan
37793793
F: drivers/video/matrox/matroxfb_*
37803794
F: include/linux/matroxfb.h
37813795

@@ -3899,10 +3913,8 @@ F: Documentation/serial/moxa-smartio
38993913
F: drivers/char/mxser.*
39003914

39013915
MSI LAPTOP SUPPORT
3902-
M: Lennart Poettering <mzxreary@0pointer.de>
3916+
M: Lee, Chun-Yi <jlee@novell.com>
39033917
L: platform-driver-x86@vger.kernel.org
3904-
W: https://tango.0pointer.de/mailman/listinfo/s270-linux
3905-
W: http://0pointer.de/lennart/tchibo.html
39063918
S: Maintained
39073919
F: drivers/platform/x86/msi-laptop.c
39083920

@@ -3919,8 +3931,10 @@ S: Supported
39193931
F: drivers/mfd/
39203932

39213933
MULTIMEDIA CARD (MMC), SECURE DIGITAL (SD) AND SDIO SUBSYSTEM
3922-
S: Orphan
3934+
M: Chris Ball <cjb@laptop.org>
39233935
L: linux-mmc@vger.kernel.org
3936+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git
3937+
S: Maintained
39243938
F: drivers/mmc/
39253939
F: include/linux/mmc/
39263940

@@ -3962,8 +3976,8 @@ S: Maintained
39623976
F: drivers/net/natsemi.c
39633977

39643978
NCP FILESYSTEM
3965-
M: Petr Vandrovec <vandrove@vc.cvut.cz>
3966-
S: Maintained
3979+
M: Petr Vandrovec <petr@vandrovec.name>
3980+
S: Odd Fixes
39673981
F: fs/ncpfs/
39683982

39693983
NCR DUAL 700 SCSI DRIVER (MICROCHANNEL)
@@ -5091,8 +5105,10 @@ S: Maintained
50915105
F: drivers/mmc/host/sdricoh_cs.c
50925106

50935107
SECURE DIGITAL HOST CONTROLLER INTERFACE (SDHCI) DRIVER
5094-
S: Orphan
5108+
M: Chris Ball <cjb@laptop.org>
50955109
L: linux-mmc@vger.kernel.org
5110+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc.git
5111+
S: Maintained
50965112
F: drivers/mmc/host/sdhci.*
50975113

50985114
SECURE DIGITAL HOST CONTROLLER INTERFACE, OPEN FIRMWARE BINDINGS (SDHCI-OF)

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
VERSION = 2
22
PATCHLEVEL = 6
33
SUBLEVEL = 36
4-
EXTRAVERSION = -rc5
4+
EXTRAVERSION = -rc7
55
NAME = Sheep on Meth
66

77
# *DOCUMENTATION*

‎arch/alpha/kernel/entry.S‎

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@
7373
ldq $20, HAE_REG($19); \
7474
stq $21, HAE_CACHE($19); \
7575
stq $21, 0($20); \
76-
ldq $0, 0($sp); \
77-
ldq $1, 8($sp); \
7876
99:; \
7977
ldq $19, 72($sp); \
8078
ldq $20, 80($sp); \
@@ -316,7 +314,7 @@ ret_from_sys_call:
316314
cmovne $26, 0, $19 /* $19 = 0 => non-restartable */
317315
ldq $0, SP_OFF($sp)
318316
and $0, 8, $0
319-
beq $0, restore_all
317+
beq $0, ret_to_kernel
320318
ret_to_user:
321319
/* Make sure need_resched and sigpending don't change between
322320
sampling and the rti. */
@@ -329,6 +327,11 @@ restore_all:
329327
RESTORE_ALL
330328
call_pal PAL_rti
331329

330+
ret_to_kernel:
331+
lda $16, 7
332+
call_pal PAL_swpipl
333+
br restore_all
334+
332335
.align 3
333336
$syscall_error:
334337
/*
@@ -657,7 +660,7 @@ kernel_thread:
657660
/* We don't actually care for a3 success widgetry in the kernel.
658661
Not for positive errno values. */
659662
stq $0, 0($sp) /* $0 */
660-
br restore_all
663+
br ret_to_kernel
661664
.end kernel_thread
662665

663666
/*
@@ -911,15 +914,6 @@ sys_execve:
911914
jmp $31, do_sys_execve
912915
.end sys_execve
913916

914-
.align 4
915-
.globl osf_sigprocmask
916-
.ent osf_sigprocmask
917-
osf_sigprocmask:
918-
.prologue 0
919-
mov $sp, $18
920-
jmp $31, sys_osf_sigprocmask
921-
.end osf_sigprocmask
922-
923917
.align 4
924918
.globl alpha_ni_syscall
925919
.ent alpha_ni_syscall

‎arch/alpha/kernel/process.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt, struct thread_info *ti)
356356
dest[27] = pt->r27;
357357
dest[28] = pt->r28;
358358
dest[29] = pt->gp;
359-
dest[30] = rdusp();
359+
dest[30] = ti == current_thread_info() ? rdusp() : ti->pcb.usp;
360360
dest[31] = pt->pc;
361361

362362
/* Once upon a time this was the PS value. Which is stupid

‎arch/alpha/kernel/signal.c‎

Lines changed: 15 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -41,46 +41,20 @@ static void do_signal(struct pt_regs *, struct switch_stack *,
4141
/*
4242
* The OSF/1 sigprocmask calling sequence is different from the
4343
* C sigprocmask() sequence..
44-
*
45-
* how:
46-
* 1 - SIG_BLOCK
47-
* 2 - SIG_UNBLOCK
48-
* 3 - SIG_SETMASK
49-
*
50-
* We change the range to -1 .. 1 in order to let gcc easily
51-
* use the conditional move instructions.
52-
*
53-
* Note that we don't need to acquire the kernel lock for SMP
54-
* operation, as all of this is local to this thread.
5544
*/
56-
SYSCALL_DEFINE3(osf_sigprocmask, int, how, unsigned long, newmask,
57-
struct pt_regs *, regs)
45+
SYSCALL_DEFINE2(osf_sigprocmask, int, how, unsigned long, newmask)
5846
{
59-
unsigned long oldmask = -EINVAL;
60-
61-
if ((unsigned long)how-1 <= 2) {
62-
long sign = how-2; /* -1 .. 1 */
63-
unsigned long block, unblock;
64-
65-
newmask &= _BLOCKABLE;
66-
spin_lock_irq(&current->sighand->siglock);
67-
oldmask = current->blocked.sig[0];
68-
69-
unblock = oldmask & ~newmask;
70-
block = oldmask | newmask;
71-
if (!sign)
72-
block = unblock;
73-
if (sign <= 0)
74-
newmask = block;
75-
if (_NSIG_WORDS > 1 && sign > 0)
76-
sigemptyset(&current->blocked);
77-
current->blocked.sig[0] = newmask;
78-
recalc_sigpending();
79-
spin_unlock_irq(&current->sighand->siglock);
80-
81-
regs->r0 = 0; /* special no error return */
47+
sigset_t oldmask;
48+
sigset_t mask;
49+
unsigned long res;
50+
51+
siginitset(&mask, newmask & _BLOCKABLE);
52+
res = sigprocmask(how, &mask, &oldmask);
53+
if (!res) {
54+
force_successful_syscall_return();
55+
res = oldmask.sig[0];
8256
}
83-
return oldmask;
57+
return res;
8458
}
8559

8660
SYSCALL_DEFINE3(osf_sigaction, int, sig,
@@ -94,9 +68,9 @@ SYSCALL_DEFINE3(osf_sigaction, int, sig,
9468
old_sigset_t mask;
9569
if (!access_ok(VERIFY_READ, act, sizeof(*act)) ||
9670
__get_user(new_ka.sa.sa_handler, &act->sa_handler) ||
97-
__get_user(new_ka.sa.sa_flags, &act->sa_flags))
71+
__get_user(new_ka.sa.sa_flags, &act->sa_flags) ||
72+
__get_user(mask, &act->sa_mask))
9873
return -EFAULT;
99-
__get_user(mask, &act->sa_mask);
10074
siginitset(&new_ka.sa.sa_mask, mask);
10175
new_ka.ka_restorer = NULL;
10276
}
@@ -106,9 +80,9 @@ SYSCALL_DEFINE3(osf_sigaction, int, sig,
10680
if (!ret && oact) {
10781
if (!access_ok(VERIFY_WRITE, oact, sizeof(*oact)) ||
10882
__put_user(old_ka.sa.sa_handler, &oact->sa_handler) ||
109-
__put_user(old_ka.sa.sa_flags, &oact->sa_flags))
83+
__put_user(old_ka.sa.sa_flags, &oact->sa_flags) ||
84+
__put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask))
11085
return -EFAULT;
111-
__put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask);
11286
}
11387

11488
return ret;

‎arch/alpha/kernel/systbls.S‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ sys_call_table:
5858
.quad sys_open /* 45 */
5959
.quad alpha_ni_syscall
6060
.quad sys_getxgid
61-
.quad osf_sigprocmask
61+
.quad sys_osf_sigprocmask
6262
.quad alpha_ni_syscall
6363
.quad alpha_ni_syscall /* 50 */
6464
.quad sys_acct

‎arch/arm/Kconfig‎

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ config ARCH_AT91
271271
bool "Atmel AT91"
272272
select ARCH_REQUIRE_GPIOLIB
273273
select HAVE_CLK
274-
select ARCH_USES_GETTIMEOFFSET
275274
help
276275
This enables support for systems based on the Atmel AT91RM9200,
277276
AT91SAM9 and AT91CAP9 processors.
@@ -1051,6 +1050,32 @@ config ARM_ERRATA_460075
10511050
ACTLR register. Note that setting specific bits in the ACTLR register
10521051
may not be available in non-secure mode.
10531052

1053+
config ARM_ERRATA_742230
1054+
bool "ARM errata: DMB operation may be faulty"
1055+
depends on CPU_V7 && SMP
1056+
help
1057+
This option enables the workaround for the 742230 Cortex-A9
1058+
(r1p0..r2p2) erratum. Under rare circumstances, a DMB instruction
1059+
between two write operations may not ensure the correct visibility
1060+
ordering of the two writes. This workaround sets a specific bit in
1061+
the diagnostic register of the Cortex-A9 which causes the DMB
1062+
instruction to behave as a DSB, ensuring the correct behaviour of
1063+
the two writes.
1064+
1065+
config ARM_ERRATA_742231
1066+
bool "ARM errata: Incorrect hazard handling in the SCU may lead to data corruption"
1067+
depends on CPU_V7 && SMP
1068+
help
1069+
This option enables the workaround for the 742231 Cortex-A9
1070+
(r2p0..r2p2) erratum. Under certain conditions, specific to the
1071+
Cortex-A9 MPCore micro-architecture, two CPUs working in SMP mode,
1072+
accessing some data located in the same cache line, may get corrupted
1073+
data due to bad handling of the address hazard when the line gets
1074+
replaced from one of the CPUs at the same time as another CPU is
1075+
accessing it. This workaround sets specific bits in the diagnostic
1076+
register of the Cortex-A9 which reduces the linefill issuing
1077+
capabilities of the processor.
1078+
10541079
config PL310_ERRATA_588369
10551080
bool "Clean & Invalidate maintenance operations do not invalidate clean lines"
10561081
depends on CACHE_L2X0 && ARCH_OMAP4

‎arch/arm/boot/compressed/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,5 @@ CFLAGS_font.o := -Dstatic=
116116
$(obj)/font.c: $(FONTC)
117117
$(call cmd,shipped)
118118

119-
$(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config
119+
$(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile $(KCONFIG_CONFIG)
120120
@sed "$(SEDFLAGS)" < $< > $@

‎arch/arm/common/it8152.c‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,14 @@ int dma_needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size)
271271
((dma_addr + size - PHYS_OFFSET) >= SZ_64M);
272272
}
273273

274+
int dma_set_coherent_mask(struct device *dev, u64 mask)
275+
{
276+
if (mask >= PHYS_OFFSET + SZ_64M - 1)
277+
return 0;
278+
279+
return -EIO;
280+
}
281+
274282
int __init it8152_pci_setup(int nr, struct pci_sys_data *sys)
275283
{
276284
it8152_io.start = IT8152_IO_BASE + 0x12000;

0 commit comments

Comments
 (0)