Skip to content

Commit ec19628

Browse files
author
Russell King
committed
Merge branches 'consolidate', 'ep93xx', 'fixes', 'misc', 'mmci', 'remove' and 'spear' into for-linus
7 parents 4b60e5f + b0ec5cf + 603605a + 8373dc3 + 399bc48 + 16dc062 + f1f6ac1 commit ec19628

85 files changed

Lines changed: 1269 additions & 3607 deletions

Some content is hidden

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

‎arch/arm/Kconfig‎

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,21 @@ config ARM_PATCH_PHYS_VIRT
197197
depends on !XIP_KERNEL && MMU
198198
depends on !ARCH_REALVIEW || !SPARSEMEM
199199
help
200-
Patch phys-to-virt translation functions at runtime according to
201-
the position of the kernel in system memory.
200+
Patch phys-to-virt and virt-to-phys translation functions at
201+
boot and module load time according to the position of the
202+
kernel in system memory.
202203

203-
This can only be used with non-XIP with MMU kernels where
204-
the base of physical memory is at a 16MB boundary.
204+
This can only be used with non-XIP MMU kernels where the base
205+
of physical memory is at a 16MB boundary, or theoretically 64K
206+
for the MSM machine class.
205207

206208
config ARM_PATCH_PHYS_VIRT_16BIT
207209
def_bool y
208210
depends on ARM_PATCH_PHYS_VIRT && ARCH_MSM
211+
help
212+
This option extends the physical to virtual translation patching
213+
to allow physical memory down to a theoretical minimum of 64K
214+
boundaries.
209215

210216
source "init/Kconfig"
211217

@@ -550,18 +556,6 @@ config ARCH_KS8695
550556
Support for Micrel/Kendin KS8695 "Centaur" (ARM922T) based
551557
System-on-Chip devices.
552558

553-
config ARCH_NS9XXX
554-
bool "NetSilicon NS9xxx"
555-
select CPU_ARM926T
556-
select GENERIC_GPIO
557-
select GENERIC_CLOCKEVENTS
558-
select HAVE_CLK
559-
help
560-
Say Y here if you intend to run this kernel on a NetSilicon NS9xxx
561-
System.
562-
563-
<http://www.digi.com/products/microprocessors/index.jsp>
564-
565559
config ARCH_W90X900
566560
bool "Nuvoton W90X900 CPU"
567561
select CPU_ARM926T
@@ -954,8 +948,6 @@ source "arch/arm/mach-netx/Kconfig"
954948
source "arch/arm/mach-nomadik/Kconfig"
955949
source "arch/arm/plat-nomadik/Kconfig"
956950

957-
source "arch/arm/mach-ns9xxx/Kconfig"
958-
959951
source "arch/arm/mach-nuc93x/Kconfig"
960952

961953
source "arch/arm/plat-omap/Kconfig"
@@ -1321,8 +1313,7 @@ menu "Kernel Features"
13211313
source "kernel/time/Kconfig"
13221314

13231315
config SMP
1324-
bool "Symmetric Multi-Processing (EXPERIMENTAL)"
1325-
depends on EXPERIMENTAL
1316+
bool "Symmetric Multi-Processing"
13261317
depends on CPU_V6K || CPU_V7
13271318
depends on GENERIC_CLOCKEVENTS
13281319
depends on REALVIEW_EB_ARM11MP || REALVIEW_EB_A9MP || \
@@ -1524,8 +1515,8 @@ config ARCH_SELECT_MEMORY_MODEL
15241515
def_bool ARCH_SPARSEMEM_ENABLE
15251516

15261517
config HIGHMEM
1527-
bool "High Memory Support (EXPERIMENTAL)"
1528-
depends on MMU && EXPERIMENTAL
1518+
bool "High Memory Support"
1519+
depends on MMU
15291520
help
15301521
The address space of ARM processors is only 4 Gigabytes large
15311522
and it has to accommodate user address space, kernel address
@@ -1745,16 +1736,31 @@ config CMDLINE
17451736
time by entering them here. As a minimum, you should specify the
17461737
memory size and the root device (e.g., mem=64M root=/dev/nfs).
17471738

1739+
choice
1740+
prompt "Kernel command line type" if CMDLINE != ""
1741+
default CMDLINE_FROM_BOOTLOADER
1742+
1743+
config CMDLINE_FROM_BOOTLOADER
1744+
bool "Use bootloader kernel arguments if available"
1745+
help
1746+
Uses the command-line options passed by the boot loader. If
1747+
the boot loader doesn't provide any, the default kernel command
1748+
string provided in CMDLINE will be used.
1749+
1750+
config CMDLINE_EXTEND
1751+
bool "Extend bootloader kernel arguments"
1752+
help
1753+
The command-line arguments provided by the boot loader will be
1754+
appended to the default kernel command string.
1755+
17481756
config CMDLINE_FORCE
17491757
bool "Always use the default kernel command string"
1750-
depends on CMDLINE != ""
17511758
help
17521759
Always use the default kernel command string, even if the boot
17531760
loader passes other arguments to the kernel.
17541761
This is useful if you cannot or don't want to change the
17551762
command-line options your boot loader passes to the kernel.
1756-
1757-
If unsure, say N.
1763+
endchoice
17581764

17591765
config XIP_KERNEL
17601766
bool "Kernel Execute-In-Place from ROM"
@@ -2013,7 +2019,7 @@ menu "Power management options"
20132019
source "kernel/power/Kconfig"
20142020

20152021
config ARCH_SUSPEND_POSSIBLE
2016-
depends on !ARCH_S5P64X0 && !ARCH_S5P6442
2022+
depends on !ARCH_S5P64X0 && !ARCH_S5P6442 && !ARCH_S5PC100
20172023
depends on CPU_ARM920T || CPU_ARM926T || CPU_SA1100 || \
20182024
CPU_V6 || CPU_V6K || CPU_V7 || CPU_XSC3 || CPU_XSCALE
20192025
def_bool y

‎arch/arm/Makefile‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,6 @@ machine-$(CONFIG_ARCH_MXC91231) := mxc91231
164164
machine-$(CONFIG_ARCH_MXS) := mxs
165165
machine-$(CONFIG_ARCH_NETX) := netx
166166
machine-$(CONFIG_ARCH_NOMADIK) := nomadik
167-
machine-$(CONFIG_ARCH_NS9XXX) := ns9xxx
168167
machine-$(CONFIG_ARCH_OMAP1) := omap1
169168
machine-$(CONFIG_ARCH_OMAP2) := omap2
170169
machine-$(CONFIG_ARCH_OMAP3) := omap2

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,11 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
459459
orr r1, r1, #3 << 10
460460
add r2, r3, #16384
461461
1: cmp r1, r9 @ if virt > start of RAM
462+
#ifdef CONFIG_CPU_DCACHE_WRITETHROUGH
463+
orrhs r1, r1, #0x08 @ set cacheable
464+
#else
462465
orrhs r1, r1, #0x0c @ set cacheable, bufferable
466+
#endif
463467
cmp r1, r10 @ if virt > end of RAM
464468
bichs r1, r1, #0x0c @ clear cacheable, bufferable
465469
str r1, [r0], #4 @ 1:1 mapping
@@ -484,6 +488,12 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
484488
mov pc, lr
485489
ENDPROC(__setup_mmu)
486490

491+
__arm926ejs_mmu_cache_on:
492+
#ifdef CONFIG_CPU_DCACHE_WRITETHROUGH
493+
mov r0, #4 @ put dcache in WT mode
494+
mcr p15, 7, r0, c15, c0, 0
495+
#endif
496+
487497
__armv4_mmu_cache_on:
488498
mov r12, lr
489499
#ifdef CONFIG_MMU
@@ -665,6 +675,12 @@ proc_types:
665675
W(b) __armv4_mpu_cache_off
666676
W(b) __armv4_mpu_cache_flush
667677

678+
.word 0x41069260 @ ARM926EJ-S (v5TEJ)
679+
.word 0xff0ffff0
680+
b __arm926ejs_mmu_cache_on
681+
b __armv4_mmu_cache_off
682+
b __armv5tej_mmu_cache_flush
683+
668684
.word 0x00007000 @ ARM7 IDs
669685
.word 0x0000f000
670686
mov pc, lr

‎arch/arm/configs/ns9xxx_defconfig‎

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

‎arch/arm/configs/spear310_defconfig‎

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

‎arch/arm/configs/spear320_defconfig‎

Lines changed: 0 additions & 52 deletions
This file was deleted.
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ CONFIG_MODULES=y
77
CONFIG_MODULE_UNLOAD=y
88
CONFIG_MODVERSIONS=y
99
CONFIG_PLAT_SPEAR=y
10+
CONFIG_BOARD_SPEAR300_EVB=y
11+
CONFIG_BOARD_SPEAR310_EVB=y
12+
CONFIG_BOARD_SPEAR320_EVB=y
1013
CONFIG_BINFMT_MISC=y
1114
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
1215
CONFIG_BLK_DEV_RAM=y
@@ -24,7 +27,6 @@ CONFIG_MAX_RAW_DEVS=8192
2427
CONFIG_GPIO_SYSFS=y
2528
CONFIG_GPIO_PL061=y
2629
# CONFIG_HWMON is not set
27-
# CONFIG_VGA_CONSOLE is not set
2830
# CONFIG_HID_SUPPORT is not set
2931
# CONFIG_USB_SUPPORT is not set
3032
CONFIG_EXT2_FS=y
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CONFIG_MODULE_UNLOAD=y
88
CONFIG_MODVERSIONS=y
99
CONFIG_PLAT_SPEAR=y
1010
CONFIG_ARCH_SPEAR6XX=y
11+
CONFIG_BOARD_SPEAR600_EVB=y
1112
CONFIG_BINFMT_MISC=y
1213
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
1314
CONFIG_BLK_DEV_RAM=y
@@ -22,7 +23,6 @@ CONFIG_MAX_RAW_DEVS=8192
2223
CONFIG_GPIO_SYSFS=y
2324
CONFIG_GPIO_PL061=y
2425
# CONFIG_HWMON is not set
25-
# CONFIG_VGA_CONSOLE is not set
2626
# CONFIG_HID_SUPPORT is not set
2727
# CONFIG_USB_SUPPORT is not set
2828
CONFIG_EXT2_FS=y

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ struct task_struct;
108108
int dump_task_regs(struct task_struct *t, elf_gregset_t *elfregs);
109109
#define ELF_CORE_COPY_TASK_REGS dump_task_regs
110110

111+
#define CORE_DUMP_USE_REGSET
111112
#define ELF_EXEC_PAGESIZE 4096
112113

113114
/* This is the location that an ET_DYN program is loaded if exec'ed. Typical

0 commit comments

Comments
 (0)