Re: [PATCH] x86: Add check for P5 to microcode_intel_early

From: Borislav Petkov
Date: Fri Apr 19 2013 - 17:25:27 EST


On Fri, Apr 19, 2013 at 10:55:15PM +0200, Borislav Petkov wrote:
> Just filter out P5 and earlier. The code already does that for CPUs
> which don't have CPUID.

Actually, an alternative - more practical albeit not very accurate
solution would be to check for which families Intel delivers microcode
and do the cut off there with a comment as to why you do it like that.

I very much doubt, Intel will add microcode for *older* families to the
package :-).

IOW, in the linux intel-microcode package we currently have:

$ tree /lib/firmware/intel-ucode/
âââ 06-0f-02
âââ 06-0f-06
âââ 06-0f-07
âââ 06-0f-0a
âââ 06-0f-0b
âââ 06-0f-0d
âââ 06-16-01
âââ 06-17-06
âââ 06-17-07
âââ 06-17-0a
âââ 06-1a-04
âââ 06-1c-02
âââ 06-1c-0a
âââ 06-1d-01
âââ 06-1e-04
âââ 06-1e-05
âââ 06-25-02
âââ 06-25-05
âââ 06-2a-07
âââ 06-2d-06
âââ 06-2d-07
âââ 06-2f-02
âââ 06-3a-09
âââ 0f-04-01
âââ 0f-04-03
âââ 0f-04-04
âââ 0f-04-07
âââ 0f-04-08
âââ 0f-04-09
âââ 0f-04-0a
âââ 0f-06-02
âââ 0f-06-04
âââ 0f-06-05
âââ 0f-06-08

So < 6 should be fine.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/