[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a19a7713-7211-4952-b36e-a296794079d1@intel.com>
Date: Thu, 9 May 2024 10:41:27 -0700
From: Dave Hansen <dave.hansen@...el.com>
To: "Chang S. Bae" <chang.seok.bae@...el.com>, linux-kernel@...r.kernel.org
Cc: x86@...nel.org, platform-driver-x86@...r.kernel.org, tglx@...utronix.de,
mingo@...hat.com, bp@...en8.de, dave.hansen@...ux.intel.com,
hdegoede@...hat.com, ilpo.jarvinen@...ux.intel.com, tony.luck@...el.com,
ashok.raj@...el.com, jithu.joseph@...el.com
Subject: Re: [PATCH v2 1/2] x86/fpu: Extend kernel_fpu_begin_mask() to
initialize AMX state
On 5/9/24 10:36, Dave Hansen wrote:
> + restore_fpregs_from_fpstate(&init_fpstate,
> + fpu_user_cfg.max_features);
There is *one* subtlety here. This assumes that 'init_fpstate' has AMX
marked as being in its init state. But I think that's a pretty safe
assumption.
Powered by blists - more mailing lists