diff options
| author | Laura Abbott <[email protected]> | 2018-01-21 01:14:02 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-01-21 01:22:54 +0000 |
| commit | 91cfc88c66bf8ab95937606569670cf67fa73e09 (patch) | |
| tree | c9fe536ef27586f2936271c9109719a55a125c73 /fs/jbd2/commit.c | |
| parent | Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm (diff) | |
| download | kernel-91cfc88c66bf8ab95937606569670cf67fa73e09.tar.gz kernel-91cfc88c66bf8ab95937606569670cf67fa73e09.zip | |
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 <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Ingo Molnar <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
