Home
last modified time | relevance | path

Searched refs:GS (Results 1 – 24 of 24) sorted by relevance

/linux/Documentation/arch/x86/x86_64/
A Dfsgs.rst3 Using FS and GS segments in user space applications
25 Common FS and GS usage
41 Reading and writing the FS/GS base address
50 Accessing FS/GS base with arch_prctl()
79 RDGSBASE %reg Read the GS base register
81 WRGSBASE %reg Write the GS base register
98 the GS register and enforce them when GS base is set via
167 /* Set GS base to point to data0 */
170 /* Access offset 0 of GS */
174 /* Set GS base to point to data1 */
[all …]
A Dfred.rst32 instruction (LKGS) for managing the state of the GS segment register.
71 LKGS behaves like the MOV to GS instruction except that it loads the
72 base address into the IA32_KERNEL_GS_BASE MSR instead of the GS
74 mucking with kernel GS, i.e., an operating system can always operate
75 with its own GS base address.
78 of the GS base address and that of the IA32_KERNEL_GS_BASE MSR, plus
/linux/tools/testing/selftests/x86/
A Dfsgsbase.c112 enum which_base { FS, GS }; enumerator
164 base = read_base(GS); in check_gs_value()
198 base = read_base(GS); in mov_0_gs()
378 if (read_base(GS) != local) { in set_gs_and_switch_to()
386 local = read_base(GS); in set_gs_and_switch_to()
404 base = read_base(GS); in set_gs_and_switch_to()
437 base = read_base(GS); in test_unexpected_base()
/linux/tools/perf/arch/x86/tests/
A Dregs_load.S19 #define GS 15 * 8 macro
52 movq $0, GS(%rdi)
89 movl $0, GS(%edi)
/linux/drivers/gpu/drm/ci/xfails/
A Dvkms-none-skips.txt18 # FS: 0000000000000000(0000) GS:ffffa2ad2bc00000(0000) knlGS:0000000000000000
52 # FS: 0000000000000000(0000) GS:ffffa2ad2bc00000(0000) knlGS:0000000000000000
69 # FS: 0000000000000000(0000) GS:ffff9779abd00000(0000) knlGS:0000000000000000
103 # FS: 0000000000000000(0000) GS:ffff9779abd00000(0000) knlGS:0000000000000000
120 # FS: 0000000000000000(0000) GS:ffff8b126bd00000(0000) knlGS:0000000000000000
154 # FS: 0000000000000000(0000) GS:ffff8b126bd00000(0000) knlGS:0000000000000000
171 # FS: 0000000000000000(0000) GS:ffffa2c1abc00000(0000) knlGS:0000000000000000
/linux/arch/x86/um/
A Dptrace_64.c49 [GS >> 3] = HOST_GS,
82 case GS: in putreg()
158 case GS: in getreg()
A Dptrace_32.c41 [GS] = HOST_GS,
72 case GS: in putreg()
125 case GS: in getreg()
A Duser-offsets.c41 DEFINE(HOST_GS, GS); in foo()
70 DEFINE_LONGS(HOST_GS, GS); in foo()
A Dsignal.c171 GETREG(GS, gs); in copy_sc_from_user()
250 PUTREG(GS, gs); in copy_sc_to_user()
/linux/arch/arm/boot/dts/microchip/
A Dlan966x-kontron-kswitch-d10-mmt-6g-2gs.dts3 * Device Tree file for the Kontron KSwitch D10 MMT 6G-2GS
10 model = "Kontron KSwitch D10 MMT 6G-2GS";
/linux/arch/x86/kernel/
A Dprocess_64.c153 GS enumerator
288 save_base_legacy(task, task->thread.gsindex, GS); in save_fsgs()
399 loadseg(GS, next->gsindex); in x86_fsgsbase_load()
408 next->gsindex, next->gsbase, GS); in x86_fsgsbase_load()
882 loadseg(GS, 0); in do_arch_prctl_64()
/linux/arch/x86/include/uapi/asm/
A Dptrace-abi.h17 #define GS 10 macro
/linux/Documentation/arch/x86/
A Dentry_64.rst90 entry interrupting kernel mode execution, then we know that the GS
97 for GS is the slower method: the RDMSR.
108 that absolutely need the more expensive check for the GS base - and we
/linux/arch/x86/um/shared/sysdep/
A Dptrace_64.h41 #define GS (HOST_GS * sizeof(long)) macro
/linux/arch/x86/um/os-Linux/
A Dmcontext.c15 COPY_SEG(GS); COPY_SEG(FS); COPY_SEG(ES); COPY_SEG(DS); in get_regs_from_mc()
/linux/arch/arm64/boot/dts/amlogic/
A Dmeson-g12b-gsking-x.dts16 model = "Beelink GS-King X";
/linux/Documentation/admin-guide/hw-vuln/
A Dspectre.rst87 a user GS.
175 the GS register to a user-space value, if the swapgs is speculatively
176 skipped, subsequent GS-related percpu accesses in the speculation
177 window will be done with the attacker-controlled GS value. This
190 swapgs, and then do a speculative percpu load using the user GS
197 speculatively do the swapgs, causing the user GS to get used for the
/linux/arch/um/os-Linux/skas/
A Dprocess.c75 R(GS); in ptrace_reg_name()
/linux/arch/alpha/
A DKconfig107 Wildfire AlphaServer GS 40/80/160/320
222 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
/linux/Documentation/filesystems/
A Ddax.rst105 setting can be set, cleared and/or queried using the `FS_IOC_FS`[`GS`]`ETXATTR` ioctl
/linux/tools/arch/x86/lib/
A Dx86-opcode-map.txt153 65: SEG=GS (Prefix)
523 a8: PUSH GS (d64)
524 a9: POP GS (d64)
/linux/arch/x86/lib/
A Dx86-opcode-map.txt153 65: SEG=GS (Prefix)
523 a8: PUSH GS (d64)
524 a9: POP GS (d64)
/linux/tools/arch/x86/kcpuid/
A Dcpuid.csv281 7, 1, eax, 18, lkgs , LKGS: Load 'kernel' (userspace) GS
1008 0x80000021, 0, eax, 1, fsgs_non_serializing , WRMSR to {FS,GS,KERNEL_GS}_BASE i…
/linux/arch/x86/kvm/vmx/
A Dvmx.c524 VMX_SEGMENT_FIELD(GS),

Completed in 42 milliseconds