Home
last modified time | relevance | path

Searched refs:intercept (Results 1 – 25 of 41) sorted by relevance

12

/linux/tools/testing/selftests/timers/
H A Dfreq-step.c111 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
130 *intercept = (y_sum - *slope * x_sum) / n; in regress()
137 r = fabs(x * *slope + *intercept - y); in regress()
149 double intercept, slope, stddev1, max1, stddev2, max2; in run_test() local
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
180 regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1); in run_test()
184 regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope, in run_test()
/linux/tools/testing/selftests/kvm/x86/
H A Dnested_vmsave_vmload_test.c79 svm->vmcb->control.intercept |= (BIT_ULL(INTERCEPT_VMSAVE) | in l1_guest_code()
105 svm->vmcb->control.intercept &= ~(BIT_ULL(INTERCEPT_VMSAVE) | in l1_guest_code()
H A Dsvm_nested_shutdown_test.c29 vmcb->control.intercept &= ~(BIT(INTERCEPT_SHUTDOWN)); in l1_guest_code()
H A Dsvm_int_ctl_test.c71 vmcb->control.intercept &= ~(BIT(INTERCEPT_INTR) | BIT(INTERCEPT_VINTR)); in l1_guest_code()
H A Dtriple_fault_event_test.c51 vmcb->control.intercept &= ~(BIT(INTERCEPT_SHUTDOWN)); in l1_guest_code_svm()
H A Dnested_emulation_test.c64 vmcb->control.intercept |= BIT_ULL(INTERCEPT_SHUTDOWN) | in guest_code()
H A Dsvm_nested_soft_inject_test.c94 vmcb->control.intercept |= BIT(INTERCEPT_NMI) | BIT(INTERCEPT_HLT); in l1_guest_code()
H A Dhyperv_svm_test.c102 vmcb->control.intercept |= 1ULL << INTERCEPT_MSR_PROT; in guest_code()
H A Dnested_exceptions_test.c98 ctrl->intercept |= BIT_ULL(INTERCEPT_SHUTDOWN); in l1_svm_code()
/linux/arch/x86/kvm/svm/
H A Dsvm.c713 bool intercept = !(svm->vmcb->control.virt_ext & LBR_CTL_ENABLE_MASK); in svm_recalc_lbr_msr_intercepts() local
715 if (intercept == svm->lbr_msrs_intercepted) in svm_recalc_lbr_msr_intercepts()
718 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTBRANCHFROMIP, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts()
719 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTBRANCHTOIP, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts()
720 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTINTFROMIP, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts()
721 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTINTTOIP, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts()
724 svm_set_intercept_for_msr(vcpu, MSR_IA32_DEBUGCTLMSR, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts()
726 svm->lbr_msrs_intercepted = intercept; in svm_recalc_lbr_msr_intercepts()
736 bool intercept = !kvm_vcpu_has_mediated_pmu(vcpu); in svm_recalc_pmu_msr_intercepts() local
746 MSR_TYPE_RW, intercept); in svm_recalc_pmu_msr_intercepts()
[all …]
H A Davic.c112 bool intercept) in avic_set_x2apic_msr_interception() argument
148 if (intercept == svm->x2avic_msrs_intercepted) in avic_set_x2apic_msr_interception()
156 MSR_TYPE_RW, intercept); in avic_set_x2apic_msr_interception()
158 svm->x2avic_msrs_intercepted = intercept; in avic_set_x2apic_msr_interception()
/linux/arch/x86/kvm/
H A Dkvm_emulate.h38 u8 intercept; /* which intercept */ member
224 int (*intercept)(struct x86_emulate_ctxt *ctxt, member
360 u8 intercept; member
H A Demulate.c192 u8 intercept; member
414 enum x86_intercept intercept, in emulator_check_intercept() argument
418 .intercept = intercept, in emulator_check_intercept()
434 return ctxt->ops->intercept(ctxt, &info, stage); in emulator_check_intercept()
3937 #define DI(_y, _i) { .flags = (_y)|Intercept, .intercept = x86_intercept_##_i }
3939 .intercept = x86_intercept_##_i, .check_perm = (_p) }
3949 { .flags = (_f)|Intercept, .u.execute = (_e), .intercept = x86_intercept_##_i }
3952 .intercept = x86_intercept_##_i, .check_perm = (_p) }
4859 ctxt->intercept = x86_intercept_none; in x86_decode_insn()
5126 ctxt->intercept = opcode.intercept; in x86_decode_insn()
[all …]
/linux/arch/s390/kvm/
H A DMakefile10 kvm-y += kvm-s390.o intercept.o interrupt.o priv.o sigp.o
/linux/arch/x86/kvm/vmx/
H A Dvmx.c4294 bool intercept = !has_mediated_pmu; in vmx_recalc_pmu_msr_intercepts() local
4316 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts()
4318 intercept || !fw_writes_is_enabled(vcpu)); in vmx_recalc_pmu_msr_intercepts()
4329 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts()
4334 intercept = kvm_need_perf_global_ctrl_intercept(vcpu); in vmx_recalc_pmu_msr_intercepts()
4336 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts()
4338 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts()
4340 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts()
4345 bool intercept; in vmx_recalc_msr_intercepts() local
4393 intercept = !guest_cpu_cap_has(vcpu, X86_FEATURE_SHSTK); in vmx_recalc_msr_intercepts()
[all …]
/linux/Documentation/timers/
H A Dhpet.rst24 platform code which uses timer 0 or 1 as the main timer to intercept HPET
/linux/Documentation/livepatch/
H A Dreliable-stacktrace.rst163 to intercept when that function returns with a return trampoline, e.g.
166 tracing can intercept returns.
169 kretprobes can intercept returns.
228 Some trampolines do not rewrite the return address in order to intercept
/linux/tools/testing/selftests/kvm/lib/x86/
H A Dsvm.c120 ctrl->intercept = (1ULL << INTERCEPT_VMRUN) | in generic_svm_setup()
/linux/tools/testing/selftests/kvm/include/x86/
H A Dsvm.h81 u64 intercept; member
/linux/Documentation/virt/kvm/s390/
H A Ds390-pv-boot.rst23 SIE instruction which the UV will intercept and execute on KVM's
H A Ds390-diag.rst18 DIAGNOSE calls by the guest cause a mandatory intercept. This implies
H A Ds390-pv.rst55 KVM cannot intercept lctl(g) and lpsw(e) anymore in order to be
/linux/Documentation/virt/kvm/x86/
H A Derrata.rst57 intercept the #DB, temporarily disable the breakpoint, single-step over the
/linux/Documentation/dev-tools/kunit/api/
H A Dfunctionredirection.rst32 A simpler way to intercept and replace some of the function calls is to use
/linux/Documentation/admin-guide/laptops/
H A Dsonypi.rst32 Another option to intercept the events is to get them directly through the

12