[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 2/5] x86/microcode: Create per-vendor microcode_ops builders
On Mon, Jun 19, 2023 at 05:45:14PM +0200, Jan Beulich wrote: > On 15.06.2023 17:48, Alejandro Vallejo wrote: > > --- a/xen/arch/x86/cpu/microcode/amd.c > > +++ b/xen/arch/x86/cpu/microcode/amd.c > > @@ -432,9 +432,13 @@ static struct microcode_patch *cf_check > > cpu_request_microcode( > > return patch; > > } > > > > -const struct microcode_ops __initconst_cf_clobber amd_ucode_ops = { > > Something will want to be done to retain the cf_clobber aspect, > i.e. to be able to get rid of no longer necessary ENDBR64 after > alternatives patching is finished. I guess I first need to see > what further patches do in order to maybe come up with a > suggestion. > > Jan I (mistakenly) thought the clobber tag was simply making sure the static contents were themselves clobbered. It seems like it's actually aiding the alternatives machinery with function pointer cleanup, so this was blatantly wrong on my part. Sigh... Either way, I'm bringing the static structs back and dealing with this in another way. Cheers for the pointer. Alejandro
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |