Re: [PATCH v2 1/6] x86/bugs: Add asm helpers for executing VERW

From: Pawan Gupta
Date: Wed Oct 25 2023 - 11:10:29 EST


On Wed, Oct 25, 2023 at 08:58:18AM +0200, Peter Zijlstra wrote:
> > +.pushsection .rodata
> > +.align 64
> > +mds_verw_sel:
> > + .word __KERNEL_DS
> > + .byte 0xcc
> > +.align 64
> > +.popsection
>
> This should not be in a header file, you'll get an instance of this per
> translation unit, not what you want.

Agh, sorry I missed it.