Re: [Xen-devel] [PATCH v4 03/11] x86/mce: handle host LMCE

2017-06-28 Thread haozhong.zhang
On 06/27/17 01:13 -0600, Jan Beulich wrote: > >>> Haozhong Zhang 06/26/17 11:17 AM >>> > >+/** > >+ * Append a telemetry of deferred MCE to a per-cpu pending list, > >+ * either @pending or @lmce_pending, according to rules below: > >+ * - if @pending is not empty, then the new telemetry will be

Re: [Xen-devel] [PATCH v4 02/11] xen/mce: allow mce_barrier_{enter, exit} to return without waiting

2017-06-28 Thread haozhong.zhang
On 06/27/17 00:38 -0600, Jan Beulich wrote: > >>> Haozhong Zhang 06/26/17 11:17 AM >>> > >Add a 'nowait' argument to mce_barrier_{enter,exit}() to allow them > >return immediately without waiting mce_barrier_{enter,exit}() on other > >CPUs. This is useful when handling LMCE, where mce_barrier_{ent

Re: [Xen-devel] [PATCH v4 01/11] xen/mce: fix comment of struct mc_telem_cpu_ctl

2017-06-28 Thread haozhong.zhang
On 06/27/17 00:28 -0600, Jan Beulich wrote: > >>> Haozhong Zhang 06/26/17 11:16 AM >>> > >struct mc_telem_cpu_ctl is now used as the type of per-cpu variables, > >rather than a globla variable shared by all CPUs, so some of its > >comment do not apply any more. > > > >Signed-off-by: Haozhong Zhang

Re: [Xen-devel] [PATCH 06/13] x86/hvm: Scale host TSC when setting/getting guest TSC

2015-10-27 Thread haozhong.zhang
On Tue, Oct 27, 2015 at 09:55:26AM -0400, Boris Ostrovsky wrote: > On 10/27/2015 09:10 AM, Boris Ostrovsky wrote: > >On 10/27/2015 04:44 AM, Haozhong Zhang wrote: > >>On Thu, Oct 22, 2015 at 08:17:29AM -0600, Jan Beulich wrote: > >>On 28.09.15 at 09:13, wrote: > The existing hvm_set_guest_