On 26.11.2021 22:22, Andrew Cooper wrote: > Microcode loading is not a fastpath, but there are control flow security > benefits from using altcall()'s hardening side effect. > > Convert the existing microcode_ops pointer into a __read_mostly structure, and > move {amd,intel}_ucode_ops into __initdata_cf_clobber. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com>
Again subject to the resolution of the const aspect and perhaps with __read_mostly converted to __ro_after_init (assuming its introduction goes in first) Reviewed-by: Jan Beulich <jbeul...@suse.com> Jan