linux/arch
Vladimir Murzin 8071075d6e ARM: 8955/1: virt: Relax arch timer version check during early boot
[ Upstream commit 6849b5eba1 ]

Updates to the Generic Timer architecture allow ID_PFR1.GenTimer to
have values other than 0 or 1 while still preserving backward
compatibility. At the moment, Linux is quite strict in the way it
handles this field at early boot and will not configure arch timer if
it doesn't find the value 1.

Since here use ubfx for arch timer version extraction (hyb-stub build
with -march=armv7-a, so it is safe)

To help backports (even though the code was correct at the time of writing)

Fixes: 8ec58be9f3 ("ARM: virt: arch_timers: enable access to physical timers")
Acked-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Vladimir Murzin <vladimir.murzin@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-05 14:43:50 +00:00
..
alpha
arc arc: eznps: fix allmodconfig kconfig warning 2020-02-01 09:37:06 +00:00
arm ARM: 8955/1: virt: Relax arch timer version check during early boot 2020-02-05 14:43:50 +00:00
arm64 arm64: kbuild: remove compressed images on 'make ARCH=arm64 (dist)clean' 2020-02-05 14:43:35 +00:00
c6x
h8300
hexagon hexagon: work around compiler crash 2020-01-17 19:47:17 +01:00
ia64 mm/memory_hotplug: shrink zones when offlining memory 2020-01-29 16:43:27 +01:00
m68k m68k: Call timer_interrupt() with interrupts disabled 2020-01-27 14:51:23 +01:00
microblaze microblaze: fix multiple bugs in arch/microblaze/boot/Makefile 2019-12-05 09:20:13 +01:00
mips mips: avoid explicit UB in assignment of mips_io_port_base 2020-01-27 14:51:07 +01:00
nds32 nds32: Fix the items of hwcap_str ordering issue. 2019-12-13 08:51:35 +01:00
nios2 nios2: ksyms: Add missing symbol exports 2020-01-27 14:50:30 +01:00
openrisc openrisc: Fix broken paths to arch/or32 2019-12-05 09:20:40 +01:00
parisc parisc: Use proper printk format for resource_size_t 2020-02-05 14:43:45 +00:00
powerpc mm/memory_hotplug: shrink zones when offlining memory 2020-01-29 16:43:27 +01:00
riscv riscv: delete temporary files 2020-02-05 14:43:48 +00:00
s390 mm/memory_hotplug: shrink zones when offlining memory 2020-01-29 16:43:27 +01:00
sh mm/memory_hotplug: shrink zones when offlining memory 2020-01-29 16:43:27 +01:00
sparc sparc: Correct ctx->saw_frame_pointer logic. 2019-12-13 08:51:52 +01:00
um um: Fix off by one error in IRQ enumeration 2020-01-27 14:51:13 +01:00
unicore32
x86 x86/resctrl: Fix a deadlock due to inaccurate reference 2020-02-05 14:43:32 +00:00
xtensa xtensa: fix TLB sanity checker 2019-12-21 10:57:25 +01:00
.gitignore
Kconfig