linux_dsm_epyc7002/arch/arm/mach-shmobile
Magnus Damm 173bf69a7a ARM / mach-shmobile: Use preset_lpj with calibrate_delay()
Update the mach-shmobile shared delay calibration code for late
timers. All existing in-tree non-DT socs are however using early
timers today and they are unaffected by this change.

The patch modifies shmobile_setup_delay() from using lpj_fine
to preset_lpj. This change allows us to preset the worst case
loops-per-jiffy value to all CPU cores on the system.

The old code which made use of lpj_fine did not affect the
secondary CPU cores which made it impossible to boot on SMP
without early timers.

Needed for SMP SoCs using late timers like EMEV2 or any other
mach-shmobile SMP SoC that makes use of late timers via DT.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
2012-05-12 22:21:36 +02:00
..
include/mach Merge branch 'renesas-dt' into renesas-soc-core 2012-05-12 22:20:36 +02:00
board-ag5evm.c ARM: mach-shmobile: convert ag5evm to use the generic MMC GPIO hotplug helper 2012-05-12 22:13:01 +02:00
board-ap4evb.c ARM: More SoC support updates 2012-03-28 12:24:40 -07:00
board-bonito.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
board-g3evm.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
board-g4evm.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
board-kota2.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
board-mackerel.c ARM: mach-shmobile: convert mackerel to use the generic MMC GPIO hotplug helper 2012-05-12 22:12:36 +02:00
board-marzen.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
clock-r8a7740.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-r8a7779.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh73a0.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh7367.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock-sh7372.c MTD merge for 3.4 2012-03-30 17:31:56 -07:00
clock-sh7377.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
clock.c ARM: mach-shmobile: rename clk_init() to shmobile_clk_init() 2012-03-12 22:19:43 +01:00
console.c ARM: mach-shmobile: early console support using earlyprintk 2010-02-09 10:34:12 +09:00
cpuidle.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux 2012-03-30 16:45:39 -07:00
entry-intc.S ARM: gic: consolidate PPI handling 2011-10-23 13:32:29 +01:00
headsmp.S ARM / mach-shmobile: Invalidate caches when booting secondary cores 2012-05-12 22:13:52 +02:00
hotplug.c ARM: mach-shmobile: Flush caches in platform_cpu_die() 2012-01-09 10:37:29 +09:00
intc-r8a7740.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-r8a7779.c ARM: __io abuse cleanup 2012-03-13 21:25:21 -05:00
intc-sh73a0.c ARM: cleanups of io includes 2012-03-29 18:02:10 -07:00
intc-sh7367.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
intc-sh7372.c ARM: mach-shmobile: Rework sh7372 INTCS demuxer V2 2012-04-11 12:11:50 +02:00
intc-sh7377.c ARM: shmobile: remove NR_IRQS 2012-01-25 20:37:51 -06:00
Kconfig sh: intc: unify evt2irq/irq2evt macros for sh and arm 2012-01-25 20:37:47 -06:00
Makefile ARM: shmobile: convert to twd_local_timer_register() interface 2012-03-13 13:30:31 +00:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
pfc-r8a7740.c ARM: mach-shmobile: r8a7740: add PFC support. 2011-11-11 16:55:33 +09:00
pfc-r8a7779.c ARM: mach-shmobile: r8a7779 PFC IPSR4 fix 2012-02-24 13:24:59 +09:00
pfc-sh73a0.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
pfc-sh7367.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
pfc-sh7372.c ARM: mach-shmobile: add GPIO-to-IRQ translation to sh7372 2012-01-24 10:40:25 +09:00
pfc-sh7377.c ARM: mach-shmobile: move helper macro PORTCR to sh_pfc.h 2011-11-11 16:45:35 +09:00
platsmp.c ARM: shmobile: convert to twd_local_timer_register() interface 2012-03-13 13:30:31 +00:00
pm-r8a7779.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
pm-sh7372.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
setup-r8a7740.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
setup-sh73a0.c ARM / mach-shmobile: sh73a0 SMP TWD boot regression fix 2012-05-12 22:13:45 +02:00
setup-sh7367.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
setup-sh7372.c ARM: mach-shmobile: sh7372 generic board support via DT V2 2012-04-11 12:19:31 +02:00
setup-sh7377.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-03-29 16:53:48 -07:00
sleep-sh7372.S PM / shmobile: Add support for the sh7372 A4S power domain / sleep mode 2011-12-25 23:39:03 +01:00
smp-r8a7779.c ARM / mach-shmobile: r8a7779 SMP TWD boot regression fix 2012-05-12 22:13:38 +02:00
smp-sh73a0.c ARM / mach-shmobile: sh73a0 SMP TWD boot regression fix 2012-05-12 22:13:45 +02:00
suspend.c Disintegrate asm/system.h for ARM 2012-03-28 18:30:01 +01:00
timer.c ARM / mach-shmobile: Use preset_lpj with calibrate_delay() 2012-05-12 22:21:36 +02:00