Searched refs:x86_tss (Results 1 – 15 of 15) sorted by relevance
| /linux/arch/x86/coco/sev/ |
| H A D | noinstr.c | 58 new_ist = old_ist = __this_cpu_read(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC]); in __sev_es_ist_enter() 76 this_cpu_write(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC], new_ist); in __sev_es_ist_enter() 84 ist = __this_cpu_read(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC]); in __sev_es_ist_exit() 90 this_cpu_write(cpu_tss_rw.x86_tss.ist[IST_INDEX_VC], *(unsigned long *)ist); in __sev_es_ist_exit()
|
| /linux/arch/x86/include/asm/ |
| H A D | switch_to.h | 60 if (unlikely(this_cpu_read(cpu_tss_rw.x86_tss.ss1) == thread->sysenter_cs)) in refresh_sysenter_cs() 63 this_cpu_write(cpu_tss_rw.x86_tss.ss1, thread->sysenter_cs); in refresh_sysenter_cs() 73 this_cpu_write(cpu_tss_rw.x86_tss.sp1, task->thread.sp0); in update_task_stack()
|
| H A D | processor.h | 339 offsetof(struct tss_struct, x86_tss)) 343 offsetof(struct tss_struct, x86_tss)) 355 (offsetof(struct tss_struct, x86_tss) + sizeof(struct x86_hw_tss) - 1) 406 struct x86_hw_tss x86_tss; member 536 this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0); in native_load_sp0()
|
| H A D | io_bitmap.h | 33 this_cpu_write(cpu_tss_rw.x86_tss.io_bitmap_base, in native_tss_invalidate_io_bitmap()
|
| /linux/arch/x86/kernel/ |
| H A D | asm-offsets.c | 122 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); in common() 123 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); in common() 124 OFFSET(TSS_sp2, tss_struct, x86_tss.sp2); in common()
|
| H A D | asm-offsets_32.c | 44 offsetof(struct cpu_entry_area, tss.x86_tss.sp1) - in foo()
|
| H A D | doublefault_32.c | 16 #define TSS(x) this_cpu_read(cpu_tss_rw.x86_tss.x)
|
| H A D | dumpstack_32.c | 102 info->next_sp = (unsigned long *)this_cpu_read(cpu_tss_rw.x86_tss.sp); in in_doublefault_stack()
|
| H A D | process.c | 68 .x86_tss = { 474 u16 *base = &tss->x86_tss.io_bitmap_base; in native_tss_update_io_bitmap()
|
| H A D | traps.c | 627 struct pt_regs *gpregs = (struct pt_regs *)this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in DEFINE_IDTENTRY_DF() 1105 new_stack = (struct pt_regs *)__this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in fixup_bad_iret()
|
| /linux/arch/x86/mm/ |
| H A D | cpu_entry_area.c | 222 BUILD_BUG_ON((offsetof(struct tss_struct, x86_tss) ^ in setup_cpu_entry_area() 223 offsetofend(struct tss_struct, x86_tss)) & PAGE_MASK); in setup_cpu_entry_area() 230 BUILD_BUG_ON(offsetof(struct tss_struct, x86_tss) != 0); in setup_cpu_entry_area()
|
| /linux/arch/x86/kernel/cpu/ |
| H A D | common.c | 2144 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu() 2145 wrmsrq(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1); in enable_sep_cpu() 2376 tss->x86_tss.ist[IST_INDEX_DF] = __this_cpu_ist_top_va(DF); in tss_setup_ist() 2377 tss->x86_tss.ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI); in tss_setup_ist() 2378 tss->x86_tss.ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB); in tss_setup_ist() 2379 tss->x86_tss.ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE); in tss_setup_ist() 2381 tss->x86_tss.ist[IST_INDEX_VC] = __this_cpu_ist_top_va(VC); in tss_setup_ist() 2389 tss->x86_tss.io_bitmap_base = IO_BITMAP_OFFSET_INVALID; in tss_setup_io_bitmap() 2419 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in cpu_init_exception_handling()
|
| /linux/arch/x86/xen/ |
| H A D | enlighten_pv.c | 1015 this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0); in xen_load_sp0() 1037 iobitmap.bitmap = (uint8_t *)(&tss->x86_tss) + in xen_update_io_bitmap() 1038 tss->x86_tss.io_bitmap_base; in xen_update_io_bitmap() 1039 if (tss->x86_tss.io_bitmap_base == IO_BITMAP_OFFSET_INVALID) in xen_update_io_bitmap()
|
| /linux/arch/x86/power/ |
| H A D | cpu.c | 167 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 1569 (unsigned long)&get_cpu_entry_area(cpu)->tss.x86_tss); in vmx_vcpu_load_vmcs()
|