[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 4/4] x86/ucode: Use altcall, and __initdata_cf_clobber
On 01/12/2021 08:23, Jan Beulich wrote: > 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.cooper3@xxxxxxxxxx> > 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 <jbeulich@xxxxxxxx> Thanks. Given how simple __ro_after_init was, it would be preferable to get that in first, than to go around patching these a second time. ~Andrew
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |