Home
last modified time | relevance | path

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

/arch/x86/kvm/svm/
Dsev.c49 module_param_named(sev, sev_enabled, bool, 0444);
123 static int sev_asid_new(struct kvm_sev_info *sev) in sev_asid_new() argument
129 type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_asid_new()
130 WARN_ON(sev->misc_cg); in sev_asid_new()
131 sev->misc_cg = get_current_misc_cg(); in sev_asid_new()
132 ret = misc_cg_try_charge(type, sev->misc_cg, 1); in sev_asid_new()
134 put_misc_cg(sev->misc_cg); in sev_asid_new()
135 sev->misc_cg = NULL; in sev_asid_new()
145 min_asid = sev->es_active ? 1 : min_sev_asid; in sev_asid_new()
146 max_asid = sev->es_active ? min_sev_asid - 1 : max_sev_asid; in sev_asid_new()
[all …]
Dsvm.h231 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest() local
233 return sev->active; in sev_guest()
242 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_es_guest() local
244 return sev_guest(kvm) && sev->es_active; in sev_es_guest()
/arch/x86/kernel/acpi/
Dapei.c40 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err) in arch_apei_report_mem_error() argument
43 apei_mce_report_mem_error(sev, mem_err); in arch_apei_report_mem_error()
/arch/arm64/kernel/
Dsmp_spin_table.c100 sev(); in smp_spin_table_cpu_prepare()
117 sev(); in smp_spin_table_cpu_boot()
/arch/arm/common/
Dvlock.S37 sev
97 sev
Dmcpm_entry.c52 sev(); in __mcpm_cpu_down()
68 sev(); in __mcpm_outbound_leave_critical()
Dmcpm_head.S160 sev
DbL_switcher.c85 sev(); in bL_do_switch()
/arch/x86/kernel/cpu/mce/
Dseverity.c41 unsigned char sev; member
53 #define MCESEV(s, m, c...) { .sev = MCE_ ## s ## _SEVERITY, .msg = m, ## c }
403 if (s->sev >= MCE_UC_SEVERITY && ctx == IN_KERNEL) { in mce_severity_intel()
407 return s->sev; in mce_severity_intel()
/arch/arm/mach-bcm/
Dplatsmp.c196 sev(); in kona_boot_secondary()
310 sev(); in bcm2836_boot_secondary()
/arch/arm/include/asm/
Dbarrier.h11 #define sev() __asm__ __volatile__ ("sev" : : : "memory") macro
Dspinlock.h39 #define SEV __ALT_SMP_ASM(WASM(sev), WASM(nop))
/arch/x86/kvm/
DMakefile33 kvm-amd-y += svm/svm.o svm/vmenter.o svm/pmu.o svm/nested.o svm/avic.o svm/sev.o
/arch/arm64/include/asm/
Dbarrier.h17 #define sev() asm volatile("sev" : : : "memory") macro
/arch/x86/boot/compressed/
DMakefile104 vmlinux-objs-$(CONFIG_AMD_MEM_ENCRYPT) += $(obj)/sev.o
/arch/x86/kernel/
DMakefile152 obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev.o
/arch/ia64/include/asm/
Dpal.h583 sev : 5, /* Bus error severity*/ member
740 #define pmci_bus_error_severity pme_bus.sev