/linux-master/arch/x86/kvm/svm/ |
H A D | hyperv.h | 18 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; 24 hv_vcpu->nested.pa_page_gpa = hve->partition_assist_page; 25 hv_vcpu->nested.vm_id = hve->hv_vm_id; 26 hv_vcpu->nested.vp_id = hve->hv_vp_id; 32 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments;
|
H A D | nested.c | 44 * TODO: track the cause of the nested page fault, and 62 u64 cr3 = svm->nested.ctl.nested_cr3; 77 return svm->nested.ctl.nested_cr3; 95 svm->nested.ctl.nested_cr3); 116 if (!(svm->nested.ctl.virt_ext & VIRTUAL_VMLOAD_VMSAVE_ENABLE_MASK)) 135 g = &svm->nested.ctl; 157 * We want to see VMMCALLs from a nested guest only when Hyper-V L2 TLB 201 if (!svm->nested.force_msr_bitmap_recalc) { 202 struct hv_vmcb_enlightenments *hve = &svm->nested.ctl.hv_enlightenments; 206 (svm->nested [all...] |
H A D | svm.h | 169 * we cannot inject a nested vmexit yet. */ 238 struct svm_nested_state nested; member in struct:vcpu_svm 449 (svm->nested.ctl.int_ctl & V_GIF_ENABLE_MASK); 458 return svm->nested.vmcb02.ptr; 495 return svm->nested.ctl.nested_ctl & SVM_NESTED_CTL_NP_ENABLE; 501 (svm->nested.ctl.int_ctl & V_NMI_ENABLE_MASK); 563 /* nested.c */ 566 #define NESTED_EXIT_DONE 1 /* Exit caused nested vmexit */ 573 return is_guest_mode(vcpu) && (svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK); 578 return vmcb12_is_intercept(&svm->nested [all...] |
/linux-master/arch/x86/kvm/vmx/ |
H A D | nested.h | 42 return to_vmx(vcpu)->nested.cached_vmcs12; 47 return to_vmx(vcpu)->nested.cached_shadow_vmcs12; 52 * in vmx_set_nested_state; if it is satisfied, the nested state must include 60 return vmx->nested.current_vmptr != -1ull || 68 return vmx->nested.vpid02 ? vmx->nested.vpid02 : vmx->vpid; 83 * Return the cr0/4 value that a nested guest would read. This is a combination 101 return vmx_misc_cr3_count(to_vmx(vcpu)->nested.msrs.misc_low); 111 return to_vmx(vcpu)->nested.msrs.misc_low & 117 return to_vmx(vcpu)->nested [all...] |
H A D | hyperv.h | 27 return evmptr_is_valid(vmx->nested.hv_evmcs_vmptr); 37 return evmptr_is_set(vmx->nested.hv_evmcs_vmptr); 42 return vmx->nested.hv_evmcs; 52 to_vmx(vcpu)->nested.enlightened_vmcs_enabled;
|
H A D | nested.c | 13 #include "nested.h" 183 to_vmx(vcpu)->nested.need_vmcs12_to_shadow_sync = true; 196 if (vmx->nested.current_vmptr == INVALID_GPA && 207 pr_debug_ratelimited("nested vmx abort, indicator %d\n", indicator); 224 vmx->nested.need_vmcs12_to_shadow_sync = false; 234 kvm_vcpu_unmap(vcpu, &vmx->nested.hv_evmcs_map, true); 235 vmx->nested.hv_evmcs = NULL; 238 vmx->nested.hv_evmcs_vmptr = EVMPTR_INVALID; 241 hv_vcpu->nested.pa_page_gpa = INVALID_GPA; 242 hv_vcpu->nested [all...] |
H A D | hyperv.c | 9 #include "nested.h" 41 (!vcpu || to_vmx(vcpu)->nested.enlightened_vmcs_enabled)) 203 vmx->nested.enlightened_vmcs_enabled = true; 215 struct hv_enlightened_vmcs *evmcs = vmx->nested.hv_evmcs;
|
H A D | vmx.c | 63 #include "nested.h" 116 * If nested=1, nested virtualization is supported, i.e., guests may use 117 * VMX and be a hypervisor for its own guests. If nested=0, guests may not 120 static bool __read_mostly nested = 1; variable 121 module_param(nested, bool, 0444); 296 * order to protect against KSM in the nested 891 /* When we are running a nested L2 guest and L1 specified for it a 1304 if (vmx->nested.need_vmcs12_to_shadow_sync) 1440 * performs IBPB on nested V [all...] |
/linux-master/arch/x86/hyperv/ |
H A D | Makefile | 2 obj-y := hv_init.o mmu.o nested.o irqdomain.o ivm.o
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | init.h | 16 u32 nested; member in struct:nvbios_init
|
/linux-master/drivers/iommu/intel/ |
H A D | Makefile | 3 obj-$(CONFIG_INTEL_IOMMU) += iommu.o pasid.o nested.o
|
/linux-master/arch/riscv/kernel/ |
H A D | kernel_mode_vector.c | 190 #define riscv_v_start_kernel_context(nested) (-ENOENT) 209 bool nested = false; local 216 if (riscv_v_start_kernel_context(&nested)) { 221 if (!nested)
|
/linux-master/tools/perf/bench/ |
H A D | epoll-wait.c | 105 static unsigned int nested = 0; variable 138 OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)"), 246 if (nested > EPOLL_MAXNESTS) 247 nested = EPOLL_MAXNESTS; 249 epollfdp = calloc(nested, sizeof(*epollfdp)); 253 for (i = 0; i < nested; i++) { 262 for (i = nested - 1; i; i--) { 325 if (nested) 458 * Deal with nested epoll [all...] |
H A D | epoll-ctl.c | 57 static unsigned int nested = 0; variable 79 OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)"), 105 if (nested > EPOLL_MAXNESTS) 106 nested = EPOLL_MAXNESTS; 107 printinfo("Nesting level(s): %d\n", nested); 109 epollfdp = calloc(nested, sizeof(int)); 113 for (i = 0; i < nested; i++) { 122 for (i = nested - 1; i; i--) { 343 * Deal with nested epoll [all...] |
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_bitmap_gen.h | 95 struct nlattr *nested; local 98 nested = nla_nest_start(skb, IPSET_ATTR_DATA); 99 if (!nested) 108 nla_nest_end(skb, nested); 207 struct nlattr *adt, *nested; local 229 nested = nla_nest_start(skb, IPSET_ATTR_DATA); 230 if (!nested) { 243 nla_nest_end(skb, nested); 253 nla_nest_cancel(skb, nested);
|
/linux-master/arch/arm64/kvm/ |
H A D | Makefile | 17 arch_timer.o trng.o vmid.o emulate-nested.o nested.o \
|
/linux-master/arch/um/os-Linux/ |
H A D | signal.c | 184 int nested, bail; local 190 * set if this is a nested interrupt. 200 nested = pending & 1; 215 if (!nested) 216 pending = from_irq_stack(nested);
|
/linux-master/tools/testing/selftests/kvm/include/ |
H A D | memstress.h | 42 bool nested; member in struct:memstress_args
|
/linux-master/arch/um/include/shared/ |
H A D | kern_util.h | 58 extern unsigned long from_irq_stack(int nested);
|
/linux-master/Documentation/trace/ |
H A D | function-graph-fold.vim | 5 " use the usual vim fold commands, such as "za", to open and close nested
|
/linux-master/arch/x86/kvm/ |
H A D | Makefile | 24 vmx/nested.o vmx/posted_intr.o 29 kvm-amd-y += svm/svm.o svm/vmenter.o svm/pmu.o svm/nested.o svm/avic.o \
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_entry.c | 48 * DAR, DSISR, and for nested HV, SPRGs must be set with MSR[RI] 137 if (!vcpu->arch.nested) { 201 if (!vcpu->arch.nested) { 303 struct kvm_nested_guest *nested = vcpu->arch.nested; local 307 lpid = nested ? nested->shadow_lpid : kvm->arch.lpid; 454 struct kvm_nested_guest *nested) 460 if (nested) 461 need_tlb_flush = &nested 453 check_need_tlb_flush(struct kvm *kvm, int pcpu, struct kvm_nested_guest *nested) argument 536 struct kvm_nested_guest *nested = vcpu->arch.nested; local [all...] |
H A D | book3s_64_mmu_radix.c | 109 /* Should we be using the nested lpid */ 110 if (vcpu->arch.nested) 111 lpid = vcpu->arch.nested->shadow_lpid; 793 bool kvmppc_hv_handle_set_rc(struct kvm *kvm, bool nested, bool writing, argument 809 if (nested) 1068 /* Also clear bit in ptes in shadow pgtable for nested guests */ 1143 /* Also clear bit in ptes in shadow pgtable for nested guests */ 1310 struct kvm_nested_guest *nested; local 1346 nested = NULL; 1352 if (nested) { [all...] |
/linux-master/arch/um/kernel/ |
H A D | irq.c | 683 * A nested interrupt interrupting the copying of the thread_info - 685 * A nested interrupt not interrupting the copying of the 696 * Next is to figure out whether we are the outer handler or a nested 709 int nested; local 731 nested = (ti->real_thread != NULL); 732 if (!nested) { 745 *mask_out |= mask | nested; 749 unsigned long from_irq_stack(int nested) argument
|
/linux-master/tools/testing/selftests/kvm/lib/ |
H A D | memstress.c | 160 * If using nested, allocate extra pages for the nested page tables and 163 if (args->nested) 185 if (args->nested) 224 if (args->nested) { 225 pr_info("Configuring vCPUs to run in L2 (nested).\n");
|