Re: [PATCH 1/2] x86/fpu: remove cpu argument to __cpu_invalidate_fpregs_state

From: Dave Hansen
Date: Fri Oct 14 2016 - 12:53:34 EST

On 10/14/2016 05:15 AM, riel@xxxxxxxxxx wrote:
> From: Rik van Riel <riel@xxxxxxxxxx>
> The __{fpu,cpu}_invalidate_fpregs_state functions can only be used
> to invalidate a resource they control. Document that, and change
> the API a little bit to reflect that.
> Go back to open coding the fpu_fpregs_owner_ctx write in the CPU
> hotplug code, which should be the exception, and move __kernel_fpu_begin
> to this API.
> This patch has no functional changes to the current code.
> Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>

Looks totally sane to me.

Acked-by: Dave Hansen <dave.hansen@xxxxxxxxx>