Home
last modified time | relevance | path

Searched refs:mc (Results 1 – 10 of 10) sorted by relevance

/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmicrocode_intel.c75 #define get_totalsize(mc) \ argument
80 #define get_datasize(mc) \ argument
274 memcpy(new_mc, mc, total_size); in get_matching_microcode()
275 xfree(uci->mc.mc_intel); in get_matching_microcode()
276 uci->mc.mc_intel = new_mc; in get_matching_microcode()
291 if ( uci->mc.mc_intel == NULL ) in apply_microcode()
344 *mc = xmalloc_bytes(total_size); in get_next_ucode_from_buffer()
345 if ( *mc == NULL ) in get_next_ucode_from_buffer()
359 void *mc; in cpu_request_microcode() local
382 xfree(mc); in cpu_request_microcode()
[all …]
A Dmicrocode_amd.c198 struct microcode_amd *mc_amd = uci->mc.mc_amd; in apply_microcode()
480 mc_old = uci->mc.mc_amd; in cpu_request_microcode()
482 uci->mc.mc_amd = mc_amd; in cpu_request_microcode()
547 uci->mc.mc_amd = mc_old; in cpu_request_microcode()
564 static int microcode_resume_match(unsigned int cpu, const void *mc) in microcode_resume_match() argument
567 struct microcode_amd *mc_amd = uci->mc.mc_amd; in microcode_resume_match()
568 const struct microcode_amd *src = mc; in microcode_resume_match()
583 uci->mc.mc_amd = mc_amd; in microcode_resume_match()
606 uci->mc.mc_amd = NULL; in microcode_resume_match()
A Dmicrocode.c204 xfree(uci->mc.mc_valid); in __microcode_fini_cpu()
235 if ( uci->mc.mc_valid ) in microcode_resume_cpu()
237 err = microcode_ops->microcode_resume_match(cpu, uci->mc.mc_valid); in microcode_resume_cpu()
255 if ( uci->mc.mc_valid && in microcode_resume_cpu()
256 microcode_ops->microcode_resume_match(cpu, uci->mc.mc_valid) > 0 ) in microcode_resume_cpu()
/xen-4.10.0-shim-comet/tools/tests/mce-test/tools/
A Dxen-mceinj.c158 struct xen_mc mc; in flush_msr_inj() local
160 mc.cmd = XEN_MC_msrinject; in flush_msr_inj()
162 mc.u.mc_msrinject = msr_inj; in flush_msr_inj()
164 return xc_mca_op(xc_handle, &mc); in flush_msr_inj()
169 struct xen_mc mc; in mca_cpuinfo() local
173 mc.cmd = XEN_MC_physcpuinfo; in mca_cpuinfo()
176 if (!xc_mca_op(xc_handle, &mc)) in mca_cpuinfo()
184 struct xen_mc mc; in inject_cmci() local
195 mc.cmd = XEN_MC_inject_v2; in inject_cmci()
207 struct xen_mc mc; in inject_mce() local
[all …]
/xen-4.10.0-shim-comet/tools/libxc/
A Dxc_misc.c347 int xc_mca_op(xc_interface *xch, struct xen_mc *mc) in xc_mca_op() argument
350 DECLARE_HYPERCALL_BOUNCE(mc, sizeof(*mc), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_mca_op()
352 if ( xc_hypercall_bounce_pre(xch, mc) ) in xc_mca_op()
360 HYPERCALL_BUFFER_AS_ARG(mc)); in xc_mca_op()
362 xc_hypercall_bounce_post(xch, mc); in xc_mca_op()
370 struct xen_mc mc_buf, *mc = &mc_buf; in xc_mca_op_inject_v2() local
374 DECLARE_HYPERCALL_BOUNCE(mc, sizeof(*mc), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_mca_op_inject_v2()
376 memset(mc, 0, sizeof(*mc)); in xc_mca_op_inject_v2()
397 mc->cmd = XEN_MC_inject_v2; in xc_mca_op_inject_v2()
400 if ( xc_hypercall_bounce_pre(xch, mc) ) in xc_mca_op_inject_v2()
[all …]
/xen-4.10.0-shim-comet/xen/include/asm-x86/
A Dmicrocode.h10 int (*microcode_resume_match)(unsigned int cpu, const void *mc);
30 } mc; member
/xen-4.10.0-shim-comet/xen/drivers/acpi/apei/
A Dhest.c77 const struct acpi_hest_ia_machine_check *mc = in hest_esrc_len() local
82 len = sizeof(*mc) + mc->num_hardware_banks * in hest_esrc_len()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dmulticall.h29 } arch_do_multicall_call(struct mc_state *mc);
/xen-4.10.0-shim-comet/xen/include/
A Dxlat.lst18 ? mc arch-x86/xen-mca.h
/xen-4.10.0-shim-comet/tools/libxc/include/
A Dxenctrl.h1842 int xc_mca_op(xc_interface *xch, struct xen_mc *mc);

Completed in 71 milliseconds