[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180618183016.GF24921@zn.tnic>
Date: Mon, 18 Jun 2018 20:30:16 +0200
From: Borislav Petkov <bp@...en8.de>
To: "Maciej S. Szmigiero" <mail@...iej.szmigiero.name>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"H. Peter Anvin" <hpa@...or.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
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.
Powered by blists - more mailing lists