x86/asm: Rename FS/GS base helpers
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 11 Aug 2020 15:05:06 +0000 (16:05 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 29 Sep 2020 12:46:13 +0000 (13:46 +0100)
commitb18b8801d0457881282b9dde46ca1100bd5e6476
treee25e3d79c9935c19d09167e2c5379d97f6fb93fe
parent358d57d411ee759a5a9dbf367179a9ac37faf0b3
x86/asm: Rename FS/GS base helpers

They are currently named after the FSGSBASE instructions, but are not thin
wrappers around said instructions, and therefore do not accurately reflect the
logic they perform, especially when it comes to functioning safely in non
FSGSBASE context.

Rename them to {read,write}_{fs,gs}_base() to avoid confusion.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/domain.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/pv/domain.c
xen/arch/x86/pv/emul-priv-op.c
xen/arch/x86/pv/misc-hypercalls.c
xen/arch/x86/x86_64/traps.c
xen/include/asm-x86/msr.h