| /linux/Documentation/arch/x86/x86_64/ |
| A D | fsgs.rst | 3 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 D | fred.rst | 32 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 D | fsgsbase.c | 112 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 D | regs_load.S | 19 #define GS 15 * 8 macro 52 movq $0, GS(%rdi) 89 movl $0, GS(%edi)
|
| /linux/drivers/gpu/drm/ci/xfails/ |
| A D | vkms-none-skips.txt | 18 # 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 D | ptrace_64.c | 49 [GS >> 3] = HOST_GS, 82 case GS: in putreg() 158 case GS: in getreg()
|
| A D | ptrace_32.c | 41 [GS] = HOST_GS, 72 case GS: in putreg() 125 case GS: in getreg()
|
| A D | user-offsets.c | 41 DEFINE(HOST_GS, GS); in foo() 70 DEFINE_LONGS(HOST_GS, GS); in foo()
|
| A D | signal.c | 171 GETREG(GS, gs); in copy_sc_from_user() 250 PUTREG(GS, gs); in copy_sc_to_user()
|
| /linux/arch/arm/boot/dts/microchip/ |
| A D | lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts | 3 * Device Tree file for the Kontron KSwitch D10 MMT 6G-2GS 10 model = "Kontron KSwitch D10 MMT 6G-2GS";
|
| /linux/arch/x86/kernel/ |
| A D | process_64.c | 153 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 D | ptrace-abi.h | 17 #define GS 10 macro
|
| /linux/Documentation/arch/x86/ |
| A D | entry_64.rst | 90 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 D | ptrace_64.h | 41 #define GS (HOST_GS * sizeof(long)) macro
|
| /linux/arch/x86/um/os-Linux/ |
| A D | mcontext.c | 15 COPY_SEG(GS); COPY_SEG(FS); COPY_SEG(ES); COPY_SEG(DS); in get_regs_from_mc()
|
| /linux/arch/arm64/boot/dts/amlogic/ |
| A D | meson-g12b-gsking-x.dts | 16 model = "Beelink GS-King X";
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| A D | spectre.rst | 87 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 D | process.c | 75 R(GS); in ptrace_reg_name()
|
| /linux/arch/alpha/ |
| A D | Kconfig | 107 Wildfire AlphaServer GS 40/80/160/320 222 AlphaServer GS 40/80/160/320 SMP based on the EV67 core.
|
| /linux/Documentation/filesystems/ |
| A D | dax.rst | 105 setting can be set, cleared and/or queried using the `FS_IOC_FS`[`GS`]`ETXATTR` ioctl
|
| /linux/tools/arch/x86/lib/ |
| A D | x86-opcode-map.txt | 153 65: SEG=GS (Prefix) 523 a8: PUSH GS (d64) 524 a9: POP GS (d64)
|
| /linux/arch/x86/lib/ |
| A D | x86-opcode-map.txt | 153 65: SEG=GS (Prefix) 523 a8: PUSH GS (d64) 524 a9: POP GS (d64)
|
| /linux/tools/arch/x86/kcpuid/ |
| A D | cpuid.csv | 281 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 D | vmx.c | 524 VMX_SEGMENT_FIELD(GS),
|