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

From: Bae, Chang Seok
Date: Sun Jun 16 2019 - 16:52:56 EST



> On Jun 16, 2019, at 09:05, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
>
> On Sun, 16 Jun 2019, Bae, Chang Seok wrote:
>>
>> Thanks. This is the diff though.
>> ...
>
> WHAT? How is this related ?

No. Sigh on me.. Instead of the garbage, I hoped to point out these small version things.
(The delta against the WIP.x86/cpu branch)

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: