| /linux/tools/testing/selftests/timers/ |
| H A D | freq-step.c | 111 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 D | nested_vmsave_vmload_test.c | 75 svm->vmcb->control.intercept |= (BIT_ULL(INTERCEPT_VMSAVE) | in l1_guest_code() 101 svm->vmcb->control.intercept &= ~(BIT_ULL(INTERCEPT_VMSAVE) | in l1_guest_code()
|
| H A D | svm_nested_shutdown_test.c | 26 vmcb->control.intercept &= ~(BIT(INTERCEPT_SHUTDOWN)); in l1_guest_code()
|
| H A D | svm_int_ctl_test.c | 68 vmcb->control.intercept &= ~(BIT(INTERCEPT_INTR) | BIT(INTERCEPT_VINTR)); in l1_guest_code()
|
| H A D | triple_fault_event_test.c | 45 /* don't intercept shutdown to test the case of SVM allowing to do so */ in l1_guest_code_svm() 46 vmcb->control.intercept &= ~(BIT(INTERCEPT_SHUTDOWN)); in l1_guest_code_svm()
|
| H A D | nested_emulation_test.c | 64 vmcb->control.intercept |= BIT_ULL(INTERCEPT_SHUTDOWN) | in guest_code() 90 * the remaining bytes with INT3s so that a missed intercept in guest_code()
|
| H A D | svm_nested_soft_inject_test.c | 90 vmcb->control.intercept |= BIT(INTERCEPT_NMI) | BIT(INTERCEPT_HLT); in l1_guest_code()
|
| H A D | hyperv_svm_test.c | 98 vmcb->control.intercept |= 1ULL << INTERCEPT_MSR_PROT; in guest_code()
|
| H A D | nested_exceptions_test.c | 95 ctrl->intercept |= BIT_ULL(INTERCEPT_SHUTDOWN); in l1_svm_code() 208 * honors L1 exception intercept controls when a #SS is pending/injected, in queue_ss_exception() 260 * L1 should intercept before KVM morphs it to #DF. L1 should then in main()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | svm.c | 94 * intercept is enabled. Refer to AMD APM Vol 2 Section 15.14.4 Pause 111 * value is less than zero and PAUSE intercept is enabled, a #VMEXIT is 240 /* #GP intercept is still needed for vmware backdoor */ in svm_set_efer() 261 * Never intercept #GP for SEV guests, KVM can't in svm_set_efer() 727 bool intercept = !(svm->vmcb->control.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR); in svm_alloc_permissions_map() 729 if (intercept == svm->lbr_msrs_intercepted) in svm_alloc_permissions_map() 732 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTBRANCHFROMIP, MSR_TYPE_RW, intercept); 733 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTBRANCHTOIP, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts() 734 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTINTFROMIP, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts() 735 svm_set_intercept_for_msr(vcpu, MSR_IA32_LASTINTTOIP, MSR_TYPE_RW, intercept); in svm_recalc_lbr_msr_intercepts() 736 bool intercept = !(svm->vmcb->control.misc_ctl2 & SVM_MISC2_ENABLE_V_LBR); svm_recalc_lbr_msr_intercepts() local 759 bool intercept = !kvm_vcpu_has_mediated_pmu(vcpu); svm_recalc_pmu_msr_intercepts() local [all...] |
| /linux/arch/x86/kvm/vmx/ |
| H A D | vmx.c | 4235 bool intercept = !has_mediated_pmu; in vmx_recalc_pmu_msr_intercepts() local 4257 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts() 4259 intercept || !fw_writes_is_enabled(vcpu)); in vmx_recalc_pmu_msr_intercepts() 4270 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts() 4275 intercept = kvm_need_perf_global_ctrl_intercept(vcpu); in vmx_recalc_pmu_msr_intercepts() 4277 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts() 4279 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts() 4281 MSR_TYPE_RW, intercept); in vmx_recalc_pmu_msr_intercepts() 4286 bool intercept; in vmx_recalc_msr_intercepts() local 4334 intercept = !guest_cpu_cap_has(vcpu, X86_FEATURE_SHSTK); in vmx_recalc_msr_intercepts() [all …]
|
| /linux/Documentation/timers/ |
| H A D | hpet.rst | 24 platform code which uses timer 0 or 1 as the main timer to intercept HPET
|
| /linux/Documentation/livepatch/ |
| H A D | reliable-stacktrace.rst | 163 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 D | svm.c | 119 ctrl->intercept = (1ULL << INTERCEPT_VMRUN) | in generic_svm_setup()
|
| /linux/Documentation/core-api/real-time/ |
| H A D | hardware.rst | 104 adds latency because the host must intercept and either process the request 139 even preempt or intercept the kernel. 146 Firmware can also intercept kernel execution by providing services that
|
| /linux/Documentation/virt/kvm/s390/ |
| H A D | s390-pv-boot.rst | 23 SIE instruction which the UV will intercept and execute on KVM's
|
| H A D | s390-pv.rst | 55 KVM cannot intercept lctl(g) and lpsw(e) anymore in order to be
|
| /linux/Documentation/virt/kvm/x86/ |
| H A D | errata.rst | 57 intercept the #DB, temporarily disable the breakpoint, single-step over the
|
| /linux/Documentation/dev-tools/kunit/api/ |
| H A D | functionredirection.rst | 32 A simpler way to intercept and replace some of the function calls is to use
|
| /linux/net/ipv6/netfilter/ |
| H A D | Kconfig | 227 The SYNPROXY target allows you to intercept TCP connections and
|
| /linux/Documentation/hid/ |
| H A D | hid-bpf.rst | 92 With eBPF, we can intercept any HID command emitted to the device and 96 kernel/bpf program because we can intercept any incoming command.
|
| /linux/net/ipv4/netfilter/ |
| H A D | Kconfig | 213 The SYNPROXY target allows you to intercept TCP connections and
|
| /linux/Documentation/process/ |
| H A D | threat-model.rst | 72 configuration, intercept nor spoof network communications from other users
|
| /linux/Documentation/security/tpm/ |
| H A D | tpm-security.rst | 50 1. The attacker could intercept all PCR extends coming from the system
|
| /linux/Documentation/userspace-api/ |
| H A D | seccomp_filter.rst | 196 applications like container managers, which wish to intercept particular
|