diff options
author | Laura Abbott <labbott@redhat.com> | 2018-01-20 17:14:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-01-20 17:22:54 -0800 |
commit | 91cfc88c66bf8ab95937606569670cf67fa73e09 (patch) | |
tree | c9fe536ef27586f2936271c9109719a55a125c73 /arch/x86/math-emu/reg_u_div.S | |
parent | 24b61240471ad4ed39740f1664d5240d91f4bf75 (diff) |
x86: Use __nostackprotect for sme_encrypt_kernel
Commit bacf6b499e11 ("x86/mm: Use a struct to reduce parameters for SME
PGD mapping") moved some parameters into a structure.
The structure was large enough to trigger the stack protection canary in
sme_encrypt_kernel which doesn't work this early, causing reboots.
Mark sme_encrypt_kernel appropriately to not use the canary.
Fixes: bacf6b499e11 ("x86/mm: Use a struct to reduce parameters for SME PGD mapping")
Signed-off-by: Laura Abbott <labbott@redhat.com>
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/math-emu/reg_u_div.S')
0 files changed, 0 insertions, 0 deletions