aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@amd.com>2022-06-14 23:15:44 +0200
committerBorislav Petkov <bp@suse.de>2022-06-27 10:33:58 +0200
commit0ee9073000e8791f8b134a8ded31bcc767f7f232 (patch)
tree44ad8925d2523a1dc64bc9b8c80171f00865158e /net/lapb/lapb_subr.c
parentx86/vsyscall_emu/64: Don't use RET in vsyscall emulation (diff)
downloadlinux-rng-0ee9073000e8791f8b134a8ded31bcc767f7f232.tar.xz
linux-rng-0ee9073000e8791f8b134a8ded31bcc767f7f232.zip
x86/sev: Avoid using __x86_return_thunk
Specifically, it's because __enc_copy() encrypts the kernel after being relocated outside the kernel in sme_encrypt_execute(), and the RET macro's jmp offset isn't amended prior to execution. Signed-off-by: Kim Phillips <kim.phillips@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions