Home
last modified time | relevance | path

Searched full:vmsa (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.1/arch/x86/kernel/
Dsev.c925 static int snp_set_vmsa(void *va, bool vmsa) in snp_set_vmsa() argument
930 * Running at VMPL0 allows the kernel to change the VMSA bit for a page in snp_set_vmsa()
937 if (vmsa) in snp_set_vmsa()
955 * Allocate VMSA page to work around the SNP erratum where the CPU will in snp_alloc_vmsa_page()
957 * collides with the RMP entry of VMSA page. The recommended workaround in snp_alloc_vmsa_page()
974 static void snp_cleanup_vmsa(struct sev_es_save_area *vmsa) in snp_cleanup_vmsa() argument
978 err = snp_set_vmsa(vmsa, false); in snp_cleanup_vmsa()
980 pr_err("clear VMSA page failed (%u), leaking page\n", err); in snp_cleanup_vmsa()
982 free_page((unsigned long)vmsa); in snp_cleanup_vmsa()
987 struct sev_es_save_area *cur_vmsa, *vmsa; in wakeup_cpu_via_vmgexit() local
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/iommu/
Drenesas,ipmmu-vmsa.yaml4 $id: http://devicetree.org/schemas/iommu/renesas,ipmmu-vmsa.yaml#
7 title: Renesas VMSA-Compatible IOMMU
13 The IPMMU is an IOMMU implementation compatible with the ARM VMSA page tables.
31 - const: renesas,ipmmu-vmsa # R-Mobile APE6 or R-Car Gen2 or RZ/G1
50 - const: renesas,rcar-gen4-ipmmu-vmsa # R-Car Gen4
104 const: renesas,ipmmu-vmsa
116 compatible = "renesas,ipmmu-r8a7791", "renesas,ipmmu-vmsa";
Dmsm,iommu-v0.txt3 The MSM IOMMU is an implementation compatible with the ARM VMSA short
/Linux-v6.1/arch/x86/kvm/svm/
Dsev.c566 struct sev_es_save_area *save = svm->sev_es.vmsa; in sev_es_sync_vmsa()
568 /* Check some debug related fields before encrypting the VMSA */ in sev_es_sync_vmsa()
573 * SEV-ES will use a VMSA that is pointed to by the VMCB, not in sev_es_sync_vmsa()
574 * the traditional VMSA that is part of the VMCB. Copy the in sev_es_sync_vmsa()
575 * traditional VMSA as it has been built so far (in prep in sev_es_sync_vmsa()
607 pr_debug("Virtual Machine Save Area (VMSA):\n"); in sev_es_sync_vmsa()
616 struct sev_data_launch_update_vmsa vmsa; in __sev_launch_update_vmsa() local
620 /* Perform some pre-encryption checks against the VMSA */ in __sev_launch_update_vmsa()
627 * the VMSA memory content (i.e it will write the same memory region in __sev_launch_update_vmsa()
630 clflush_cache_range(svm->sev_es.vmsa, PAGE_SIZE); in __sev_launch_update_vmsa()
[all …]
Dsvm.h194 struct sev_es_save_area *vmsa; member
Dsvm.c1368 * SEV-ES guests require a separate VMSA page used to contain in svm_vcpu_create()
1401 svm->sev_es.vmsa = page_address(vmsa_page); in svm_vcpu_create()
1757 * contents of the VMSA, and future VMCB save area updates won't be in sev_post_set_cr3()
/Linux-v6.1/drivers/iommu/
DMakefile16 obj-$(CONFIG_IPMMU_VMSA) += ipmmu-vmsa.o
Dipmmu-vmsa.c3 * IOMMU API for Renesas VMSA-compatible IPMMU
429 * VMSA states in section B3.6.3 "Control of Secure or Non-secure memory in ipmmu_domain_init_context()
948 .compatible = "renesas,ipmmu-vmsa",
990 .compatible = "renesas,rcar-gen4-ipmmu-vmsa",
1159 .name = "ipmmu-vmsa",
DKconfig285 bool "Renesas VMSA-compatible IPMMU"
291 Support for the Renesas VMSA-compatible IPMMU found in the R-Mobile
/Linux-v6.1/arch/arm64/boot/dts/renesas/
Dr8a779a0.dtsi2098 "renesas,rcar-gen4-ipmmu-vmsa";
2107 "renesas,rcar-gen4-ipmmu-vmsa";
2116 "renesas,rcar-gen4-ipmmu-vmsa";
2125 "renesas,rcar-gen4-ipmmu-vmsa";
2134 "renesas,rcar-gen4-ipmmu-vmsa";
2143 "renesas,rcar-gen4-ipmmu-vmsa";
2152 "renesas,rcar-gen4-ipmmu-vmsa";
2161 "renesas,rcar-gen4-ipmmu-vmsa";
2170 "renesas,rcar-gen4-ipmmu-vmsa";
2179 "renesas,rcar-gen4-ipmmu-vmsa";
[all …]
Dr8a779f0.dtsi887 "renesas,rcar-gen4-ipmmu-vmsa";
896 "renesas,rcar-gen4-ipmmu-vmsa";
905 "renesas,rcar-gen4-ipmmu-vmsa";
914 "renesas,rcar-gen4-ipmmu-vmsa";
923 "renesas,rcar-gen4-ipmmu-vmsa";
/Linux-v6.1/arch/arm/boot/dts/
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";
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";
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";
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";
Dr8a7790.dtsi440 "renesas,ipmmu-vmsa";
450 "renesas,ipmmu-vmsa";
459 "renesas,ipmmu-vmsa";
469 "renesas,ipmmu-vmsa";
478 "renesas,ipmmu-vmsa";
488 "renesas,ipmmu-vmsa";
Dr8a7742.dtsi420 "renesas,ipmmu-vmsa";
430 "renesas,ipmmu-vmsa";
439 "renesas,ipmmu-vmsa";
449 "renesas,ipmmu-vmsa";
458 "renesas,ipmmu-vmsa";
/Linux-v6.1/arch/arm64/mm/
Dproc.S424 * Default values for VMSA control registers. These will be adjusted
/Linux-v6.1/Documentation/virt/kvm/x86/
Damd-memory-encryption.rst280 report containing the SHA-256 digest of the guest memory and VMSA passed through the KVM_SEV_LAUNCH
/Linux-v6.1/arch/arm/kernel/
Dhead.S115 and r3, r3, #0xf @ extract VMSA support
/Linux-v6.1/arch/arm/boot/compressed/
Dhead.S872 tst r11, #0xf @ VMSA
877 tst r11, #0xf @ VMSA