[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130419191128.GA21991@pd.tnic>
Date: Fri, 19 Apr 2013 21:11:28 +0200
From: Borislav Petkov <bp@...en8.de>
To: Bryan O'Donoghue <bryan.odonoghue.lkml@...us-software.ie>
Cc: hpa@...or.com, linux-kernel@...r.kernel.org, x86@...nel.org,
fenghua.yu@...el.com
Subject: Re: [PATCH] x86: Add check for P5 to microcode_intel_early
On Fri, Apr 19, 2013 at 06:23:03PM +0100, Bryan O'Donoghue wrote:
> Architectural MSRs associated with microcode are for P6 or higher.
> Add a check to early microcode to detect < P6.
>
> Without a check for < P6 - we end up reading from unimplemented MSRs
> on Pentium.
Is this something you're actually seeing on some box or just found by
staring at the code?
In any case, the family checks should go into the ucode driver entry
points in arch/x86/kernel/microcode_core_early.c. AFAICT, x86_vendor()
is a good candidate to be taught to read out the family too and return
X86_VENDOR_UNKNOWN if < P6. Or something to that effect.
--
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists