Re: [PATCH RFC v1 02/11] x86/fpu/xstate: Introduce xstate order table and accessor macro
From: Chang S. Bae
Date: Thu Mar 20 2025 - 19:47:15 EST
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@xxxxxxxxx/
Thanks,
Chang