Re: [PATCH] x86/fpu: Warn only when CPU-provided sizes less than struct declaration

From: Dave Hansen
Date: Wed Jan 15 2020 - 11:54:46 EST


On 1/13/20 1:54 AM, Suravee Suthikulpanit wrote:
>
> It would also generate another warning in do_extra_xstate_size_checks()
> due to XSTATE_WARN_ON(paranoid_xstate_size != fpu_kernel_xstate_size)
> (see
> https://elixir.bootlin.com/linux/latest/source/arch/x86/kernel/fpu/xstate.c#L608).

I'd love to see the patch that fixes this. :)

Or, is it already fixed by this?

https://lore.kernel.org/lkml/20200109211452.27369-4-yu-cheng.yu@xxxxxxxxx/