Home
last modified time | relevance | path

Searched refs:vmsa (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/arch/x86/hyperv/
Divm.c262 static int snp_set_vmsa(void *va, bool vmsa) in snp_set_vmsa() argument
274 if (vmsa) in snp_set_vmsa()
280 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa) in snp_cleanup_vmsa() argument
284 err = snp_set_vmsa(vmsa, false); in snp_cleanup_vmsa()
288 free_page((unsigned long)vmsa); in snp_cleanup_vmsa()
293 struct sev_es_save_area *vmsa = (struct sev_es_save_area *) in hv_snp_boot_ap() local
301 if (!vmsa) in hv_snp_boot_ap()
306 vmsa->gdtr.base = gdtr.address; in hv_snp_boot_ap()
307 vmsa->gdtr.limit = gdtr.size; in hv_snp_boot_ap()
309 asm volatile("movl %%es, %%eax;" : "=a" (vmsa->es.selector)); in hv_snp_boot_ap()
[all …]
/Linux-v6.6/arch/x86/kernel/
Dsev.c909 static int snp_set_vmsa(void *va, bool vmsa) in snp_set_vmsa() argument
921 if (vmsa) in snp_set_vmsa()
958 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa) in snp_cleanup_vmsa() argument
962 err = snp_set_vmsa(vmsa, false); in snp_cleanup_vmsa()
966 free_page((unsigned long)vmsa); in snp_cleanup_vmsa()
971 struct sev_es_save_area *cur_vmsa, *vmsa; in wakeup_cpu_via_vmgexit() local
1015 vmsa = (struct sev_es_save_area *)snp_alloc_vmsa_page(); in wakeup_cpu_via_vmgexit()
1016 if (!vmsa) in wakeup_cpu_via_vmgexit()
1024 vmsa->cs.base = sipi_vector << 12; in wakeup_cpu_via_vmgexit()
1025 vmsa->cs.limit = AP_INIT_CS_LIMIT; in wakeup_cpu_via_vmgexit()
[all …]
/Linux-v6.6/arch/x86/kvm/svm/
Dsev.c574 struct sev_es_save_area *save = svm->sev_es.vmsa; in sev_es_sync_vmsa()
627 struct sev_data_launch_update_vmsa vmsa; in __sev_launch_update_vmsa() local
646 clflush_cache_range(svm->sev_es.vmsa, PAGE_SIZE); in __sev_launch_update_vmsa()
648 vmsa.reserved = 0; in __sev_launch_update_vmsa()
649 vmsa.handle = to_kvm_svm(kvm)->sev_info.handle; in __sev_launch_update_vmsa()
650 vmsa.address = __sme_pa(svm->sev_es.vmsa); in __sev_launch_update_vmsa()
651 vmsa.len = PAGE_SIZE; in __sev_launch_update_vmsa()
652 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_VMSA, &vmsa, error); in __sev_launch_update_vmsa()
2364 sev_flush_encrypted_page(vcpu, svm->sev_es.vmsa); in sev_free_vcpu()
2366 __free_page(virt_to_page(svm->sev_es.vmsa)); in sev_free_vcpu()
[all …]
Dsvm.h193 struct sev_es_save_area *vmsa; member
Dsvm.c1480 svm->sev_es.vmsa = page_address(vmsa_page); in svm_vcpu_create()
/Linux-v6.6/drivers/iommu/
DMakefile15 obj-$(CONFIG_IPMMU_VMSA) += ipmmu-vmsa.o
/Linux-v6.6/arch/arm64/boot/dts/renesas/
Dr8a779g0.dtsi1782 "renesas,rcar-gen4-ipmmu-vmsa";
1791 "renesas,rcar-gen4-ipmmu-vmsa";
1800 "renesas,rcar-gen4-ipmmu-vmsa";
1809 "renesas,rcar-gen4-ipmmu-vmsa";
1818 "renesas,rcar-gen4-ipmmu-vmsa";
1827 "renesas,rcar-gen4-ipmmu-vmsa";
1836 "renesas,rcar-gen4-ipmmu-vmsa";
1845 "renesas,rcar-gen4-ipmmu-vmsa";
1854 "renesas,rcar-gen4-ipmmu-vmsa";
1863 "renesas,rcar-gen4-ipmmu-vmsa";
[all …]
Dr8a779a0.dtsi2149 "renesas,rcar-gen4-ipmmu-vmsa";
2158 "renesas,rcar-gen4-ipmmu-vmsa";
2167 "renesas,rcar-gen4-ipmmu-vmsa";
2176 "renesas,rcar-gen4-ipmmu-vmsa";
2185 "renesas,rcar-gen4-ipmmu-vmsa";
2194 "renesas,rcar-gen4-ipmmu-vmsa";
2203 "renesas,rcar-gen4-ipmmu-vmsa";
2212 "renesas,rcar-gen4-ipmmu-vmsa";
2221 "renesas,rcar-gen4-ipmmu-vmsa";
2230 "renesas,rcar-gen4-ipmmu-vmsa";
[all …]
Dr8a779f0.dtsi1075 "renesas,rcar-gen4-ipmmu-vmsa";
1084 "renesas,rcar-gen4-ipmmu-vmsa";
1093 "renesas,rcar-gen4-ipmmu-vmsa";
1102 "renesas,rcar-gen4-ipmmu-vmsa";
1111 "renesas,rcar-gen4-ipmmu-vmsa";
/Linux-v6.6/arch/arm/boot/dts/renesas/
Dr8a7793.dtsi343 "renesas,ipmmu-vmsa";
353 "renesas,ipmmu-vmsa";
362 "renesas,ipmmu-vmsa";
372 "renesas,ipmmu-vmsa";
381 "renesas,ipmmu-vmsa";
391 "renesas,ipmmu-vmsa";
400 "renesas,ipmmu-vmsa";
Dr8a7794.dtsi297 "renesas,ipmmu-vmsa";
307 "renesas,ipmmu-vmsa";
316 "renesas,ipmmu-vmsa";
326 "renesas,ipmmu-vmsa";
335 "renesas,ipmmu-vmsa";
345 "renesas,ipmmu-vmsa";
Dr8a7791.dtsi368 "renesas,ipmmu-vmsa";
378 "renesas,ipmmu-vmsa";
387 "renesas,ipmmu-vmsa";
397 "renesas,ipmmu-vmsa";
406 "renesas,ipmmu-vmsa";
416 "renesas,ipmmu-vmsa";
425 "renesas,ipmmu-vmsa";
Dr8a7745.dtsi309 "renesas,ipmmu-vmsa";
319 "renesas,ipmmu-vmsa";
328 "renesas,ipmmu-vmsa";
338 "renesas,ipmmu-vmsa";
347 "renesas,ipmmu-vmsa";
357 "renesas,ipmmu-vmsa";
Dr8a7790.dtsi451 "renesas,ipmmu-vmsa";
461 "renesas,ipmmu-vmsa";
470 "renesas,ipmmu-vmsa";
480 "renesas,ipmmu-vmsa";
489 "renesas,ipmmu-vmsa";
499 "renesas,ipmmu-vmsa";
Dr8a7743.dtsi345 "renesas,ipmmu-vmsa";
355 "renesas,ipmmu-vmsa";
364 "renesas,ipmmu-vmsa";
374 "renesas,ipmmu-vmsa";
383 "renesas,ipmmu-vmsa";
393 "renesas,ipmmu-vmsa";
Dr8a7744.dtsi345 "renesas,ipmmu-vmsa";
355 "renesas,ipmmu-vmsa";
364 "renesas,ipmmu-vmsa";
374 "renesas,ipmmu-vmsa";
383 "renesas,ipmmu-vmsa";
393 "renesas,ipmmu-vmsa";
Dr8a7742.dtsi420 "renesas,ipmmu-vmsa";
430 "renesas,ipmmu-vmsa";
439 "renesas,ipmmu-vmsa";
449 "renesas,ipmmu-vmsa";
458 "renesas,ipmmu-vmsa";