Re: [PATCH v5 28/28] x86/fpu/amx: Clear the AMX state when appropriate

Len Brown
2021-05-27T14:03:02Z

On Thu, May 27, 2021 at 7:56 AM Peter Zijlstra <peterz@infradead.org> wrote:

> Why can't this live in intel_idle.c ?

You are right, and that looks reasonable.

I was thinking we'd have to hack mwait_idle_with_hints() used by everybody,
but we could clone intel_idle() above and have a plug in a tweaked version
for AMX hardware.

Len Brown, Intel Open Source Technology Center