u-boot/arch
Mark Rutland b924d586d7 arm64: zero cntvoff_el2
Currently cntvoff_el2 is initialised with an arbitrary bag of bits
derived from the initial value of cnthctl_el2 on the current CPU. This is
somewhat odd and problematic as some of these bits are UNKNOWN at reset
and may differ across CPUs (which may cause an OS at EL1 to observe time
going backwards across CPUs).

This patch instead initialises cntvoff_el2 with xzr, giving the register
a consistent value of zero on all CPUs.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: David Feng <fenghua@phytium.com.cn>
Cc: Tom Rini <trini@ti.com>
Acked-by: David.Feng <fenghua@phytium.com.cn>
2014-06-09 10:24:02 +02:00
..
arc common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
arm arm64: zero cntvoff_el2 2014-06-09 10:24:02 +02:00
avr32 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
blackfin blackfin: replace bfin_gen_rand_mac() with eth_random_addr() 2014-05-12 15:19:46 -04:00
m68k bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
microblaze bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
mips common/board_f: Initialized global data for generic board 2014-05-12 15:20:05 -04:00
nds32 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
nios2 bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
openrisc bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
powerpc mpc85xx/p1020:Define number of USB controllers used on P1020RDB-PD platform 2014-05-16 16:24:27 -05:00
sandbox Revert "sandbox: move source files from board/ to arch/sandbox/" 2014-05-16 11:40:51 -07:00
sh bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
sparc bd_info: remove bi_barudrate member from struct bd_info 2014-05-12 15:19:45 -04:00
x86 kbuild: move asm-offsets.c from SoC directory to arch/$(ARCH)/lib 2014-03-28 15:06:29 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00