Home
last modified time | relevance | path

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

/xen/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/xen/arch/x86/cpu/microcode/
A Dintel.c224 const struct microcode_patch *mc) in microcode_update_match() argument
230 ASSERT(!microcode_sanity_check(mc)); in microcode_update_match()
233 if ( signature_matches(cpu_sig, mc->sig, mc->pf) ) in microcode_update_match()
237 if ( (ext = get_ext_sigtable(mc)) != NULL ) in microcode_update_match()
245 return mc->rev > cpu_sig->rev ? NEW_UCODE : OLD_UCODE; in microcode_update_match()
308 const struct microcode_patch *mc; in cpu_request_microcode() local
315 get_totalsize(mc)) ) in cpu_request_microcode()
322 error = microcode_sanity_check(mc); in cpu_request_microcode()
330 if ( (microcode_update_match(mc) != MIS_UCODE) && in cpu_request_microcode()
331 (!saved || (mc->rev > saved->rev)) ) in cpu_request_microcode()
[all …]
A Damd.c344 const struct container_microcode *mc; in cpu_request_microcode() local
346 if ( size < sizeof(*mc) || in cpu_request_microcode()
347 (mc = buf)->type != UCODE_UCODE_TYPE || in cpu_request_microcode()
348 size - sizeof(*mc) < mc->len || in cpu_request_microcode()
349 (!skip_ucode && !verify_patch_size(mc->len)) ) in cpu_request_microcode()
363 if ( (microcode_fits(mc->patch) != MIS_UCODE) && in cpu_request_microcode()
364 (!saved || (compare_header(mc->patch, saved) == NEW_UCODE)) ) in cpu_request_microcode()
366 saved = mc->patch; in cpu_request_microcode()
367 saved_size = mc->len; in cpu_request_microcode()
372 buf += sizeof(*mc) + mc->len; in cpu_request_microcode()
[all …]
/xen/tools/libxc/
A Dxc_misc.c349 int xc_mca_op(xc_interface *xch, struct xen_mc *mc) in xc_mca_op() argument
352 DECLARE_HYPERCALL_BOUNCE(mc, sizeof(*mc), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_mca_op()
354 if ( xc_hypercall_bounce_pre(xch, mc) ) in xc_mca_op()
362 HYPERCALL_BUFFER_AS_ARG(mc)); in xc_mca_op()
364 xc_hypercall_bounce_post(xch, mc); in xc_mca_op()
372 struct xen_mc mc_buf, *mc = &mc_buf; in xc_mca_op_inject_v2() local
376 DECLARE_HYPERCALL_BOUNCE(mc, sizeof(*mc), XC_HYPERCALL_BUFFER_BOUNCE_BOTH); in xc_mca_op_inject_v2()
378 memset(mc, 0, sizeof(*mc)); in xc_mca_op_inject_v2()
399 mc->cmd = XEN_MC_inject_v2; in xc_mca_op_inject_v2()
402 if ( xc_hypercall_bounce_pre(xch, mc) ) in xc_mca_op_inject_v2()
[all …]
/xen/xen/drivers/acpi/apei/
A Dhest.c78 const struct acpi_hest_ia_machine_check *mc = in hest_esrc_len() local
83 len = sizeof(*mc) + mc->num_hardware_banks * in hest_esrc_len()
/xen/xen/include/xen/
A Dmulticall.h28 } arch_do_multicall_call(struct mc_state *mc);
/xen/xen/arch/x86/
A Dhypercall.c277 enum mc_disposition arch_do_multicall_call(struct mc_state *mc) in arch_do_multicall_call() argument
/xen/xen/include/
A Dxlat.lst18 ? mc arch-x86/xen-mca.h
/xen/tools/libxc/include/
A Dxenctrl.h1840 int xc_mca_op(xc_interface *xch, struct xen_mc *mc);

Completed in 16 milliseconds