Re: [Xen-devel] [PATCH v5 2/8] microcode/intel: extend microcode_update_match()

2019-01-29 Thread Chao Gao
On Tue, Jan 29, 2019 at 03:41:09AM -0700, Jan Beulich wrote: Chao Gao 01/28/19 8:10 AM >>> >>--- a/xen/arch/x86/microcode_intel.c >>+++ b/xen/arch/x86/microcode_intel.c >>@@ -127,14 +127,24 @@ static int collect_cpu_info(unsigned int cpu_num, >>struct cpu_signature *csig) >>return 0; >>} > >

Re: [Xen-devel] [PATCH v5 2/8] microcode/intel: extend microcode_update_match()

2019-01-29 Thread Jan Beulich
>>> Chao Gao 01/28/19 8:10 AM >>> >--- a/xen/arch/x86/microcode_intel.c >+++ b/xen/arch/x86/microcode_intel.c >@@ -127,14 +127,24 @@ static int collect_cpu_info(unsigned int cpu_num, struct >cpu_signature *csig) >return 0; >} > >-static inline int microcode_update_match( >-unsigned int cpu_n

Re: [Xen-devel] [PATCH v5 2/8] microcode/intel: extend microcode_update_match()

2019-01-28 Thread Jan Beulich
>>> On 28.01.19 at 17:55, wrote: > On Mon, Jan 28, 2019 at 03:06:44PM +0800, Chao Gao wrote: >> to a more generic function. Then, this function can compare two given >> microcodes' signature/revision as well. Comparing two microcodes is >> used to update the global microcode cache (introduced by t

Re: [Xen-devel] [PATCH v5 2/8] microcode/intel: extend microcode_update_match()

2019-01-28 Thread Roger Pau Monné
On Mon, Jan 28, 2019 at 03:06:44PM +0800, Chao Gao wrote: > to a more generic function. Then, this function can compare two given > microcodes' signature/revision as well. Comparing two microcodes is > used to update the global microcode cache (introduced by the later > patches in this series) when

[Xen-devel] [PATCH v5 2/8] microcode/intel: extend microcode_update_match()

2019-01-27 Thread Chao Gao
to a more generic function. Then, this function can compare two given microcodes' signature/revision as well. Comparing two microcodes is used to update the global microcode cache (introduced by the later patches in this series) when a new microcode is given. Signed-off-by: Chao Gao --- Changes i