android_kernel_motorola_sm6375/arch/arm64
Repository files (latest commit first)
Filename Latest commit message Latest commit date
James Morse df875dc844 UPSTREAM: arm64: entry: Add macro for reading symbol addresses from the trampoline
commit b28a8eebe81c186fdb1a0078263b30576c8e1f42 upstream.

The trampoline code needs to use the address of symbols in the wider
kernel, e.g. vectors. PC-relative addressing wouldn't work as the
trampoline code doesn't run at the address the linker expected.

tramp_ventry uses a literal pool, unless CONFIG_RANDOMIZE_BASE is
set, in which case it uses the data page as a literal pool because
the data page can be unmapped when running in user-space, which is
required for CPUs vulnerable to meltdown.

Pull this logic out as a macro, instead of adding a third copy
of it.

Bug: 215557547
Reviewed-by: Catalin Marinas <[email protected]>
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I21499219d00a0527097138896fafa9e64f1809e1
2022-03-17 18:06:29 +01:00
..
boot This is the 5.4.160 stable release 2021-11-17 10:19:21 +01:00
configs ANDROID: GKI: Enable CONFIG_SERIAL_8250_RUNTIME_UARTS=0 2022-02-11 09:39:11 +00:00
crypto This is the 5.4.102 stable release 2021-03-04 10:44:50 +01:00
include UPSTREAM: arm64: entry: Add vectors that have the bhb mitigation sequences 2022-03-17 18:06:27 +01:00
kernel UPSTREAM: arm64: entry: Add macro for reading symbol addresses from the trampoline 2022-03-17 18:06:29 +01:00
kvm UPSTREAM: arm64: add ID_AA64ISAR2_EL1 sys register 2022-03-17 18:05:59 +01:00
lib
mm UPSTREAM: arm64: entry: Allow the trampoline text to occupy multiple pages 2022-03-17 18:06:22 +01:00
net This is the 5.4.160 stable release 2021-11-17 10:19:21 +01:00
xen
Kbuild
Kconfig This is the 5.4.102 stable release 2021-03-04 10:44:50 +01:00
Kconfig.debug
Kconfig.platforms
Makefile Linux 5.4.129 2021-06-30 19:19:07 +02:00
OWNERS ANDROID: Add OWNERS files referring to the respective android-mainline OWNERS 2021-04-01 13:45:14 +00:00