Messages in this thread | | | Date | Mon, 17 Jul 2017 07:19:25 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] x86/mce/AMD: Allow any CPU to initialize smca_banks array |
| |
On Thu, Jun 29, 2017 at 01:08:28PM -0500, Yazen Ghannam wrote: > From: Yazen Ghannam <yazen.ghannam@amd.com> > > Current SMCA implementations have the same banks on each CPU with the > non-core banks only visible to a "master thread" on each Die. Practically, > this means the smca_banks array, which describes the banks, only needs to > be populated once by a single master thread.
...
> If the first CPU up is not a master thread, then it will populate the array > with all core banks. The first CPU afterwards that is a master thread will > skip populating the core banks and continue populating the non-core banks. > Every CPU afterwards will then return early. > > Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> > --- > arch/x86/kernel/cpu/mcheck/mce_amd.c | 9 ++------- > 1 file changed, 2 insertions(+), 7 deletions(-)
Applied, thanks.
-- Regards/Gruss, Boris.
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --
| |