aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2020-06-26 17:21:11 +0000
committerThomas Gleixner <[email protected]>2020-07-01 08:00:25 +0000
commitc9c26150e61de441ab58b25c1f64afc049ee0fee (patch)
tree0292fa333d46db5c508cfeeaf40cc4365c0b084a /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentx86/split_lock: Don't write MSR_TEST_CTRL on CPUs that aren't whitelisted (diff)
downloadkernel-c9c26150e61de441ab58b25c1f64afc049ee0fee.tar.gz
kernel-c9c26150e61de441ab58b25c1f64afc049ee0fee.zip
x86/entry: Assert that syscalls are on the right stack
Now that the entry stack is a full page, it's too easy to regress the system call entry code and end up on the wrong stack without noticing. Assert that all system calls (SYSCALL64, SYSCALL32, SYSENTER, and INT80) are on the right stack and have pt_regs in the right place. Signed-off-by: Andy Lutomirski <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/52059e42bb0ab8551153d012d68f7be18d72ff8e.1593191971.git.luto@kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions