Re: [ RFC, PATCH - 1/2, v2 ] x86-microcode: refactor microcodeoutput messages
From: Ingo Molnar
Date: Wed Nov 04 2009 - 07:27:34 EST
* dimm <dmitry.adamushko@xxxxxxxxx> wrote:
> [ resending ]
> this is in response to Mike's patch "Limit the number of microcode
> What's about the following (yet preliminary and not thoroughly tested)
> simplify 'struct ucode_cpu_info' and related functional logic.
> reduce a number of similar 'microcode version' messages by printing a
> single message for all cpus with equal microcode version, like:
> [ 96.589437] microcode: original microcode versions...
> [ 96.589451] microcode: CPU0-1: sig=0x6f2, pf=0x20, revision=0x57
> [ 96.603176] microcode: microcode versions after update...
> [ 96.603193] microcode: CPU0-1: sig=0x6f2, pf=0x20, revision=0x57
> The new approach is used in microcode_init() [ i.e. when loading a
> module ] and microcode_write(), that's when we update all the cpus at
> reload_for_cpu() and update-all-cpus-upon-resuming() use the old
> approach - a new microcode version is being reported upon applying it.
> The latter might employ the similar 'report-for-all' approach as above
> but that would somewhat complicate the logic. Anyways, there are plenty
> of per-cpu messages upon system resuming so having some more
> update-microcode related ones won't harm that muc, I guess :-)
Seems sensible to me.
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/