Re: [PATCH v6 8/8] x86/microcode/AMD: Don't scan past the CPU equivalence table data

From: Borislav Petkov
Date: Mon Jun 18 2018 - 12:44:44 EST


On Tue, Jun 12, 2018 at 11:08:31PM +0200, Maciej S. Szmigiero wrote:
> That was the solution before this patch series version (6) - there was
> a variable holding the CPU equivalence table size for the late loader,
> but you didn't like it:> Instead of adding yet another global var which needs handling too,
> > and touching so many places, just do all checks and preparations in
> > install_equiv_cpu_table() so that the rest of the code can get what it
> > expects: terminating zero entry and proper size.

So what's wrong with computing the size in the late loader just like you
do in parse_container()?

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.