Skip to content

Commit 42cbe82

Browse files
author
Russell King
committed
Merge branches 'fixes', 'mmci' and 'sa11x0' into for-next
4 parents df762ec + 6ecf830 + 1ff4443 + f3964fe commit 42cbe82

16 files changed

Lines changed: 98 additions & 106 deletions

File tree

‎arch/arm/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,6 @@ config ARCH_SA1100
696696
select GENERIC_CLOCKEVENTS
697697
select HAVE_IDE
698698
select ISA
699-
select NEED_MACH_GPIO_H
700699
select NEED_MACH_MEMORY_H
701700
select SPARSE_IRQ
702701
help

‎arch/arm/configs/h3600_defconfig‎

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
CONFIG_EXPERIMENTAL=y
21
CONFIG_SYSVIPC=y
2+
CONFIG_NO_HZ_IDLE=y
3+
CONFIG_HIGH_RES_TIMERS=y
34
CONFIG_LOG_BUF_SHIFT=14
45
CONFIG_BLK_DEV_INITRD=y
56
CONFIG_MODULES=y
@@ -11,11 +12,11 @@ CONFIG_ARCH_SA1100=y
1112
CONFIG_SA1100_H3600=y
1213
CONFIG_PCCARD=y
1314
CONFIG_PCMCIA_SA1100=y
15+
CONFIG_PREEMPT=y
1416
CONFIG_ZBOOT_ROM_TEXT=0x0
1517
CONFIG_ZBOOT_ROM_BSS=0x0
1618
# CONFIG_CPU_FREQ_STAT is not set
1719
CONFIG_FPE_NWFPE=y
18-
CONFIG_PM=y
1920
CONFIG_NET=y
2021
CONFIG_UNIX=y
2122
CONFIG_INET=y
@@ -24,13 +25,10 @@ CONFIG_IRDA=m
2425
CONFIG_IRLAN=m
2526
CONFIG_IRNET=m
2627
CONFIG_IRCOMM=m
27-
CONFIG_SA1100_FIR=m
2828
# CONFIG_WIRELESS is not set
2929
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
3030
CONFIG_MTD=y
31-
CONFIG_MTD_PARTITIONS=y
3231
CONFIG_MTD_REDBOOT_PARTS=y
33-
CONFIG_MTD_CHAR=y
3432
CONFIG_MTD_BLOCK=y
3533
CONFIG_MTD_CFI=y
3634
CONFIG_MTD_CFI_ADV_OPTIONS=y
@@ -41,19 +39,15 @@ CONFIG_MTD_SA1100=y
4139
CONFIG_BLK_DEV_LOOP=m
4240
CONFIG_BLK_DEV_RAM=y
4341
CONFIG_BLK_DEV_RAM_SIZE=8192
44-
# CONFIG_MISC_DEVICES is not set
4542
CONFIG_IDE=y
4643
CONFIG_BLK_DEV_IDECS=y
4744
CONFIG_NETDEVICES=y
48-
# CONFIG_NETDEV_1000 is not set
49-
# CONFIG_NETDEV_10000 is not set
50-
# CONFIG_WLAN is not set
51-
CONFIG_NET_PCMCIA=y
5245
CONFIG_PCMCIA_PCNET=y
5346
CONFIG_PPP=m
54-
CONFIG_PPP_ASYNC=m
55-
CONFIG_PPP_DEFLATE=m
5647
CONFIG_PPP_BSDCOMP=m
48+
CONFIG_PPP_DEFLATE=m
49+
CONFIG_PPP_ASYNC=m
50+
# CONFIG_WLAN is not set
5751
# CONFIG_KEYBOARD_ATKBD is not set
5852
CONFIG_KEYBOARD_GPIO=y
5953
# CONFIG_INPUT_MOUSE is not set
@@ -64,8 +58,6 @@ CONFIG_SERIAL_SA1100_CONSOLE=y
6458
# CONFIG_HWMON is not set
6559
CONFIG_FB=y
6660
CONFIG_FB_SA1100=y
67-
# CONFIG_VGA_CONSOLE is not set
68-
# CONFIG_HID_SUPPORT is not set
6961
# CONFIG_USB_SUPPORT is not set
7062
CONFIG_EXT2_FS=y
7163
CONFIG_MSDOS_FS=m
@@ -74,6 +66,4 @@ CONFIG_JFFS2_FS=y
7466
CONFIG_CRAMFS=m
7567
CONFIG_NFS_FS=y
7668
CONFIG_NFSD=m
77-
CONFIG_SMB_FS=m
7869
CONFIG_NLS=y
79-
# CONFIG_RCU_CPU_STALL_DETECTOR is not set

‎arch/arm/kernel/entry-armv.S‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ __dabt_svc:
192192
svc_entry
193193
mov r2, sp
194194
dabt_helper
195+
THUMB( ldr r5, [sp, #S_PSR] ) @ potentially updated CPSR
195196
svc_exit r5 @ return from exception
196197
UNWIND(.fnend )
197198
ENDPROC(__dabt_svc)

‎arch/arm/kernel/signal.c‎

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,12 +353,18 @@ setup_return(struct pt_regs *regs, struct ksignal *ksig,
353353
*/
354354
thumb = handler & 1;
355355

356-
if (thumb) {
357-
cpsr |= PSR_T_BIT;
358356
#if __LINUX_ARM_ARCH__ >= 7
359-
/* clear the If-Then Thumb-2 execution state */
360-
cpsr &= ~PSR_IT_MASK;
357+
/*
358+
* Clear the If-Then Thumb-2 execution state
359+
* ARM spec requires this to be all 000s in ARM mode
360+
* Snapdragon S4/Krait misbehaves on a Thumb=>ARM
361+
* signal transition without this.
362+
*/
363+
cpsr &= ~PSR_IT_MASK;
361364
#endif
365+
366+
if (thumb) {
367+
cpsr |= PSR_T_BIT;
362368
} else
363369
cpsr &= ~PSR_T_BIT;
364370
}

‎arch/arm/mach-highbank/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ config ARCH_HIGHBANK
99
select ARM_AMBA
1010
select ARM_ERRATA_764369
1111
select ARM_ERRATA_775420
12-
select ARM_ERRATA_798181
12+
select ARM_ERRATA_798181 if SMP
1313
select ARM_GIC
1414
select ARM_TIMER_SP804
1515
select CACHE_L2X0

‎arch/arm/mach-sa1100/assabet.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,9 @@ static void __init assabet_map_io(void)
512512
* Its called GPCLKR0 in my SA1110 manual.
513513
*/
514514
Ser1SDCR0 |= SDCR0_SUS;
515+
MSC1 = (MSC1 & ~0xffff) |
516+
MSC_NonBrst | MSC_32BitStMem |
517+
MSC_RdAcc(2) | MSC_WrAcc(2) | MSC_Rec(0);
515518

516519
if (!machine_has_neponset())
517520
sa1100_register_uart_fns(&assabet_port_fns);

‎arch/arm/mach-sa1100/include/mach/gpio.h‎

Lines changed: 0 additions & 55 deletions
This file was deleted.

‎arch/arm/mach-sa1100/include/mach/h3xxx.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#ifndef _INCLUDE_H3XXX_H_
1414
#define _INCLUDE_H3XXX_H_
1515

16+
#include "hardware.h" /* Gives GPIO_MAX */
17+
1618
/* Physical memory regions corresponding to chip selects */
1719
#define H3600_EGPIO_PHYS (SA1100_CS5_PHYS + 0x01000000)
1820
#define H3600_BANK_2_PHYS SA1100_CS2_PHYS

‎arch/arm/mach-sa1100/simpad.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
#include <mach/hardware.h>
2121
#include <asm/setup.h>
22+
#include <asm/irq.h>
2223

2324
#include <asm/mach-types.h>
2425
#include <asm/mach/arch.h>

‎arch/arm/mach-tegra/Kconfig‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ config ARCH_TEGRA_3x_SOC
5454
config ARCH_TEGRA_114_SOC
5555
bool "Enable support for Tegra114 family"
5656
select HAVE_ARM_ARCH_TIMER
57-
select ARM_ERRATA_798181
57+
select ARM_ERRATA_798181 if SMP
5858
select ARM_L1_CACHE_SHIFT_6
5959
select PINCTRL_TEGRA114
6060
help

0 commit comments

Comments
 (0)