search for: cpu_to_core

Displaying 8 results from an estimated 8 matches for "cpu_to_core".

2011 Dec 21
2
[PATCH] xenpm: assorted adjustments
...w_pxstat_by_cpuid(xc_interface *xc_handle, int cpuid) @@ -325,7 +320,7 @@ static uint64_t *sum, *sum_cx, *sum_px; static void signal_int_handler(int signo) { - int i, j, k, ret; + int i, j, k; struct timeval tv; int cx_cap = 0, px_cap = 0; DECLARE_HYPERCALL_BUFFER(uint32_t, cpu_to_core); @@ -404,6 +399,8 @@ static void signal_int_handler(int signo res / 1000000UL, 100UL * res / (double)sum_px[i]); } } + if ( px_cap && avgfreq[i] ) + printf(" Avg freq\t%d\tKHz\n", avgfreq[i]); } set_xen...
2012 Oct 11
0
Re: [Valgrind-developers] [PATCH 1/4] Useful messages for sys/domctl interface_version mismatch.
...union, _field) \ > PRE_MEM_READ("XEN_DOMCTL_" # _domctl, \ > @@ -740,11 +775,14 @@ POST(sysctl) > > case XEN_SYSCTL_topologyinfo: > POST_XEN_SYSCTL_WRITE(topologyinfo, max_cpu_index); > - POST_MEM_WRITE((Addr)sysctl->u.topologyinfo.cpu_to_core.p, > + if (sysctl->u.topologyinfo.cpu_to_core.p) > + POST_MEM_WRITE((Addr)sysctl->u.topologyinfo.cpu_to_core.p, > sizeof(uint32_t) * > sysctl->u.topologyinfo.max_cpu_index); - > POST_MEM_WRITE((Addr)sysctl->u.topologyinfo.cpu_to_soc...
2012 Sep 14
1
[PATCH] xenpm: make argument parsing and error handling more consistent
...void cpu_topology_func(int argc, char *argv[]) @@ -971,7 +958,7 @@ void cpu_topology_func(int argc, char *a DECLARE_HYPERCALL_BUFFER(uint32_t, cpu_to_socket); DECLARE_HYPERCALL_BUFFER(uint32_t, cpu_to_node); xc_topologyinfo_t info = { 0 }; - int i; + int i, rc = ENOMEM; cpu_to_core = xc_hypercall_buffer_alloc(xc_handle, cpu_to_core, sizeof(*cpu_to_core) * MAX_NR_CPU); cpu_to_socket = xc_hypercall_buffer_alloc(xc_handle, cpu_to_socket, sizeof(*cpu_to_socket) * MAX_NR_CPU); @@ -990,7 +977,9 @@ void cpu_topology_func(int argc, char *a if ( xc_topologyinfo(xc_handle,...
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...N_SYSCTL_CPUPOOL_OP_RMCPU) + PRE_XEN_SYSCTL_READ(cpupool_op, cpu); + + break; + + case XEN_SYSCTL_physinfo: + /* No input params */ + break; + + case XEN_SYSCTL_topologyinfo: + PRE_XEN_SYSCTL_READ(topologyinfo, max_cpu_index); + PRE_XEN_SYSCTL_READ(topologyinfo, cpu_to_core); + PRE_XEN_SYSCTL_READ(topologyinfo, cpu_to_socket); + PRE_XEN_SYSCTL_READ(topologyinfo, cpu_to_node); + break; + + case XEN_SYSCTL_numainfo: + PRE_XEN_SYSCTL_READ(numainfo, max_node_index); + PRE_XEN_SYSCTL_READ(numainfo, node_to_memsize); + PRE_XEN_SYSCTL_READ(num...
2013 Jan 23
132
[PATCH 00/45] initial arm v8 (64-bit) support
First off, Apologies for the massive patch series... This series boots a 32-bit dom0 kernel to a command prompt on an ARMv8 (AArch64) model. The kernel is the same one as I am currently using with the 32 bit hypervisor I haven''t yet tried starting a guest or anything super advanced like that ;-). Also there is not real support for 64-bit domains at all, although in one or two places I
2013 Feb 22
48
[PATCH v3 00/46] initial arm v8 (64-bit) support
This round implements all of the review comments from V2 and all patches are now acked. Unless there are any objections I intend to apply later this morning. Ian.
2012 Jan 09
39
[PATCH v4 00/25] xen: ARMv7 with virtualization extensions
Hello everyone, this is the fourth version of the patch series that introduces ARMv7 with virtualization extensions support in Xen. The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile Express simulator. See the following announce email for more informations about what we are trying to achieve, as well as the original git history: See
2011 Dec 06
57
[PATCH RFC 00/25] xen: ARMv7 with virtualization extensions
Hello everyone, this is the very first version of the patch series that introduces ARMv7 with virtualization extensions support in Xen. The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile Express simulator. See the following announce email for more informations about what we are trying to achieve, as well as the original git history: See