linux_dsm_epyc7002/arch/arm/common
Mylène Josserand 7c607944bc ARM: smp: Add initialization of CNTVOFF
The CNTVOFF register from arch timer is uninitialized.
It should be done by the bootloader but it is currently not the case,
even for boot CPU because this SoC is booting in secure mode.
It leads to an random offset value meaning that each CPU will have a
different time, which isn't working very well.

Add assembly code used for boot CPU and secondary CPU cores to make
sure that the CNTVOFF register is initialized. Because this code can
be used by different platforms, add this assembly file in ARM's common
folder.

Signed-off-by: Mylène Josserand <mylene.josserand@bootlin.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
2018-05-08 14:50:42 +02:00
..
bL_switcher_dummy_if.c ARM: 8743/1: bL_switcher: add MODULE_LICENSE tag 2018-01-21 15:32:27 +00:00
bL_switcher.c sched/headers: Prepare to move signal wakeup & sigpending methods from <linux/sched.h> into <linux/sched/signal.h> 2017-03-02 08:42:32 +01:00
dmabounce.c arm: implement ->dma_supported instead of ->set_dma_mask 2017-06-28 06:54:49 -07:00
firmware.c ARM: Add interface for registering and calling firmware-specific operations 2013-04-09 01:52:06 +09:00
it8152.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
locomo.c PM: ARM: locomo: Drop suspend and resume bus type callbacks 2017-10-05 00:40:57 +02:00
Makefile ARM: smp: Add initialization of CNTVOFF 2018-05-08 14:50:42 +02:00
mcpm_entry.c ARM: 8675/1: MCPM: ensure not to enter __hyp_soft_restart from loopback and cpu_power_down 2017-05-23 17:26:08 +01:00
mcpm_head.S ARM: replace BSYM() with badr assembly macro 2015-05-08 17:33:50 +01:00
mcpm_platsmp.c ARM: use const and __initconst for smp_operations 2015-12-01 22:17:45 +01:00
sa1111.c ARM: sa1111: map interrupt numbers through irqdomain 2017-11-29 10:57:41 +00:00
scoop.c ARM: scoop: use gpiochip data pointer 2016-02-19 09:51:41 +01:00
secure_cntvoff.S ARM: smp: Add initialization of CNTVOFF 2018-05-08 14:50:42 +02:00
sharpsl_param.c ARM: 7845/1: sharpsl_param.c: fix invalid memory access for pxa devices 2013-10-03 10:39:43 +01:00
vlock.h ARM: mcpm: Add baremetal voting mutexes 2013-04-24 10:37:01 -04:00
vlock.S ARM: mcpm: use -st dsb option prior to sev instructions 2013-08-12 12:25:45 +01:00