Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-19 Thread Chao Gao
On Mon, Apr 16, 2018 at 04:26:09AM -0600, Jan Beulich wrote: On 16.04.18 at 08:20, wrote: >> On Fri, Apr 13, 2018 at 09:49:17AM -0600, Jan Beulich wrote: >> On 30.03.18 at 08:59, wrote: +static int do_microcode_update(void *_info) +{ +struct microcode_info *info = _inf

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-16 Thread Jan Beulich
>>> On 16.04.18 at 08:20, wrote: > On Fri, Apr 13, 2018 at 09:49:17AM -0600, Jan Beulich wrote: > On 30.03.18 at 08:59, wrote: >>> +static int do_microcode_update(void *_info) >>> +{ >>> +struct microcode_info *info = _info; >>> +int error, ret = 0; >>> + >>> +error = __wait_for_c

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-15 Thread Chao Gao
On Fri, Apr 13, 2018 at 09:49:17AM -0600, Jan Beulich wrote: On 30.03.18 at 08:59, wrote: >> @@ -281,24 +287,52 @@ static int microcode_update_cpu(const void *buf, >> size_t size) >> return err; >> } >> >> -static long do_microcode_update(void *_info) >> +static int __wait_for_cpus(a

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-13 Thread Jan Beulich
>>> On 30.03.18 at 08:59, wrote: > @@ -281,24 +287,52 @@ static int microcode_update_cpu(const void *buf, size_t > size) > return err; > } > > -static long do_microcode_update(void *_info) > +static int __wait_for_cpus(atomic_t *cnt, int timeout) No new double-underscore prefixed functio

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-13 Thread Jan Beulich
>>> On 13.04.18 at 07:25, wrote: > On Thu, Apr 12, 2018 at 09:29:34AM -0700, Raj, Ashok wrote: >>On Fri, Mar 30, 2018 at 02:59:00PM +0800, Chao Gao wrote: >>> From: Gao Chao >>> >>> This patch is to backport microcode improvement patches from linux >>> kernel. Below are the original patches desc

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-12 Thread Chao Gao
On Thu, Apr 12, 2018 at 09:29:34AM -0700, Raj, Ashok wrote: >On Fri, Mar 30, 2018 at 02:59:00PM +0800, Chao Gao wrote: >> From: Gao Chao >> >> This patch is to backport microcode improvement patches from linux >> kernel. Below are the original patches description: >> >> commit a5321aec6412b2

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-12 Thread Raj, Ashok
On Fri, Mar 30, 2018 at 02:59:00PM +0800, Chao Gao wrote: > From: Gao Chao > > This patch is to backport microcode improvement patches from linux > kernel. Below are the original patches description: > > commit a5321aec6412b20b5ad15db2d6b916c05349dbff > Author: Ashok Raj > Date: W

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-11 Thread Jan Beulich
>>> On 12.04.18 at 08:31, wrote: > Ping... > > Can someone help to review these two patches? Sure, they're on my list of things to look at. Too many other things going on. Jan ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.x

Re: [Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-04-11 Thread Chao Gao
Ping... Can someone help to review these two patches? On Fri, Mar 30, 2018 at 02:59:00PM +0800, Chao Gao wrote: >From: Gao Chao > >This patch is to backport microcode improvement patches from linux >kernel. Below are the original patches description: > >commit a5321aec6412b20b5ad15db2d6b916c

[Xen-devel] [PATCH 1/2] x86/microcode: Synchronize late microcode loading

2018-03-30 Thread Chao Gao
From: Gao Chao This patch is to backport microcode improvement patches from linux kernel. Below are the original patches description: commit a5321aec6412b20b5ad15db2d6b916c05349dbff Author: Ashok Raj Date: Wed Feb 28 11:28:46 2018 +0100 x86/microcode: Synchronize late mic