[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH for-4.14] x86/ucode: Fix errors with start/end_update()
On 01.06.2020 16:57, Andrew Cooper wrote: > --- a/xen/arch/x86/cpu/microcode/amd.c > +++ b/xen/arch/x86/cpu/microcode/amd.c > @@ -395,26 +395,9 @@ static struct microcode_patch > *cpu_request_microcode(const void *buf, size_t siz > return patch; > } > > -#ifdef CONFIG_HVM > -static int start_update(void) > -{ > - /* > - * svm_host_osvw_init() will be called on each cpu by calling > '.end_update' > - * in common code. > - */ > - svm_host_osvw_reset(); > - > - return 0; > -} > -#endif > - > const struct microcode_ops amd_ucode_ops = { > .cpu_request_microcode = cpu_request_microcode, > .collect_cpu_info = collect_cpu_info, > .apply_microcode = apply_microcode, > -#ifdef CONFIG_HVM > - .start_update = start_update, > - .end_update_percpu = svm_host_osvw_init, As a result the function can (and imo should) become static. Preferably with that Reviewed-by: Jan Beulich <jbeulich@xxxxxxxx> Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |