Re: [PATCH v3 09/21] x86/fpu/xstate: Introduce wrapper functions to organize xstate buffer access

From: Bae, Chang Seok
Date: Tue Feb 09 2021 - 10:51:38 EST


On Feb 8, 2021, at 04:33, Borislav Petkov <bp@xxxxxxx> wrote:
> On Wed, Dec 23, 2020 at 07:57:05AM -0800, Chang S. Bae wrote:
>> The struct fpu includes two (possible) xstate buffers -- fpu->state and
>> fpu->state_ptr. Instead of open code for accessing one of them, provide a
>> wrapper that covers both cases.
>
> Right, if you do the thing I suggested - have a single ->xstate pointer
> - then that below is not needed.

Yes. I dropped this patch.

Thanks,
Chang