Re: [PATCH v11 04/20] x86/cpu: Detect TDX partial write machine check erratum

From: kirill.shutemov@xxxxxxxxxxxxxxx
Date: Wed Jun 07 2023 - 11:08:49 EST


On Tue, Jun 06, 2023 at 10:58:04PM +0000, Huang, Kai wrote:
> So it seems there's no hard rule that all bugs need to be done in
> cpu_set_bug_bits().

Yes, CPU identify is a mess, but initcall makes it worse. Initcall is lazy
way out that contributes to the mess. Maybe cpu_set_bug_bits() is the
wrong place, find the right one.

--
Kiryl Shutsemau / Kirill A. Shutemov