[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <02f06309-ccf1-45b8-bb6e-c6eb2e18c0b0@intel.com>
Date: Thu, 20 Mar 2025 16:46:56 -0700
From: "Chang S. Bae" <chang.seok.bae@...el.com>
To: Dave Hansen <dave.hansen@...el.com>, <linux-kernel@...r.kernel.org>
CC: <x86@...nel.org>, <tglx@...utronix.de>, <mingo@...hat.com>,
<bp@...en8.de>, <dave.hansen@...ux.intel.com>
Subject: Re: [PATCH RFC v1 02/11] x86/fpu/xstate: Introduce xstate order table
and accessor macro
On 2/27/2025 11:03 AM, Dave Hansen wrote:
>
> Two, dynamically generate it. I suspect that once you have the
> uncompacted offset read out of CPUID, you could generate this in fewer
> lines of code than it takes to define it manually. I think it would also
> not require adding new features manually.
Yeah, you also suggested using sort(), thanks! Just posted a revision of
this patch here:
https://lore.kernel.org/lkml/20250320234301.8342-3-chang.seok.bae@intel.com/
Thanks,
Chang
Powered by blists - more mailing lists