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

From: Len Brown
Date: Thu May 27 2021 - 10:03:02 EST


On Thu, May 27, 2021 at 7:56 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> 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