[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190718004705.GA31085@kroah.com>
Date: Thu, 18 Jul 2019 09:47:05 +0900
From: Greg KH <gregkh@...uxfoundation.org>
To: Vaibhav Rustagi <vaibhavrustagi@...gle.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linux-kernel@...r.kernel.org, Vivek Goyal <vgoyal@...hat.com>,
Nick Desaulniers <ndesaulniers@...gle.com>,
stable@...r.kernel.org
Subject: Re: [PATCH 1/2] x86/purgatory: add -mno-sse, -mno-mmx, -mno-sse2 to
Makefile
On Wed, Jul 17, 2019 at 05:02:05PM -0700, Vaibhav Rustagi wrote:
> Compiling the purgatory code with clang results in using of mmx
> registers.
>
> $ objdump -d arch/x86/purgatory/purgatory.ro | grep xmm
>
> 112: 0f 28 00 movaps (%rax),%xmm0
> 115: 0f 11 07 movups %xmm0,(%rdi)
> 122: 0f 28 00 movaps (%rax),%xmm0
> 125: 0f 11 47 10 movups %xmm0,0x10(%rdi)
>
> Add -mno-sse, -mno-mmx, -mno-sse2 to avoid generating SSE instructions.
>
> Signed-off-by: Vaibhav Rustagi <vaibhavrustagi@...gle.com>
> ---
> arch/x86/purgatory/Makefile | 1 +
> 1 file changed, 1 insertion(+)
<formletter>
This is not the correct way to submit patches for inclusion in the
stable kernel tree. Please read:
https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html
for how to do this properly.
</formletter>
Powered by blists - more mailing lists