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

Pawan Gupta
2023-10-25T15:10:29Z

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.