Re: [PATCH v4 0/8] Introduce CET supervisor state support
From: Chang S. Bae
Date: Tue Apr 01 2025 - 13:20:59 EST
On 3/18/2025 8:31 AM, Chao Gao wrote:
arch/x86/include/asm/fpu/types.h | 58 ++++++++++++++++++++++---------
arch/x86/include/asm/fpu/xstate.h | 9 +++--
arch/x86/kernel/fpu/core.c | 36 ++++++++++++-------
arch/x86/kernel/fpu/xstate.c | 42 +++++++++++++++-------
arch/x86/kernel/fpu/xstate.h | 2 ++
5 files changed, 102 insertions(+), 45 deletions(-)
Hi Chao Gao,
I've left a few comments on your patches. It looks like the structure of
your patch set has been shifting between postings. I’d recommend
reviewing the build-up of changes more carefully — see my reply on patch3.
Additionally, your approach to the ongoing discussion comes across as
somewhat reserved. Since you’re presenting a counterpoint to the
maintainer’s suggestion, I’d encourage you to articulate your reasoning
more clearly (see my comment on patch 7).
Most of other feedback focuses on refining individual changes.
Specifically, your upcoming modifications to the initialization sequence
do not look super clear. My suggestions in patch 4 reflect my
interpretation, but please consider whether there's a clearer way to
present the new configuration settings.
Thanks,
Chang