1
0
Fork 0
alistair23-linux/arch/arm
Russell King e761f6f332 ARM: l2c: highbank: remove explicit SMI call in L2 cache initialisation
Now that highbank uses the write_sec method, we don't need to enable
the L2 cache in SoC specific code; this can be done via the normal
mechanisms in the L2C code.

Checking with Rob Herring:
> > Can we kill the "highbank_smc1(0x102, 0x1);" here?	That means
> > l2x0_of_init() will see the L2 cache disabled, and will try to enable
> > it via the write_sec hook, so it should do the right thing.
>
> Yes, that should work. You should be able to just call l2x0_of_init
> unconditionally. The condition was really to just avoid the smc on
> Midway which does get handled on h/w, but not if running virtualized.

So also drop the DT check too.  I'm leaving the config check in place
so that if L2 is disabled, the write_sec hook can be optimised away.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2014-05-30 00:49:18 +01:00
..
boot Staging driver fixes for 3.15-rc6 2014-05-21 19:00:09 +09:00
common ARM: SoC fixes for 3.15-rc 2014-05-13 11:07:02 +09:00
configs Set of fixes for the Allwinner support for 3.15 2014-05-10 20:25:07 -07:00
crypto
firmware
include ARM: l2c: add platform independent core L2 cache OF initialisation 2014-05-30 00:49:00 +01:00
kernel ARM: l2c: add platform independent core L2 cache OF initialisation 2014-05-30 00:49:00 +01:00
kvm arm: KVM: fix possible misalignment of PGDs and bounce page 2014-04-28 03:21:48 -07:00
lib
mach-at91 First found of IIO fixes for the 3.15 cycle. 2014-04-22 21:29:20 -07:00
mach-bcm ARM: l2c: bcm_5301x: convert to generic l2c OF initialisation 2014-05-30 00:49:04 +01:00
mach-berlin ARM: l2c: berlin: convert to generic l2c OF initialisation 2014-05-30 00:49:06 +01:00
mach-clps711x ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
mach-cns3xxx ARM: l2c: cns3xxx: remove cache size override 2014-05-30 00:49:07 +01:00
mach-davinci ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
mach-dove ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
mach-ebsa110 ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-efm32
mach-ep93xx ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-exynos ARM: l2c: exynos: convert to generic l2c OF initialisation (and thereby fix it) 2014-05-30 00:49:15 +01:00
mach-footbridge ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-gemini ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-highbank ARM: l2c: highbank: remove explicit SMI call in L2 cache initialisation 2014-05-30 00:49:18 +01:00
mach-hisi ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-imx ARM: l2c: fix register naming 2014-05-30 00:48:43 +01:00
mach-integrator ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-keystone ARM: SoC: device tree changes 2014-04-05 15:29:04 -07:00
mach-kirkwood ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
mach-ks8695 ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-lpc32xx ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-mmp Merge commit 'e26a9e0' into stable/for-linus-3.15 2014-04-28 10:31:04 +01:00
mach-moxart ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-msm ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
mach-mv78xx0 ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
mach-mvebu ARM: l2c: remove unnecessary UL-suffix to mask values 2014-05-22 16:38:43 +01:00
mach-mxs ARM: SoC: device tree changes 2014-04-05 15:29:04 -07:00
mach-netx ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-nomadik
mach-nspire ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-omap1 ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-omap2 ARM: l2c: remove platforms/SoCs setting early BRESP 2014-05-30 00:48:51 +01:00
mach-orion5x ARM: orion5x: fix target ID for crypto SRAM window 2014-04-17 04:52:26 +00:00
mach-picoxcell Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
mach-prima2 ARM: l2c: fix register naming 2014-05-30 00:48:43 +01:00
mach-pxa ARM: pxa: hx4700.h: include "irqs.h" for PXA_NR_BUILTIN_GPIO 2014-04-24 15:26:39 +02:00
mach-qcom
mach-realview ARM: l2c: fix register naming 2014-05-30 00:48:43 +01:00
mach-rockchip ARM: l2c: remove unnecessary UL-suffix to mask values 2014-05-22 16:38:43 +01:00
mach-rpc ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-s3c24xx Kconfig: rename HAS_IOPORT to HAS_IOPORT_MAP 2014-04-07 16:36:11 -07:00
mach-s3c64xx ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
mach-s5p64x0 ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
mach-s5pc100 ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
mach-s5pv210 ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
mach-sa1100 Merge commit 'e26a9e0' into stable/for-linus-3.15 2014-04-28 10:31:04 +01:00
mach-shmobile ARM: l2c: remove platforms/SoCs setting early BRESP 2014-05-30 00:48:51 +01:00
mach-socfpga ARM: l2c: remove unnecessary UL-suffix to mask values 2014-05-22 16:38:43 +01:00
mach-spear ARM: l2c: remove platforms/SoCs setting early BRESP 2014-05-30 00:48:51 +01:00
mach-sti ARM: l2c: fix register naming 2014-05-30 00:48:43 +01:00
mach-sunxi ARM: SoC specific changes 2014-04-05 14:19:54 -07:00
mach-tegra ARM: l2c: remove platforms/SoCs setting early BRESP 2014-05-30 00:48:51 +01:00
mach-u300 ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-ux500 ARM: l2c: fix register naming 2014-05-30 00:48:43 +01:00
mach-versatile ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
mach-vexpress ARM: l2c: fix register naming 2014-05-30 00:48:43 +01:00
mach-vt8500
mach-w90x900 ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00
mach-zynq ARM: SoC: late cleanups 2014-04-05 15:46:37 -07:00
mm ARM: l2c: provide common PL310 early resume code 2014-05-30 00:49:01 +01:00
net net: filter: add jited flag to indicate jit compiled filters 2014-03-31 00:45:08 -04:00
nwfpe
oprofile
plat-iop ARM: 8000/1: misc: remove deprecated IRQF_DISABLED 2014-03-12 10:32:38 +00:00
plat-omap ARM: SoC: device tree changes 2014-04-05 15:29:04 -07:00
plat-orion ARM: SoC: driver changes 2014-04-05 15:37:40 -07:00
plat-pxa
plat-samsung ARM: l2c: exynos: convert to common l2c310 early resume functionality 2014-05-30 00:49:12 +01:00
plat-versatile
tools
vfp ARM: 8026/1: Fix emulation of multiply accumulate instructions 2014-04-14 23:28:24 +01:00
xen xen/grant-table: Refactor gnttab_[un]map_refs to avoid m2p_override 2014-03-18 14:40:19 +00:00
Kconfig ARM: l2c: move errata configuration options to arch/arm/mm/Kconfig 2014-05-30 00:48:37 +01:00
Kconfig-nommu
Kconfig.debug ARM: 8024/1: Keep DEBUG_UART_{PHYS,VIRT} entries sorted 2014-04-14 23:28:23 +01:00
Makefile ARM: SoC: cleanups for 3.15 2014-04-05 13:51:19 -07:00