[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240430134759.GBZjD2j942leiJGSrQ@fat_crate.local>
Date: Tue, 30 Apr 2024 15:47:59 +0200
From: Borislav Petkov <bp@...en8.de>
To: Yazen Ghannam <yazen.ghannam@....com>
Cc: robert.richter@....com, linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org, tony.luck@...el.com, x86@...nel.org,
Avadhut.Naik@....com, John.Allen@....com
Subject: Re: [PATCH v2 07/16] x86/mce/amd: Simplify DFR handler setup
On Mon, Apr 29, 2024 at 10:25:02AM -0400, Yazen Ghannam wrote:
> Yep, "MCA init cleanup" is another thing on my TODO list.
Right, so looking at the code, early_identify_cpu()/identify_boot_cpu()
could call a
mca_bsp_init()
or so which does the once, vendor-agnostic setup.
identify_cpu->mcheck_cpu_init()
already does both the BSP and AP per-CPU init.
With such a split, I think we'll have all the proper places to do setup
at the right time without hackery.
> The BSP still completely finishes init before the APs, correct?
Yes.
> I recall some effort to make CPU init more parallel, but I haven't
> been following it.
I think you mean parallel hotplug but that's for the APs only.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
Powered by blists - more mailing lists