linux-uconsole/arch/arm64
Sami Tolvanen 0db85aae47 FROMLIST: arm64: efi: restore x18 if it was corrupted
If we detect a corrupted x18 and SCS is enabled, restore the register
before jumping back to instrumented code. This is safe, because the
wrapper is called with preemption disabled and a separate shadow stack
is used for interrupt handling.

Bug: 145210207
Change-Id: Idb75117e38c895231a14f5573261861e722c1264
(am from https://lore.kernel.org/patchwork/patch/1149060/)
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
2019-11-26 13:27:38 -08:00
..
boot ARM: SoC fixes 2019-11-10 13:41:59 -08:00
configs ANDROID: gki_defconfig: =m's applied for virtio configs in arm64 2019-11-26 19:37:18 +00:00
crypto crypto: arm64/aes-neonbs - implement ciphertext stealing for XTS 2019-09-09 17:35:39 +10:00
include FROMLIST: arm64: preserve x18 when CPU is suspended 2019-11-26 13:27:38 -08:00
kernel FROMLIST: arm64: efi: restore x18 if it was corrupted 2019-11-26 13:27:38 -08:00
kvm FROMLIST: arm64: kvm: stop treating register x18 as caller save 2019-11-26 13:27:36 -08:00
lib FROMLIST: arm64/lib: copy_page: avoid x18 register in assembler code 2019-11-26 13:27:36 -08:00
mm FROMLIST: arm64: preserve x18 when CPU is suspended 2019-11-26 13:27:38 -08:00
net arm64: bpf: optimize modulo operation 2019-09-03 15:44:40 +02:00
xen xen/efi: have a common runtime setup function 2019-10-02 10:31:07 -04:00
Kbuild arm64: add arch/arm64/Kbuild 2019-08-21 18:47:15 +01:00
Kconfig FROMLIST: arm64: disable function graph tracing with SCS 2019-11-26 13:27:37 -08:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Kconfig.platforms arm64: exynos: Enable exynos-chipid driver 2019-09-04 22:43:26 +02:00
Makefile FROMLIST: arm64: reserve x18 from general allocation with SCS 2019-11-26 13:27:38 -08:00