Home
last modified time | relevance | path

Searched refs:x86_tss (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.15/arch/x86/include/asm/
Dswitch_to.h56 if (unlikely(this_cpu_read(cpu_tss_rw.x86_tss.ss1) == thread->sysenter_cs)) in refresh_sysenter_cs()
59 this_cpu_write(cpu_tss_rw.x86_tss.ss1, thread->sysenter_cs); in refresh_sysenter_cs()
72 this_cpu_write(cpu_tss_rw.x86_tss.sp1, task->thread.sp0); in update_task_stack()
Dprocessor.h347 offsetof(struct tss_struct, x86_tss))
351 offsetof(struct tss_struct, x86_tss))
363 (offsetof(struct tss_struct, x86_tss) + sizeof(struct x86_hw_tss) - 1)
414 struct x86_hw_tss x86_tss; member
551 this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0); in native_load_sp0()
Dio_bitmap.h33 this_cpu_write(cpu_tss_rw.x86_tss.io_bitmap_base, in native_tss_invalidate_io_bitmap()
/Linux-v5.15/arch/x86/kernel/
Dasm-offsets.c93 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); in common()
94 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); in common()
95 OFFSET(TSS_sp2, tss_struct, x86_tss.sp2); in common()
Dasm-offsets_32.c53 offsetof(struct cpu_entry_area, tss.x86_tss.sp1) - in foo()
Ddoublefault_32.c15 #define TSS(x) this_cpu_read(cpu_tss_rw.x86_tss.x)
Ddumpstack_32.c102 info->next_sp = (unsigned long *)this_cpu_read(cpu_tss_rw.x86_tss.sp); in in_doublefault_stack()
Dsev.c159 new_ist = old_ist = __this_cpu_read(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC]); in __sev_es_ist_enter()
177 this_cpu_write(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC], new_ist); in __sev_es_ist_enter()
185 ist = __this_cpu_read(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC]); in __sev_es_ist_exit()
191 this_cpu_write(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC], *(unsigned long *)ist); in __sev_es_ist_exit()
Dprocess.c57 .x86_tss = {
397 u16 *base = &tss->x86_tss.io_bitmap_base; in native_tss_update_io_bitmap()
Dtraps.c379 struct pt_regs *gpregs = (struct pt_regs *)this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in DEFINE_IDTENTRY_DF()
747 (struct bad_iret_stack *)__this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in fixup_bad_iret()
/Linux-v5.15/arch/x86/mm/
Dcpu_entry_area.c171 BUILD_BUG_ON((offsetof(struct tss_struct, x86_tss) ^ in setup_cpu_entry_area()
172 offsetofend(struct tss_struct, x86_tss)) & PAGE_MASK); in setup_cpu_entry_area()
179 BUILD_BUG_ON(offsetof(struct tss_struct, x86_tss) != 0); in setup_cpu_entry_area()
/Linux-v5.15/arch/x86/kernel/cpu/
Dcommon.c1654 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu()
1655 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu()
1889 tss->x86_tss.ist[IST_INDEX_DF] = __this_cpu_ist_top_va(DF); in tss_setup_ist()
1890 tss->x86_tss.ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI); in tss_setup_ist()
1891 tss->x86_tss.ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB); in tss_setup_ist()
1892 tss->x86_tss.ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE); in tss_setup_ist()
1894 tss->x86_tss.ist[IST_INDEX_VC] = __this_cpu_ist_top_va(VC); in tss_setup_ist()
1912 tss->x86_tss.io_bitmap_base = IO_BITMAP_OFFSET_INVALID; in tss_setup_io_bitmap()
1941 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in cpu_init_exception_handling()
/Linux-v5.15/arch/x86/xen/
Denlighten_pv.c840 this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0); in xen_load_sp0()
862 iobitmap.bitmap = (uint8_t *)(&tss->x86_tss) + in xen_update_io_bitmap()
863 tss->x86_tss.io_bitmap_base; in xen_update_io_bitmap()
864 if (tss->x86_tss.io_bitmap_base == IO_BITMAP_OFFSET_INVALID) in xen_update_io_bitmap()
/Linux-v5.15/arch/x86/power/
Dcpu.c162 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context()
/Linux-v5.15/arch/x86/kvm/vmx/
Dvmx.c1294 (unsigned long)&get_cpu_entry_area(cpu)->tss.x86_tss); in vmx_vcpu_load_vmcs()