Messages in this thread | | | Date | Mon, 18 Jun 2018 20:30:16 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH v6 8/8] x86/microcode/AMD: Don't scan past the CPU equivalence table data |
| |
On Mon, Jun 18, 2018 at 08:11:53PM +0200, Maciej S. Szmigiero wrote: > The equivalence table size can be computed in the late loader - there is > no problem there. > > However, this computed size needs to be passed somehow to functions > scanning the equivalence table.
Ok, then let's make a compromise with a proper global descriptor which gets passed around:
static struct equiv_cpu_table { struct equiv_cpu_entry *table; unsigned int size; } *equiv_table;
But make that conversion in a prepatch pls.
Thx.
-- Regards/Gruss, Boris.
Good mailing practices for 400: avoid top-posting and trim the reply.
| |