From: Andreas Herrmann <herrmann.der.user@googlemail.com>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: Dmitry Adamushko <dmitry.adamushko@gmail.com>,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/3] x86, ucode-amd: Load ucode-patches once and not separately fo each CPU
Date: Wed, 11 Nov 2009 12:27:33 +0100 [thread overview]
Message-ID: <20091111112733.GE18592@alberich.amd.com> (raw)
In-Reply-To: <4AFA6CEB.6020202@ladisch.de>
On Wed, Nov 11, 2009 at 08:51:07AM +0100, Clemens Ladisch wrote:
> Dmitry Adamushko wrote:
> > btw., if we could safely assume that all the cpus after the ucode
> > upgrade share the same version/patch-level of ucode, we would be able
> > to cache a single ucode instance once and use it for all.
Hmm, I think all ucode-versions needed in a mixed silicon system need
to be cached. See below.
> > I don't recall anyone clearly stating that such multi-cpu-type
> > systems can't really exist.
> > e.g. is it possible to have AMD systems with cpus which differ from
> > each other not only by their revisions (patch_level)?
Mixed silicon is possible.
So at least in theory this could result in different patch_levels
because the required microcode is identified via processor revision
consisting of family/model/stepping.
> The Revision Guide for AMD Family 10h Processors (#41322) says, in
> section "Mixed Silicon Support", that the Opteron B steppings can be
> used with each other (DR-BA, DR-B2, DR-B3; CPUID 00100F2xh). Are
> different steppings considered equivalent?
The microcode to be loaded is identified by an Equivalent Processor
ID. The Equivalent Processor ID is determined with an equivalence
table which maps the processor revision IDs to Equivalent Processor
IDs.
Above revision B steppeings have different processor revision IDs:
(because the stepping differs)
00100F2Ah (DR-BA)
00100F22h (DR-B2)
00100F23h (DR-B3)
An example of an equivalence table is
0x00100F2A; 0x1020
0x00100F22; 0x1022
0x00100F23; 0x1022
This means when combining DR-BA and DR-B2 (or DR-B3) different ucode
gets installed for the two processors.
Regards,
Andreas
next prev parent reply other threads:[~2009-11-11 11:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 11:06 [PATCH 0/3] x86, ucode-amd: trim verbosity Andreas Herrmann
2009-11-10 11:07 ` [PATCH 1/3] x86, ucode-amd: Load ucode-patches once and not separately fo each CPU Andreas Herrmann
2009-11-10 12:02 ` Dmitry Adamushko
2009-11-11 7:51 ` Clemens Ladisch
2009-11-11 11:27 ` Andreas Herrmann [this message]
2009-11-12 15:05 ` Andreas Herrmann
2009-11-10 13:21 ` [tip:x86/microcode] x86: ucode-amd: Load ucode-patches once and not separately of " tip-bot for Andreas Herrmann
2009-11-10 11:08 ` [PATCH 2/3] x86, ucode-amd: Don't warn when no ucode is available for a CPU revision Andreas Herrmann
2009-11-10 13:22 ` [tip:x86/microcode] x86: " tip-bot for Andreas Herrmann
2009-11-10 11:09 ` [PATCH 3/3] x86, ucode-amd: printk(KERN_* to pr_* conversion Andreas Herrmann
2009-11-10 13:22 ` [tip:x86/microcode] x86: ucode-amd: Convert printk(KERN_*...) to pr_*(...) tip-bot for Andreas Herrmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091111112733.GE18592@alberich.amd.com \
--to=herrmann.der.user@googlemail.com \
--cc=clemens@ladisch.de \
--cc=dmitry.adamushko@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox