Re: [PATCH v7 18/18] x86/fsgsbase/64: Add documentation for FSGSBASE

From: Thomas Gleixner
Date: Sun Jun 16 2019 - 18:06:24 EST


On Sun, 16 Jun 2019, Bae, Chang Seok wrote:
> > On Jun 16, 2019, at 09:05, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> diff --git a/Documentation/x86/x86_64/fsgs.rst b/Documentation/x86/x86_64/fsgs.rst
> index 380c0b5..d5588e00 100644
> --- a/Documentation/x86/x86_64/fsgs.rst
> +++ b/Documentation/x86/x86_64/fsgs.rst
> @@ -125,7 +125,7 @@ FSGSBASE instructions enablement
> FSGSBASE instructions compiler support
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> -GCC version 4.6.4 and newer provide instrinsics for the FSGSBASE
> +GCC version 6 and newer provide instrinsics for the FSGSBASE
> instructions. Clang supports them as well.
>
> =================== ===========================
> @@ -141,7 +141,7 @@ code and the compiler option -mfsgsbase has to be added.
> Compiler support for FS/GS based addressing
> -------------------------------------------
>
> -GCC version 6 and newer provide support for FS/GS based addressing via
> +GCC version 4.6.4 and newer provide support for FS/GS based addressing via
> Named Address Spaces. GCC implements the following address space
> identifiers for x86:

That's close to what I pushed out earlier into tip WIP.x86/cpu

Please check against that version including the Clang part about address
spaces close to the end.

Thanks,

tglx