Re: [Patch v8 07/23] x86/fpu/xstate: Add xsaves_nmi() helper
From: Peter Zijlstra
Date: Mon Jun 01 2026 - 04:28:23 EST
On Mon, Jun 01, 2026 at 10:31:59AM +0800, Mi, Dapeng wrote:
> > Sashiko raises a fun point vs skid; if an exclude_kernel=1 event trips
> > inside the kernel this can potentially leak a whole pile of kernel regs.
> >
> > But of course the same thing is true for the existing setup. So perhaps
> > that doesn't need to concern us now.
> >
> > There used to be discussions about this case, and I think we had generic
> > code to sanitize such boundary events, but I can't seem to find that in
> > the current tree.
> >
> > Mark, ISTR you were involved at some point, any idea what happened?
>
> Just consult this question if current code has such kind of boundary check
> with Gemini, his answer is no.
Yeah, correct. There used to be (I think) and there definitely has been
much discussion on this point. But yeah, the current code has no such
checks.
As such, I'm not going to hold this series up for that. So don't worry
about it for now.