Lines Matching refs:vmcs_info

2232 				      struct intel_pt_vmcs_info *vmcs_info)  in intel_pt_translate_vm_tsc()  argument
2237 decoder->packet.payload -= vmcs_info->tsc_offset; in intel_pt_translate_vm_tsc()
2250 payload, decoder->packet.payload, vmcs_info->vmcs, in intel_pt_translate_vm_tsc()
2251 vmcs_info->tsc_offset); in intel_pt_translate_vm_tsc()
2257 struct intel_pt_vmcs_info vmcs_info = { in intel_pt_translate_vm_tsc_offset() local
2262 intel_pt_translate_vm_tsc(decoder, &vmcs_info); in intel_pt_translate_vm_tsc_offset()
2275 static void intel_pt_print_vmcs_info(struct intel_pt_vmcs_info *vmcs_info) in intel_pt_print_vmcs_info() argument
2278 vmcs_info->vmcs, vmcs_info->tsc_offset); in intel_pt_print_vmcs_info()
2295 struct intel_pt_vmcs_info *vmcs_info, in intel_pt_vm_tm_corr_first_tsc() argument
2305 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_first_tsc()
2306 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2320 if (vmcs_info && vmcs_info->tsc_offset) in intel_pt_vm_tm_corr_first_tsc()
2321 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_first_tsc()
2331 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_tsc() local
2365 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_tsc()
2371 intel_pt_vm_tm_corr_first_tsc(decoder, data, vmcs_info, host_tsc); in intel_pt_vm_tm_corr_tsc()
2382 if (!vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2406 if (vmcs_info && in intel_pt_vm_tm_corr_tsc()
2408 (vmcs_info->tsc_offset & SEVEN_BYTES)) { in intel_pt_vm_tm_corr_tsc()
2429 if (vmcs_info && vmcs_info->vmcs) { in intel_pt_vm_tm_corr_tsc()
2430 if (vmcs_info->tsc_offset && vmcs_info->reliable) { in intel_pt_vm_tm_corr_tsc()
2448 if (assign && (vmcs_info->tsc_offset != tsc_offset || in intel_pt_vm_tm_corr_tsc()
2449 vmcs_info->reliable != assign_reliable)) { in intel_pt_vm_tm_corr_tsc()
2450 bool print = vmcs_info->tsc_offset != tsc_offset; in intel_pt_vm_tm_corr_tsc()
2452 vmcs_info->tsc_offset = tsc_offset; in intel_pt_vm_tm_corr_tsc()
2453 vmcs_info->reliable = assign_reliable; in intel_pt_vm_tm_corr_tsc()
2455 intel_pt_print_vmcs_info(vmcs_info); in intel_pt_vm_tm_corr_tsc()
2459 if (vmcs_info && vmcs_info->tsc_offset) { in intel_pt_vm_tm_corr_tsc()
2460 if (!vmcs_info->reliable) in intel_pt_vm_tm_corr_tsc()
2462 intel_pt_translate_vm_tsc(decoder, vmcs_info); in intel_pt_vm_tm_corr_tsc()
2465 if (vmcs_info) { in intel_pt_vm_tm_corr_tsc()
2466 if (!vmcs_info->error_printed) { in intel_pt_vm_tm_corr_tsc()
2468 vmcs_info->vmcs); in intel_pt_vm_tm_corr_tsc()
2469 vmcs_info->error_printed = true; in intel_pt_vm_tm_corr_tsc()
2485 struct intel_pt_vmcs_info *vmcs_info; in intel_pt_vm_tm_corr_pebs_tsc() local
2492 vmcs_info = decoder->findnew_vmcs_info(decoder->data, vmcs); in intel_pt_vm_tm_corr_pebs_tsc()
2496 if (!vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2510 if (vmcs_info) { in intel_pt_vm_tm_corr_pebs_tsc()
2512 host_tsc = ((guest_tsc & SEVEN_BYTES) - vmcs_info->tsc_offset) & SEVEN_BYTES; in intel_pt_vm_tm_corr_pebs_tsc()
2516 guest_tsc, host_tsc, vmcs_info->vmcs, in intel_pt_vm_tm_corr_pebs_tsc()
2517 vmcs_info->tsc_offset); in intel_pt_vm_tm_corr_pebs_tsc()