Re: [PATCH v5 04/13] x86/fsgsbase/64: Add intrinsics for FSGSBASE instructions

2019-02-01 Thread Andy Lutomirski
On Fri, Feb 1, 2019 at 12:54 PM Chang S. Bae wrote: > > From: Andi Kleen > > Add C intrinsics and assembler macros for the new FSBASE and GSBASE > instructions. > > Very straight forward. Used in followon patches. > > [ luto: Rename the variables from FS and GS to FSBASE and GSBASE and > make

[PATCH v5 04/13] x86/fsgsbase/64: Add intrinsics for FSGSBASE instructions

2019-02-01 Thread Chang S. Bae
From: Andi Kleen Add C intrinsics and assembler macros for the new FSBASE and GSBASE instructions. Very straight forward. Used in followon patches. [ luto: Rename the variables from FS and GS to FSBASE and GSBASE and make safe to include on 32-bit kernels. ] v2: Use __always_inline [