Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
a9dd3865
Commit
a9dd3865
authored
Jun 12, 2015
by
Russell King
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-arm-soc' into for-next
parents
27a513ca
2678bb9f
Changes
47
Show whitespace changes
Inline
Side-by-side
Showing
47 changed files
with
49 additions
and
160 deletions
+49
-160
arch/arm/boot/dts/exynos5260-xyref5260.dts
arch/arm/boot/dts/exynos5260-xyref5260.dts
+1
-1
arch/arm/boot/dts/omap3-cm-t3517.dts
arch/arm/boot/dts/omap3-cm-t3517.dts
+1
-1
arch/arm/include/asm/suspend.h
arch/arm/include/asm/suspend.h
+1
-0
arch/arm/kernel/sleep.S
arch/arm/kernel/sleep.S
+14
-0
arch/arm/mach-bcm/Makefile
arch/arm/mach-bcm/Makefile
+1
-1
arch/arm/mach-bcm/brcmstb.h
arch/arm/mach-bcm/brcmstb.h
+0
-19
arch/arm/mach-bcm/headsmp-brcmstb.S
arch/arm/mach-bcm/headsmp-brcmstb.S
+0
-33
arch/arm/mach-bcm/platsmp-brcmstb.c
arch/arm/mach-bcm/platsmp-brcmstb.c
+1
-3
arch/arm/mach-berlin/headsmp.S
arch/arm/mach-berlin/headsmp.S
+0
-6
arch/arm/mach-berlin/platsmp.c
arch/arm/mach-berlin/platsmp.c
+1
-2
arch/arm/mach-davinci/include/mach/da8xx.h
arch/arm/mach-davinci/include/mach/da8xx.h
+1
-1
arch/arm/mach-hisi/Makefile
arch/arm/mach-hisi/Makefile
+1
-1
arch/arm/mach-hisi/core.h
arch/arm/mach-hisi/core.h
+0
-1
arch/arm/mach-hisi/headsmp.S
arch/arm/mach-hisi/headsmp.S
+0
-16
arch/arm/mach-hisi/platsmp.c
arch/arm/mach-hisi/platsmp.c
+2
-2
arch/arm/mach-imx/clk-imx6sx.c
arch/arm/mach-imx/clk-imx6sx.c
+2
-2
arch/arm/mach-imx/headsmp.S
arch/arm/mach-imx/headsmp.S
+0
-1
arch/arm/mach-iop13xx/include/mach/time.h
arch/arm/mach-iop13xx/include/mach/time.h
+1
-1
arch/arm/mach-ixp4xx/include/mach/platform.h
arch/arm/mach-ixp4xx/include/mach/platform.h
+1
-1
arch/arm/mach-ks8695/include/mach/hardware.h
arch/arm/mach-ks8695/include/mach/hardware.h
+1
-1
arch/arm/mach-mvebu/headsmp-a9.S
arch/arm/mach-mvebu/headsmp-a9.S
+0
-1
arch/arm/mach-omap2/gpmc-onenand.c
arch/arm/mach-omap2/gpmc-onenand.c
+2
-2
arch/arm/mach-omap2/hsmmc.c
arch/arm/mach-omap2/hsmmc.c
+1
-1
arch/arm/mach-omap2/opp2430_data.c
arch/arm/mach-omap2/opp2430_data.c
+2
-2
arch/arm/mach-omap2/sdrc2xxx.c
arch/arm/mach-omap2/sdrc2xxx.c
+1
-1
arch/arm/mach-omap2/sram242x.S
arch/arm/mach-omap2/sram242x.S
+1
-1
arch/arm/mach-omap2/sram243x.S
arch/arm/mach-omap2/sram243x.S
+1
-1
arch/arm/mach-prima2/headsmp.S
arch/arm/mach-prima2/headsmp.S
+0
-1
arch/arm/mach-pxa/mp900.c
arch/arm/mach-pxa/mp900.c
+1
-1
arch/arm/mach-rockchip/core.h
arch/arm/mach-rockchip/core.h
+0
-1
arch/arm/mach-rockchip/headsmp.S
arch/arm/mach-rockchip/headsmp.S
+0
-8
arch/arm/mach-rockchip/platsmp.c
arch/arm/mach-rockchip/platsmp.c
+2
-3
arch/arm/mach-shmobile/common.h
arch/arm/mach-shmobile/common.h
+0
-1
arch/arm/mach-shmobile/headsmp-scu.S
arch/arm/mach-shmobile/headsmp-scu.S
+2
-2
arch/arm/mach-shmobile/headsmp.S
arch/arm/mach-shmobile/headsmp.S
+0
-7
arch/arm/mach-shmobile/platsmp-apmu.c
arch/arm/mach-shmobile/platsmp-apmu.c
+1
-1
arch/arm/mach-socfpga/core.h
arch/arm/mach-socfpga/core.h
+0
-1
arch/arm/mach-socfpga/headsmp.S
arch/arm/mach-socfpga/headsmp.S
+0
-5
arch/arm/mach-socfpga/platsmp.c
arch/arm/mach-socfpga/platsmp.c
+1
-1
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/Makefile
+1
-1
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/headsmp.S
+0
-12
arch/arm/mach-tegra/reset.c
arch/arm/mach-tegra/reset.c
+1
-1
arch/arm/mach-tegra/reset.h
arch/arm/mach-tegra/reset.h
+0
-1
arch/arm/mach-zynq/common.h
arch/arm/mach-zynq/common.h
+0
-2
arch/arm/mach-zynq/headsmp.S
arch/arm/mach-zynq/headsmp.S
+0
-5
arch/arm/mach-zynq/platsmp.c
arch/arm/mach-zynq/platsmp.c
+2
-3
arch/arm/mm/proc-v7.S
arch/arm/mm/proc-v7.S
+1
-1
No files found.
arch/arm/boot/dts/exynos5260-xyref5260.dts
View file @
a9dd3865
...
...
@@ -70,7 +70,7 @@ &mmc_0 {
broken
-
cd
;
bypass
-
smu
;
cap
-
mmc
-
highspeed
;
supports
-
hs200
-
mode
;
/*
200
M
h
z
*/
supports
-
hs200
-
mode
;
/*
200
M
H
z
*/
card
-
detect
-
delay
=
<
200
>;
samsung
,
dw
-
mshc
-
ciu
-
div
=
<
3
>;
samsung
,
dw
-
mshc
-
sdr
-
timing
=
<
0
4
>;
...
...
arch/arm/boot/dts/omap3-cm-t3517.dts
View file @
a9dd3865
...
...
@@ -66,7 +66,7 @@ OMAP3_CORE1_IOPAD(0x217a, PIN_OUTPUT | MUX_MODE4) /* uart2_rx.gpio_147 */
otg_drv_vbus
:
pinmux_otg_drv_vbus
{
pinctrl
-
single
,
pins
=
<
OMAP3_CORE1_IOPAD
(
0x2210
,
PIN_INPUT_PULLDOWN
|
MUX_MODE0
)
/*
rmii_50M
h
z_clk
.
usb0_drvvbus
*/
OMAP3_CORE1_IOPAD
(
0x2210
,
PIN_INPUT_PULLDOWN
|
MUX_MODE0
)
/*
rmii_50M
H
z_clk
.
usb0_drvvbus
*/
>;
};
...
...
arch/arm/include/asm/suspend.h
View file @
a9dd3865
...
...
@@ -7,6 +7,7 @@ struct sleep_save_sp {
};
extern
void
cpu_resume
(
void
);
extern
void
cpu_resume_arm
(
void
);
extern
int
cpu_suspend
(
unsigned
long
,
int
(
*
)(
unsigned
long
));
#endif
arch/arm/kernel/sleep.S
View file @
a9dd3865
...
...
@@ -118,6 +118,16 @@ ENDPROC(cpu_resume_after_mmu)
.
text
.
align
#ifdef CONFIG_MMU
.
arm
ENTRY
(
cpu_resume_arm
)
THUMB
(
adr
r9
,
BSYM
(
1
f
)
)
@
Kernel
is
entered
in
ARM
.
THUMB
(
bx
r9
)
@
If
this
is
a
Thumb
-
2
kernel
,
THUMB
(
.
thumb
)
@
switch
to
Thumb
now
.
THUMB
(1:
)
#endif
ENTRY
(
cpu_resume
)
ARM_BE8
(
setend
be
)
@
ensure
we
are
in
BE
mode
#ifdef CONFIG_ARM_VIRT_EXT
...
...
@@ -150,6 +160,10 @@ THUMB( mov sp, r2 )
THUMB
(
bx
r3
)
ENDPROC
(
cpu_resume
)
#ifdef CONFIG_MMU
ENDPROC
(
cpu_resume_arm
)
#endif
.
align
2
_sleep_save_sp
:
.
long
sleep_save_sp
-
.
...
...
arch/arm/mach-bcm/Makefile
View file @
a9dd3865
...
...
@@ -43,5 +43,5 @@ obj-$(CONFIG_ARCH_BCM_63XX) := bcm63xx.o
ifeq
($(CONFIG_ARCH_BRCMSTB),y)
CFLAGS_platsmp-brcmstb.o
+=
-march
=
armv7-a
obj-y
+=
brcmstb.o
obj-$(CONFIG_SMP)
+=
headsmp-brcmstb.o
platsmp-brcmstb.o
obj-$(CONFIG_SMP)
+=
platsmp-brcmstb.o
endif
arch/arm/mach-bcm/brcmstb.h
deleted
100644 → 0
View file @
27a513ca
/*
* Copyright (C) 2013-2014 Broadcom Corporation
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation version 2.
*
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
* kind, whether express or implied; without even the implied warranty
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __BRCMSTB_H__
#define __BRCMSTB_H__
void
brcmstb_secondary_startup
(
void
);
#endif
/* __BRCMSTB_H__ */
arch/arm/mach-bcm/headsmp-brcmstb.S
deleted
100644 → 0
View file @
27a513ca
/*
*
SMP
boot
code
for
secondary
CPUs
*
Based
on
arch
/
arm
/
mach
-
tegra
/
headsmp
.
S
*
*
Copyright
(
C
)
2010
NVIDIA
,
Inc
.
*
Copyright
(
C
)
2013
-
2014
Broadcom
Corporation
*
*
This
program
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
General
Public
License
as
*
published
by
the
Free
Software
Foundation
version
2
.
*
*
This
program
is
distributed
"as is"
WITHOUT
ANY
WARRANTY
of
any
*
kind
,
whether
express
or
implied
; without even the implied warranty
*
of
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
*
GNU
General
Public
License
for
more
details
.
*/
#include <asm/assembler.h>
#include <linux/linkage.h>
#include <linux/init.h>
.
section
".text.head"
,
"ax"
ENTRY
(
brcmstb_secondary_startup
)
/
*
*
Ensure
CPU
is
in
a
sane
state
by
disabling
all
IRQs
and
switching
*
into
SVC
mode
.
*/
setmode
PSR_I_BIT
| PSR_F_BIT |
SVC_MODE
,
r0
bl
v7_invalidate_l1
b
secondary_startup
ENDPROC
(
brcmstb_secondary_startup
)
arch/arm/mach-bcm/platsmp-brcmstb.c
View file @
a9dd3865
...
...
@@ -30,8 +30,6 @@
#include <asm/mach-types.h>
#include <asm/smp_plat.h>
#include "brcmstb.h"
enum
{
ZONE_MAN_CLKEN_MASK
=
BIT
(
0
),
ZONE_MAN_RESET_CNTL_MASK
=
BIT
(
1
),
...
...
@@ -153,7 +151,7 @@ static void brcmstb_cpu_boot(u32 cpu)
* Set the reset vector to point to the secondary_startup
* routine
*/
cpu_set_boot_addr
(
cpu
,
virt_to_phys
(
brcmstb_
secondary_startup
));
cpu_set_boot_addr
(
cpu
,
virt_to_phys
(
secondary_startup
));
/* Unhalt the cpu */
cpu_rst_cfg_set
(
cpu
,
0
);
...
...
arch/arm/mach-berlin/headsmp.S
View file @
a9dd3865
...
...
@@ -12,12 +12,6 @@
#include <linux/init.h>
#include <asm/assembler.h>
ENTRY
(
berlin_secondary_startup
)
ARM_BE8
(
setend
be
)
bl
v7_invalidate_l1
b
secondary_startup
ENDPROC
(
berlin_secondary_startup
)
/*
*
If
the
following
instruction
is
set
in
the
reset
exception
vector
,
CPUs
*
will
fetch
the
value
of
the
software
reset
address
vector
when
being
...
...
arch/arm/mach-berlin/platsmp.c
View file @
a9dd3865
...
...
@@ -22,7 +22,6 @@
#define RESET_VECT 0x00
#define SW_RESET_ADDR 0x94
extern
void
berlin_secondary_startup
(
void
);
extern
u32
boot_inst
;
static
void
__iomem
*
cpu_ctrl
;
...
...
@@ -85,7 +84,7 @@ static void __init berlin_smp_prepare_cpus(unsigned int max_cpus)
* Write the secondary startup address into the SW reset address
* vector. This is used by boot_inst.
*/
writel
(
virt_to_phys
(
berlin_
secondary_startup
),
vectors_base
+
SW_RESET_ADDR
);
writel
(
virt_to_phys
(
secondary_startup
),
vectors_base
+
SW_RESET_ADDR
);
iounmap
(
vectors_base
);
unmap_scu:
...
...
arch/arm/mach-davinci/include/mach/da8xx.h
View file @
a9dd3865
...
...
@@ -36,7 +36,7 @@ extern void __iomem *da8xx_syscfg1_base;
/*
* If the DA850/OMAP-L138/AM18x SoC on board is of a higher speed grade
* (than the regular 300M
h
z variant), the board code should set this up
* (than the regular 300M
H
z variant), the board code should set this up
* with the supported speed before calling da850_register_cpufreq().
*/
extern
unsigned
int
da850_max_speed
;
...
...
arch/arm/mach-hisi/Makefile
View file @
a9dd3865
...
...
@@ -6,4 +6,4 @@ CFLAGS_platmcpm.o := -march=armv7-a
obj-y
+=
hisilicon.o
obj-$(CONFIG_MCPM)
+=
platmcpm.o
obj-$(CONFIG_SMP)
+=
platsmp.o hotplug.o
headsmp.o
obj-$(CONFIG_SMP)
+=
platsmp.o hotplug.o
arch/arm/mach-hisi/core.h
View file @
a9dd3865
...
...
@@ -12,7 +12,6 @@ extern void hi3xxx_cpu_die(unsigned int cpu);
extern
int
hi3xxx_cpu_kill
(
unsigned
int
cpu
);
extern
void
hi3xxx_set_cpu
(
int
cpu
,
bool
enable
);
extern
void
hisi_secondary_startup
(
void
);
extern
struct
smp_operations
hix5hd2_smp_ops
;
extern
void
hix5hd2_set_cpu
(
int
cpu
,
bool
enable
);
extern
void
hix5hd2_cpu_die
(
unsigned
int
cpu
);
...
...
arch/arm/mach-hisi/headsmp.S
deleted
100644 → 0
View file @
27a513ca
/*
*
Copyright
(
c
)
2014
Hisilicon
Limited
.
*
Copyright
(
c
)
2014
Linaro
Ltd
.
*
*
This
program
is
free
software
; you can redistribute it and/or modify
*
it
under
the
terms
of
the
GNU
General
Public
License
version
2
as
*
published
by
the
Free
Software
Foundation
.
*/
#include <linux/linkage.h>
#include <linux/init.h>
__CPUINIT
ENTRY
(
hisi_secondary_startup
)
bl
v7_invalidate_l1
b
secondary_startup
arch/arm/mach-hisi/platsmp.c
View file @
a9dd3865
...
...
@@ -118,7 +118,7 @@ static int hix5hd2_boot_secondary(unsigned int cpu, struct task_struct *idle)
{
phys_addr_t
jumpaddr
;
jumpaddr
=
virt_to_phys
(
hisi_
secondary_startup
);
jumpaddr
=
virt_to_phys
(
secondary_startup
);
hix5hd2_set_scu_boot_addr
(
HIX5HD2_BOOT_ADDRESS
,
jumpaddr
);
hix5hd2_set_cpu
(
cpu
,
true
);
arch_send_wakeup_ipi_mask
(
cpumask_of
(
cpu
));
...
...
@@ -156,7 +156,7 @@ static int hip01_boot_secondary(unsigned int cpu, struct task_struct *idle)
struct
device_node
*
node
;
jumpaddr
=
virt_to_phys
(
hisi_
secondary_startup
);
jumpaddr
=
virt_to_phys
(
secondary_startup
);
hip01_set_boot_addr
(
HIP01_BOOT_ADDRESS
,
jumpaddr
);
node
=
of_find_compatible_node
(
NULL
,
NULL
,
"hisilicon,hip01-sysctrl"
);
...
...
arch/arm/mach-imx/clk-imx6sx.c
View file @
a9dd3865
...
...
@@ -216,7 +216,7 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node)
clks
[
IMX6SX_CLK_USBPHY1_GATE
]
=
imx_clk_gate
(
"usbphy1_gate"
,
"dummy"
,
base
+
0x10
,
6
);
clks
[
IMX6SX_CLK_USBPHY2_GATE
]
=
imx_clk_gate
(
"usbphy2_gate"
,
"dummy"
,
base
+
0x20
,
6
);
/* FIXME 100M
h
z is used for pcie ref for all imx6 pcie, excepted imx6q */
/* FIXME 100M
H
z is used for pcie ref for all imx6 pcie, excepted imx6q */
clks
[
IMX6SX_CLK_PCIE_REF
]
=
imx_clk_fixed_factor
(
"pcie_ref"
,
"pll6_enet"
,
1
,
5
);
clks
[
IMX6SX_CLK_PCIE_REF_125M
]
=
imx_clk_gate
(
"pcie_ref_125m"
,
"pcie_ref"
,
base
+
0xe0
,
19
);
...
...
@@ -520,7 +520,7 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node)
pr_err
(
"Failed to set pcie parent clk.
\n
"
);
/*
* Init enet system AHB clock, set to 200M
h
z
* Init enet system AHB clock, set to 200M
H
z
* pll2_pfd2_396m-> ENET_PODF-> ENET_AHB
*/
clk_set_parent
(
clks
[
IMX6SX_CLK_ENET_PRE_SEL
],
clks
[
IMX6SX_CLK_PLL2_PFD2
]);
...
...
arch/arm/mach-imx/headsmp.S
View file @
a9dd3865
...
...
@@ -25,7 +25,6 @@ diag_reg_offset:
.
endm
ENTRY
(
v7_secondary_startup
)
bl
v7_invalidate_l1
set_diag_reg
b
secondary_startup
ENDPROC
(
v7_secondary_startup
)
arch/arm/mach-iop13xx/include/mach/time.h
View file @
a9dd3865
...
...
@@ -42,7 +42,7 @@ static inline unsigned long iop13xx_core_freq(void)
case
IOP13XX_CORE_FREQ_1200
:
return
1200000000
;
default:
printk
(
"%s: warning unknown frequency, defaulting to 800M
h
z
\n
"
,
printk
(
"%s: warning unknown frequency, defaulting to 800M
H
z
\n
"
,
__func__
);
}
...
...
arch/arm/mach-ixp4xx/include/mach/platform.h
View file @
a9dd3865
...
...
@@ -74,7 +74,7 @@ extern unsigned long ixp4xx_exp_bus_size;
/*
* Clock Speed Definitions.
*/
#define IXP4XX_PERIPHERAL_BUS_CLOCK (66)
/* 66M
h
zi APB BUS */
#define IXP4XX_PERIPHERAL_BUS_CLOCK (66)
/* 66M
H
zi APB BUS */
#define IXP4XX_UART_XTAL 14745600
/*
...
...
arch/arm/mach-ks8695/include/mach/hardware.h
View file @
a9dd3865
...
...
@@ -17,7 +17,7 @@
#include <asm/sizes.h>
/*
* Clocks are derived from MCLK, which is 25M
h
z
* Clocks are derived from MCLK, which is 25M
H
z
*/
#define KS8695_CLOCK_RATE 25000000
...
...
arch/arm/mach-mvebu/headsmp-a9.S
View file @
a9dd3865
...
...
@@ -21,7 +21,6 @@
ENTRY
(
mvebu_cortex_a9_secondary_startup
)
ARM_BE8
(
setend
be
)
bl
v7_invalidate_l1
bl
armada_38x_scu_power_up
b
secondary_startup
ENDPROC
(
mvebu_cortex_a9_secondary_startup
)
arch/arm/mach-omap2/gpmc-onenand.c
View file @
a9dd3865
...
...
@@ -216,11 +216,11 @@ static void omap2_onenand_calc_sync_timings(struct gpmc_timings *t,
div
=
gpmc_calc_divider
(
min_gpmc_clk_period
);
gpmc_clk_ns
=
gpmc_ticks_to_ns
(
div
);
if
(
gpmc_clk_ns
<
15
)
/* >66M
h
z */
if
(
gpmc_clk_ns
<
15
)
/* >66M
H
z */
onenand_flags
|=
ONENAND_FLAG_HF
;
else
onenand_flags
&=
~
ONENAND_FLAG_HF
;
if
(
gpmc_clk_ns
<
12
)
/* >83M
h
z */
if
(
gpmc_clk_ns
<
12
)
/* >83M
H
z */
onenand_flags
|=
ONENAND_FLAG_VHF
;
else
onenand_flags
&=
~
ONENAND_FLAG_VHF
;
...
...
arch/arm/mach-omap2/hsmmc.c
View file @
a9dd3865
...
...
@@ -70,7 +70,7 @@ static void omap_hsmmc1_before_set_reg(struct device *dev,
reg
=
omap_ctrl_readl
(
control_pbias_offset
);
if
(
cpu_is_omap3630
())
{
/* Set MMC I/O to 52M
h
z */
/* Set MMC I/O to 52M
H
z */
prog_io
=
omap_ctrl_readl
(
OMAP343X_CONTROL_PROG_IO1
);
prog_io
|=
OMAP3630_PRG_SDMMC1_SPEEDCTRL
;
omap_ctrl_writel
(
prog_io
,
OMAP343X_CONTROL_PROG_IO1
);
...
...
arch/arm/mach-omap2/opp2430_data.c
View file @
a9dd3865
...
...
@@ -116,7 +116,7 @@ const struct prcm_config omap2430_rate_table[] = {
RATE_IN_243X
},
/* PRCM-boot/bypass */
{
S13M
,
S13M
,
S13M
,
RB_CM_CLKSEL_MPU_VAL
,
/* 13M
h
z */
{
S13M
,
S13M
,
S13M
,
RB_CM_CLKSEL_MPU_VAL
,
/* 13M
H
z */
RB_CM_CLKSEL_DSP_VAL
,
RB_CM_CLKSEL_GFX_VAL
,
RB_CM_CLKSEL1_CORE_VAL
,
MB_CM_CLKSEL1_PLL_13_VAL
,
MX_CLKSEL2_PLL_2x_VAL
,
RB_CM_CLKSEL_MDM_VAL
,
...
...
@@ -124,7 +124,7 @@ const struct prcm_config omap2430_rate_table[] = {
RATE_IN_243X
},
/* PRCM-boot/bypass */
{
S12M
,
S12M
,
S12M
,
RB_CM_CLKSEL_MPU_VAL
,
/* 12M
h
z */
{
S12M
,
S12M
,
S12M
,
RB_CM_CLKSEL_MPU_VAL
,
/* 12M
H
z */
RB_CM_CLKSEL_DSP_VAL
,
RB_CM_CLKSEL_GFX_VAL
,
RB_CM_CLKSEL1_CORE_VAL
,
MB_CM_CLKSEL1_PLL_12_VAL
,
MX_CLKSEL2_PLL_2x_VAL
,
RB_CM_CLKSEL_MDM_VAL
,
...
...
arch/arm/mach-omap2/sdrc2xxx.c
View file @
a9dd3865
...
...
@@ -164,6 +164,6 @@ void omap2xxx_sdrc_init_params(u32 force_lock_to_unlock_mode)
mem_timings
.
slow_dll_ctrl
|=
((
mem_timings
.
fast_dll_ctrl
&
0xF
)
|
(
1
<<
2
));
/* 90 degree phase for anything below 133M
h
z + disable DLL filter */
/* 90 degree phase for anything below 133M
H
z + disable DLL filter */
mem_timings
.
slow_dll_ctrl
|=
((
1
<<
1
)
|
(
3
<<
8
));
}
arch/arm/mach-omap2/sram242x.S
View file @
a9dd3865
...
...
@@ -64,7 +64,7 @@ ENTRY(omap242x_sram_ddr_init)
mvn
r9
,
#
0x4
@
mask
to
get
clear
bit2
and
r10
,
r10
,
r9
@
clear
bit2
for
lock
mode
.
orr
r10
,
r10
,
#
0x8
@
make
sure
DLL
on
(
es2
bit
pos
)
orr
r10
,
r10
,
#
0x2
@
90
degree
phase
for
all
below
133
M
h
z
orr
r10
,
r10
,
#
0x2
@
90
degree
phase
for
all
below
133
M
H
z
str
r10
,
[
r11
]
@
commit
to
DLLA_CTRL
bl
i_dll_wait
@
wait
for
dll
to
lock
...
...
arch/arm/mach-omap2/sram243x.S
View file @
a9dd3865
...
...
@@ -64,7 +64,7 @@ ENTRY(omap243x_sram_ddr_init)
mvn
r9
,
#
0x4
@
mask
to
get
clear
bit2
and
r10
,
r10
,
r9
@
clear
bit2
for
lock
mode
.
orr
r10
,
r10
,
#
0x8
@
make
sure
DLL
on
(
es2
bit
pos
)
orr
r10
,
r10
,
#
0x2
@
90
degree
phase
for
all
below
133
M
h
z
orr
r10
,
r10
,
#
0x2
@
90
degree
phase
for
all
below
133
M
H
z
str
r10
,
[
r11
]
@
commit
to
DLLA_CTRL
bl
i_dll_wait
@
wait
for
dll
to
lock
...
...
arch/arm/mach-prima2/headsmp.S
View file @
a9dd3865
...
...
@@ -15,7 +15,6 @@
*
ready
for
them
to
initialise
.
*/
ENTRY
(
sirfsoc_secondary_startup
)
bl
v7_invalidate_l1
mrc
p15
,
0
,
r0
,
c0
,
c0
,
5
and
r0
,
r0
,
#
15
adr
r4
,
1
f
...
...
arch/arm/mach-pxa/mp900.c
View file @
a9dd3865
...
...
@@ -28,7 +28,7 @@
static
void
isp116x_pfm_delay
(
struct
device
*
dev
,
int
delay
)
{
/* 400M
h
z PXA2 = 2.5ns / instruction */
/* 400M
H
z PXA2 = 2.5ns / instruction */
int
cyc
=
delay
/
10
;
...
...
arch/arm/mach-rockchip/core.h
View file @
a9dd3865
...
...
@@ -17,4 +17,3 @@ extern char rockchip_secondary_trampoline;
extern
char
rockchip_secondary_trampoline_end
;
extern
unsigned
long
rockchip_boot_fn
;
extern
void
rockchip_secondary_startup
(
void
);
arch/arm/mach-rockchip/headsmp.S
View file @
a9dd3865
...
...
@@ -15,14 +15,6 @@
#include <linux/linkage.h>
#include <linux/init.h>
ENTRY
(
rockchip_secondary_startup
)
mrc
p15
,
0
,
r0
,
c0
,
c0
,
0
@
read
main
ID
register
ldr
r1
,
=
0x00000c09
@
Cortex
-
A9
primary
part
number
teq
r0
,
r1
beq
v7_invalidate_l1
b
secondary_startup
ENDPROC
(
rockchip_secondary_startup
)
ENTRY
(
rockchip_secondary_trampoline
)
ldr
pc
,
1
f
ENDPROC
(
rockchip_secondary_trampoline
)
...
...
arch/arm/mach-rockchip/platsmp.c
View file @
a9dd3865
...
...
@@ -149,8 +149,7 @@ static int __cpuinit rockchip_boot_secondary(unsigned int cpu,
* sram_base_addr + 8: start address for pc
* */
udelay
(
10
);
writel
(
virt_to_phys
(
rockchip_secondary_startup
),
sram_base_addr
+
8
);
writel
(
virt_to_phys
(
secondary_startup
),
sram_base_addr
+
8
);
writel
(
0xDEADBEAF
,
sram_base_addr
+
4
);
dsb_sev
();
}
...
...
@@ -189,7 +188,7 @@ static int __init rockchip_smp_prepare_sram(struct device_node *node)
}
/* set the boot function for the sram code */
rockchip_boot_fn
=
virt_to_phys
(
rockchip_
secondary_startup
);
rockchip_boot_fn
=
virt_to_phys
(
secondary_startup
);
/* copy the trampoline to sram, that runs during startup of the core */
memcpy
(
sram_base_addr
,
&
rockchip_secondary_trampoline
,
trampoline_sz
);
...
...
arch/arm/mach-shmobile/common.h
View file @
a9dd3865
...
...
@@ -14,7 +14,6 @@ extern void shmobile_smp_sleep(void);
extern
void
shmobile_smp_hook
(
unsigned
int
cpu
,
unsigned
long
fn
,
unsigned
long
arg
);
extern
int
shmobile_smp_cpu_disable
(
unsigned
int
cpu
);
extern
void
shmobile_invalidate_start
(
void
);
extern
void
shmobile_boot_scu
(
void
);
extern
void
shmobile_smp_scu_prepare_cpus
(
unsigned
int
max_cpus
);
extern
void
shmobile_smp_scu_cpu_die
(
unsigned
int
cpu
);
...
...
arch/arm/mach-shmobile/headsmp-scu.S
View file @
a9dd3865
...
...
@@ -22,7 +22,7 @@
*
Boot
code
for
secondary
CPUs
.
*
*
First
we
turn
on
L1
cache
coherency
for
our
CPU
.
Then
we
jump
to
*
s
hmobile_invalidate_start
that
invalidates
the
cache
and
hands
over
control
*
s
econdary_startup
that
invalidates
the
cache
and
hands
over
control
*
to
the
common
ARM
startup
code
.
*/
ENTRY
(
shmobile_boot_scu
)
...
...
@@ -36,7 +36,7 @@ ENTRY(shmobile_boot_scu)
bic
r2
,
r2
,
r3
@
Clear
bits
of
our
CPU
(
Run
Mode
)
str
r2
,
[
r0
,
#
8
]
@
write
back
b
s
hmobile_invalidate_start
b
s
econdary_startup
ENDPROC
(
shmobile_boot_scu
)
.
text
...
...
arch/arm/mach-shmobile/headsmp.S
View file @
a9dd3865
...
...
@@ -16,13 +16,6 @@
#include <asm/assembler.h>
#include <asm/memory.h>
#ifdef CONFIG_SMP
ENTRY
(
shmobile_invalidate_start
)
bl
v7_invalidate_l1
b
secondary_startup
ENDPROC
(
shmobile_invalidate_start
)
#endif
/*
*
Reset
vector
for
secondary
CPUs
.
*
This
will
be
mapped
at
address
0
by
SBAR
register
.
...
...
arch/arm/mach-shmobile/platsmp-apmu.c
View file @
a9dd3865
...
...
@@ -133,7 +133,7 @@ void __init shmobile_smp_apmu_prepare_cpus(unsigned int max_cpus,
int
shmobile_smp_apmu_boot_secondary
(
unsigned
int
cpu
,
struct
task_struct
*
idle
)
{
/* For this particular CPU register boot vector */
shmobile_smp_hook
(
cpu
,
virt_to_phys
(
s
hmobile_invalidate_start
),
0
);
shmobile_smp_hook
(
cpu
,
virt_to_phys
(
s
econdary_startup
),
0
);
return
apmu_wrap
(
cpu
,
apmu_power_on
);
}
...
...
arch/arm/mach-socfpga/core.h
View file @
a9dd3865
...
...
@@ -31,7 +31,6 @@
#define RSTMGR_MPUMODRST_CPU1 0x2
/* CPU1 Reset */
extern
void
socfpga_secondary_startup
(
void
);
extern
void
__iomem
*
socfpga_scu_base_addr
;
extern
void
socfpga_init_clocks
(
void
);
...
...
arch/arm/mach-socfpga/headsmp.S
View file @
a9dd3865
...
...
@@ -30,8 +30,3 @@ ENTRY(secondary_trampoline)
1
:
.
long
.
.
long
socfpga_cpu1start_addr
ENTRY
(
secondary_trampoline_end
)
ENTRY
(
socfpga_secondary_startup
)
bl
v7_invalidate_l1
b
secondary_startup
ENDPROC
(
socfpga_secondary_startup
)
arch/arm/mach-socfpga/platsmp.c
View file @
a9dd3865
...
...
@@ -40,7 +40,7 @@ static int socfpga_boot_secondary(unsigned int cpu, struct task_struct *idle)
memcpy
(
phys_to_virt
(
0
),
&
secondary_trampoline
,
trampoline_size
);
writel
(
virt_to_phys
(
s
ocfpga_s
econdary_startup
),
writel
(
virt_to_phys
(
secondary_startup
),
sys_manager_base_addr
+
(
socfpga_cpu1start_addr
&
0x000000ff
));
flush_cache_all
();
...
...
arch/arm/mach-tegra/Makefile
View file @
a9dd3865
...
...
@@ -19,7 +19,7 @@ obj-$(CONFIG_ARCH_TEGRA_3x_SOC) += pm-tegra30.o
ifeq
($(CONFIG_CPU_IDLE),y)
obj-$(CONFIG_ARCH_TEGRA_3x_SOC)
+=
cpuidle-tegra30.o
endif
obj-$(CONFIG_SMP)
+=
platsmp.o
headsmp.o
obj-$(CONFIG_SMP)
+=
platsmp.o
obj-$(CONFIG_HOTPLUG_CPU)
+=
hotplug.o
obj-$(CONFIG_ARCH_TEGRA_114_SOC)
+=
sleep-tegra30.o
...
...
arch/arm/mach-tegra/headsmp.S
deleted
100644 → 0
View file @
27a513ca
#include <linux/linkage.h>
#include <linux/init.h>
#include "sleep.h"
.
section
".text.head"
,
"ax"
ENTRY
(
tegra_secondary_startup
)
check_cpu_part_num
0xc09
,
r8
,
r9
bleq
v7_invalidate_l1
b
secondary_startup
ENDPROC
(
tegra_secondary_startup
)
arch/arm/mach-tegra/reset.c
View file @
a9dd3865
...
...
@@ -94,7 +94,7 @@ void __init tegra_cpu_reset_handler_init(void)
__tegra_cpu_reset_handler_data
[
TEGRA_RESET_MASK_PRESENT
]
=
*
((
u32
*
)
cpu_possible_mask
);
__tegra_cpu_reset_handler_data
[
TEGRA_RESET_STARTUP_SECONDARY
]
=
virt_to_phys
((
void
*
)
tegra_
secondary_startup
);
virt_to_phys
((
void
*
)
secondary_startup
);
#endif
#ifdef CONFIG_PM_SLEEP
...
...
arch/arm/mach-tegra/reset.h
View file @
a9dd3865
...
...
@@ -36,7 +36,6 @@ extern unsigned long __tegra_cpu_reset_handler_data[TEGRA_RESET_DATA_SIZE];
void
__tegra_cpu_reset_handler_start
(
void
);
void
__tegra_cpu_reset_handler
(
void
);
void
__tegra_cpu_reset_handler_end
(
void
);
void
tegra_secondary_startup
(
void
);
#ifdef CONFIG_PM_SLEEP
#define tegra_cpu_lp1_mask \
...
...
arch/arm/mach-zynq/common.h
View file @
a9dd3865
...
...
@@ -17,8 +17,6 @@
#ifndef __MACH_ZYNQ_COMMON_H__
#define __MACH_ZYNQ_COMMON_H__
void
zynq_secondary_startup
(
void
);
extern
int
zynq_slcr_init
(
void
);
extern
int
zynq_early_slcr_init
(
void
);
extern
void
zynq_slcr_system_reset
(
void
);
...
...
arch/arm/mach-zynq/headsmp.S
View file @
a9dd3865
...
...
@@ -22,8 +22,3 @@ zynq_secondary_trampoline_jump:
.
globl
zynq_secondary_trampoline_end
zynq_secondary_trampoline_end
:
ENDPROC
(
zynq_secondary_trampoline
)
ENTRY
(
zynq_secondary_startup
)
bl
v7_invalidate_l1
b
secondary_startup
ENDPROC
(
zynq_secondary_startup
)
arch/arm/mach-zynq/platsmp.c
View file @
a9dd3865
...
...
@@ -87,10 +87,9 @@ int zynq_cpun_start(u32 address, int cpu)
}
EXPORT_SYMBOL
(
zynq_cpun_start
);
static
int
zynq_boot_secondary
(
unsigned
int
cpu
,
struct
task_struct
*
idle
)
static
int
zynq_boot_secondary
(
unsigned
int
cpu
,
struct
task_struct
*
idle
)
{
return
zynq_cpun_start
(
virt_to_phys
(
zynq_
secondary_startup
),
cpu
);
return
zynq_cpun_start
(
virt_to_phys
(
secondary_startup
),
cpu
);
}
/*
...
...
arch/arm/mm/proc-v7.S
View file @
a9dd3865
...
...
@@ -414,7 +414,7 @@ __v7_pj4b_setup:
__v7_setup
:
adr
r12
,
__v7_setup_stack
@
the
local
stack
stmia
r12
,
{
r0
-
r5
,
r7
,
r9
,
r11
,
lr
}
bl
v7_
flush_dcache_louis
bl
v7_
invalidate_l1
ldmia
r12
,
{
r0
-
r5
,
r7
,
r9
,
r11
,
lr
}
and
r0
,
r9
,
#
0xff000000
@
ARM
?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment