Re: backport Rewrite sync_core() to use IRET-to-self to stable kernels?

From: Andy Lutomirski
Date: Mon Jan 22 2018 - 22:07:13 EST


On Mon, Jan 22, 2018 at 6:59 PM, Zhang, Ning A <ning.a.zhang@xxxxxxxxx> wrote:
> hello, Greg, Andy, Thomas
>
> would you like to backport these two patches to LTS kernel?
>
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/arch/x86/include/asm/processor.h?h=v4.14.14&id=1c52d859cb2d417e7216d3e56bb7fea88444cec9
>
> x86/asm/32: Make sync_core() handle missing CPUID on all 32-bit kernels
>
> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/arch/x86/include/asm/processor.h?h=v4.14.14&id=c198b121b1a1d7a7171770c634cd49191bac4477
>
> x86/asm: Rewrite sync_core() to use IRET-to-self
>

I'd be in favor of backporting
1c52d859cb2d417e7216d3e56bb7fea88444cec9. I see no compelling reason
to backport the other one, since it doesn't fix a bug. Greg, can you
do this?