Re: [PATCH v6 5/5] x86/gsseg: use the LKGS instruction if available for load_gs_index()

From: Borislav Petkov
Date: Mon Jul 01 2024 - 02:40:32 EST


On Sun, Jun 30, 2024 at 11:31:42PM -0700, H. Peter Anvin wrote:
> Yes, all loads into a segment register are truncated to 16 bits.

Right, but are we saying that somewhere explicitly or it is too obvious so
that there's no need to?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette