Re: [Xen-devel] [PATCH v9 08/15] microcode/amd: call svm_host_osvw_init() in common code

2019-08-28 Thread Jan Beulich
On 19.08.2019 03:25, Chao Gao wrote: > --- a/xen/arch/x86/microcode_amd.c > +++ b/xen/arch/x86/microcode_amd.c > @@ -594,10 +594,6 @@ static int cpu_request_microcode(const void *buf, size_t > bufsize) > xfree(mc_amd); > >out: > -#if CONFIG_HVM > -svm_host_osvw_init(); > -#endif >

Re: [Xen-devel] [PATCH v9 08/15] microcode/amd: call svm_host_osvw_init() in common code

2019-08-22 Thread Roger Pau Monné
On Mon, Aug 19, 2019 at 09:25:21AM +0800, Chao Gao wrote: > Introduce a vendor hook, .end_update, for svm_host_osvw_init(). > The hook function is called on each cpu after loading an update. > It is a preparation for spliting out apply_microcode() from > cpu_request_microcode(). > > Note that

[Xen-devel] [PATCH v9 08/15] microcode/amd: call svm_host_osvw_init() in common code

2019-08-18 Thread Chao Gao
Introduce a vendor hook, .end_update, for svm_host_osvw_init(). The hook function is called on each cpu after loading an update. It is a preparation for spliting out apply_microcode() from cpu_request_microcode(). Note that svm_host_osvm_init() should be called regardless of the result of loading