Re: [PATCH v5 21/28] x86/fpu/amx: Initialize child's AMX state

From: Len Brown
Date: Mon May 24 2021 - 13:37:22 EST


On Sun, May 23, 2021 at 11:09 PM Andy Lutomirski <luto@xxxxxxxxxx> wrote:

> If we're going to start having different states with different
> behaviors, let's make them real defines.
>
> #define XFEATURE_MASK_CLEARED_ON_CLONE ...

Probably a good idea.

However, "cleared on clone" isn't the property.
The property is that the state is treated as VOLATILE.

Len Brown, Intel Open Source Technology Center