Home
last modified time | relevance | path

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

/linux-6.12.1/arch/x86/hyperv/
Divm.c263 static int snp_set_vmsa(void *va, bool vmsa) in snp_set_vmsa() argument
275 if (vmsa) in snp_set_vmsa()
281 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa) in snp_cleanup_vmsa() argument
285 err = snp_set_vmsa(vmsa, false); in snp_cleanup_vmsa()
289 free_page((unsigned long)vmsa); in snp_cleanup_vmsa()
294 struct sev_es_save_area *vmsa = (struct sev_es_save_area *) in hv_snp_boot_ap() local
302 if (!vmsa) in hv_snp_boot_ap()
307 vmsa->gdtr.base = gdtr.address; in hv_snp_boot_ap()
308 vmsa->gdtr.limit = gdtr.size; in hv_snp_boot_ap()
310 asm volatile("movl %%es, %%eax;" : "=a" (vmsa->es.selector)); in hv_snp_boot_ap()
[all …]
/linux-6.12.1/arch/x86/coco/sev/
Dcore.c1089 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa, int apic_id) in snp_cleanup_vmsa() argument
1093 err = snp_set_vmsa(vmsa, NULL, apic_id, false); in snp_cleanup_vmsa()
1097 free_page((unsigned long)vmsa); in snp_cleanup_vmsa()
1102 struct sev_es_save_area *cur_vmsa, *vmsa; in wakeup_cpu_via_vmgexit() local
1147 vmsa = (struct sev_es_save_area *)snp_alloc_vmsa_page(cpu); in wakeup_cpu_via_vmgexit()
1148 if (!vmsa) in wakeup_cpu_via_vmgexit()
1159 vmsa->cs.base = sipi_vector << 12; in wakeup_cpu_via_vmgexit()
1160 vmsa->cs.limit = AP_INIT_CS_LIMIT; in wakeup_cpu_via_vmgexit()
1161 vmsa->cs.attrib = INIT_CS_ATTRIBS; in wakeup_cpu_via_vmgexit()
1162 vmsa->cs.selector = sipi_vector << 8; in wakeup_cpu_via_vmgexit()
[all …]
/linux-6.12.1/drivers/iommu/
DMakefile15 obj-$(CONFIG_IPMMU_VMSA) += ipmmu-vmsa.o
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dr8a779h0.dtsi1671 "renesas,rcar-gen4-ipmmu-vmsa";
1680 "renesas,rcar-gen4-ipmmu-vmsa";
1689 "renesas,rcar-gen4-ipmmu-vmsa";
1698 "renesas,rcar-gen4-ipmmu-vmsa";
1707 "renesas,rcar-gen4-ipmmu-vmsa";
1716 "renesas,rcar-gen4-ipmmu-vmsa";
1725 "renesas,rcar-gen4-ipmmu-vmsa";
1734 "renesas,rcar-gen4-ipmmu-vmsa";
1743 "renesas,rcar-gen4-ipmmu-vmsa";
1752 "renesas,rcar-gen4-ipmmu-vmsa";
[all …]
Dr8a779a0.dtsi2208 "renesas,rcar-gen4-ipmmu-vmsa";
2217 "renesas,rcar-gen4-ipmmu-vmsa";
2226 "renesas,rcar-gen4-ipmmu-vmsa";
2235 "renesas,rcar-gen4-ipmmu-vmsa";
2244 "renesas,rcar-gen4-ipmmu-vmsa";
2253 "renesas,rcar-gen4-ipmmu-vmsa";
2262 "renesas,rcar-gen4-ipmmu-vmsa";
2271 "renesas,rcar-gen4-ipmmu-vmsa";
2280 "renesas,rcar-gen4-ipmmu-vmsa";
2289 "renesas,rcar-gen4-ipmmu-vmsa";
[all …]
Dr8a779g0.dtsi1982 "renesas,rcar-gen4-ipmmu-vmsa";
1991 "renesas,rcar-gen4-ipmmu-vmsa";
2000 "renesas,rcar-gen4-ipmmu-vmsa";
2009 "renesas,rcar-gen4-ipmmu-vmsa";
2018 "renesas,rcar-gen4-ipmmu-vmsa";
2027 "renesas,rcar-gen4-ipmmu-vmsa";
2036 "renesas,rcar-gen4-ipmmu-vmsa";
2045 "renesas,rcar-gen4-ipmmu-vmsa";
2054 "renesas,rcar-gen4-ipmmu-vmsa";
2063 "renesas,rcar-gen4-ipmmu-vmsa";
[all …]
Dr8a779f0.dtsi1218 "renesas,rcar-gen4-ipmmu-vmsa";
1227 "renesas,rcar-gen4-ipmmu-vmsa";
1236 "renesas,rcar-gen4-ipmmu-vmsa";
1245 "renesas,rcar-gen4-ipmmu-vmsa";
1254 "renesas,rcar-gen4-ipmmu-vmsa";
/linux-6.12.1/arch/x86/kvm/svm/
Dsev.c811 struct sev_es_save_area *save = svm->sev_es.vmsa; in sev_es_sync_vmsa()
905 struct sev_data_launch_update_vmsa vmsa; in __sev_launch_update_vmsa() local
924 clflush_cache_range(svm->sev_es.vmsa, PAGE_SIZE); in __sev_launch_update_vmsa()
926 vmsa.reserved = 0; in __sev_launch_update_vmsa()
927 vmsa.handle = to_kvm_sev_info(kvm)->handle; in __sev_launch_update_vmsa()
928 vmsa.address = __sme_pa(svm->sev_es.vmsa); in __sev_launch_update_vmsa()
929 vmsa.len = PAGE_SIZE; in __sev_launch_update_vmsa()
930 ret = sev_issue_cmd(kvm, SEV_CMD_LAUNCH_UPDATE_VMSA, &vmsa, error); in __sev_launch_update_vmsa()
2457 u64 pfn = __pa(svm->sev_es.vmsa) >> PAGE_SHIFT; in snp_launch_update_vmsa()
2469 data.address = __sme_pa(svm->sev_es.vmsa); in snp_launch_update_vmsa()
[all …]
Dsvm.h217 struct sev_es_save_area *vmsa; member
Dsvm.c1467 svm->sev_es.vmsa = page_address(vmsa_page); in svm_vcpu_create()
/linux-6.12.1/arch/arm/boot/dts/renesas/
Dr8a7793.dtsi401 "renesas,ipmmu-vmsa";
411 "renesas,ipmmu-vmsa";
420 "renesas,ipmmu-vmsa";
430 "renesas,ipmmu-vmsa";
439 "renesas,ipmmu-vmsa";
449 "renesas,ipmmu-vmsa";
458 "renesas,ipmmu-vmsa";
Dr8a7794.dtsi355 "renesas,ipmmu-vmsa";
365 "renesas,ipmmu-vmsa";
374 "renesas,ipmmu-vmsa";
384 "renesas,ipmmu-vmsa";
393 "renesas,ipmmu-vmsa";
403 "renesas,ipmmu-vmsa";
Dr8a7791.dtsi426 "renesas,ipmmu-vmsa";
436 "renesas,ipmmu-vmsa";
445 "renesas,ipmmu-vmsa";
455 "renesas,ipmmu-vmsa";
464 "renesas,ipmmu-vmsa";
474 "renesas,ipmmu-vmsa";
483 "renesas,ipmmu-vmsa";
Dr8a7745.dtsi367 "renesas,ipmmu-vmsa";
377 "renesas,ipmmu-vmsa";
386 "renesas,ipmmu-vmsa";
396 "renesas,ipmmu-vmsa";
405 "renesas,ipmmu-vmsa";
415 "renesas,ipmmu-vmsa";
Dr8a7744.dtsi403 "renesas,ipmmu-vmsa";
413 "renesas,ipmmu-vmsa";
422 "renesas,ipmmu-vmsa";
432 "renesas,ipmmu-vmsa";
441 "renesas,ipmmu-vmsa";
451 "renesas,ipmmu-vmsa";
Dr8a7743.dtsi403 "renesas,ipmmu-vmsa";
413 "renesas,ipmmu-vmsa";
422 "renesas,ipmmu-vmsa";
432 "renesas,ipmmu-vmsa";
441 "renesas,ipmmu-vmsa";
451 "renesas,ipmmu-vmsa";
Dr8a7790.dtsi509 "renesas,ipmmu-vmsa";
519 "renesas,ipmmu-vmsa";
528 "renesas,ipmmu-vmsa";
538 "renesas,ipmmu-vmsa";
547 "renesas,ipmmu-vmsa";
557 "renesas,ipmmu-vmsa";
Dr8a7742.dtsi478 "renesas,ipmmu-vmsa";
488 "renesas,ipmmu-vmsa";
497 "renesas,ipmmu-vmsa";
507 "renesas,ipmmu-vmsa";
516 "renesas,ipmmu-vmsa";
/linux-6.12.1/arch/x86/virt/svm/
Dsev.c46 vmsa : 1, member