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

From: Thomas Gleixner
Date: Sun Jun 16 2019 - 12:12:14 EST


On Sun, 16 Jun 2019, Randy Dunlap wrote:
> On 6/13/19 11:54 PM, Thomas Gleixner wrote:
> > +
> > +There exist two mechanisms to read and write the FS/FS base address:
>
> should this be... FS/GS

Indeed.

> > +FSGSBASE instructions enablement
> > +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > + The instructions are enumerated in CPUID leaf 7, bit 0 of EBX. If
> > + available /proc/cpuinfo shows 'fsgsbase' in the flag entry of the CPUs.
> > +
> > + The availability of the instructions is not enabling them
>
> prefer: does not enable them

ok.

> > + automatically. The kernel has to enable them explicitely in CR4. The
>
> typo: explicitly

ok.

Randy, thanks for reviewing that!


tglx