Re: [PATCH] x86/mm/sme: Disable stack protection for mem_encrypt_identity.c

2018-02-27 Thread Kirill A. Shutemov
On Mon, Feb 26, 2018 at 05:25:54PM -0600, Tom Lendacky wrote: > Stack protection is not compatible with early boot code. All of the early > SME boot code is now isolated in a separate file, mem_encrypt_identity.c, > so arch/x86/mm/Makefile can be updated to turn off stack protection for > the

Re: [PATCH] x86/mm/sme: Disable stack protection for mem_encrypt_identity.c

2018-02-27 Thread Kirill A. Shutemov
On Mon, Feb 26, 2018 at 05:25:54PM -0600, Tom Lendacky wrote: > Stack protection is not compatible with early boot code. All of the early > SME boot code is now isolated in a separate file, mem_encrypt_identity.c, > so arch/x86/mm/Makefile can be updated to turn off stack protection for > the

Re: [PATCH] x86/mm/sme: Disable stack protection for mem_encrypt_identity.c

2018-02-27 Thread Borislav Petkov
On Mon, Feb 26, 2018 at 05:25:54PM -0600, Tom Lendacky wrote: > Stack protection is not compatible with early boot code. All of the early > SME boot code is now isolated in a separate file, mem_encrypt_identity.c, > so arch/x86/mm/Makefile can be updated to turn off stack protection for > the

Re: [PATCH] x86/mm/sme: Disable stack protection for mem_encrypt_identity.c

2018-02-27 Thread Borislav Petkov
On Mon, Feb 26, 2018 at 05:25:54PM -0600, Tom Lendacky wrote: > Stack protection is not compatible with early boot code. All of the early > SME boot code is now isolated in a separate file, mem_encrypt_identity.c, > so arch/x86/mm/Makefile can be updated to turn off stack protection for > the

[PATCH] x86/mm/sme: Disable stack protection for mem_encrypt_identity.c

2018-02-26 Thread Tom Lendacky
Stack protection is not compatible with early boot code. All of the early SME boot code is now isolated in a separate file, mem_encrypt_identity.c, so arch/x86/mm/Makefile can be updated to turn off stack protection for the entire file. This eliminates the need to worry about other functions

[PATCH] x86/mm/sme: Disable stack protection for mem_encrypt_identity.c

2018-02-26 Thread Tom Lendacky
Stack protection is not compatible with early boot code. All of the early SME boot code is now isolated in a separate file, mem_encrypt_identity.c, so arch/x86/mm/Makefile can be updated to turn off stack protection for the entire file. This eliminates the need to worry about other functions