Messages in this thread | | | Date | Sun, 28 Apr 2024 20:27:14 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v4 29/71] x86/cpu/intel: Switch to new Intel CPU model defines |
| |
On Thu, Apr 25, 2024 at 04:29:37PM +0000, Luck, Tony wrote: > But since it is only used in one place, I should just do that test inline without > a helper: > > if (c->x86_vfm == spectre_bad_microcodes[i].vfm && > c->x86_stepping == spectre_bad_microcodes[i].stepping) > return (c->microcode <= spectre_bad_microcodes[i].microcode);
Right.
Thx.
-- Regards/Gruss, Boris.
https://people.kernel.org/tglx/notes-about-netiquette
| |