Messages in this thread | | | From | Len Brown <> | Date | Thu, 27 May 2021 10:02:43 -0400 | Subject | Re: [PATCH v5 28/28] x86/fpu/amx: Clear the AMX state when appropriate |
| |
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
| |