Re: [PATCH] x86/mm: Disable branch profiling in mem_encrypt.c

2017-09-29 Thread Borislav Petkov
On Fri, Sep 29, 2017 at 11:24:19AM -0500, Tom Lendacky wrote: > Some routines in mem_encrypt.c are called very early in the boot process, > e.g. sme_encrypt_kernel(). When CONFIG_TRACE_BRANCH_PROFILING is defined > the resulting branch profiling associated with the check to see if SME is > active r

[PATCH] x86/mm: Disable branch profiling in mem_encrypt.c

2017-09-29 Thread Tom Lendacky
Some routines in mem_encrypt.c are called very early in the boot process, e.g. sme_encrypt_kernel(). When CONFIG_TRACE_BRANCH_PROFILING is defined the resulting branch profiling associated with the check to see if SME is active results in a kernel crash. Disable branch profiling for mem_encrypt.c b