[PATCH 0/3] x86, ucode-amd: trim verbosity

From: Andreas Herrmann
Date: Tue Nov 10 2009 - 06:06:20 EST


Following patches make log messages of microcode_amd more terse.

Especially in conjunction with Dmitry's planned changes to summarize
patch level information this will help to trim messages to the
necessary minimum on systems with many CPUs.

Example (without patch 1 and 2) of a 48 CPU system:

microcode: CPU0: patch_level=0x10000b5
platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
microcode: CPU0: cpu revision not listed in equivalent cpu table
microcode: CPU0: cpu revision not listed in equivalent cpu table
microcode: CPU1: patch_level=0x10000b5
platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
microcode: CPU1: cpu revision not listed in equivalent cpu table
microcode: CPU1: cpu revision not listed in equivalent cpu table

...

microcode: CPU46: patch_level=0x10000b5
platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
microcode: CPU46: cpu revision not listed in equivalent cpu table
microcode: CPU46: cpu revision not listed in equivalent cpu table
microcode: CPU47: patch_level=0x10000b5
platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
microcode: CPU47: cpu revision not listed in equivalent cpu table
microcode: CPU47: cpu revision not listed in equivalent cpu table
Microcode Update Driver: v2.00 <tigran@xxxxxxxxxxxxxxxxxxxx>, Peter Oruba

This is a lot of unnecessary noise. With patches 1 and 2 applied this
is shortened to:

platform microcode: firmware: requesting amd-ucode/microcode_amd.bin
microcode: CPU0: patch_level=0x10000b5
microcode: CPU1: patch_level=0x10000b5

...

microcode: CPU46: patch_level=0x10000b5
microcode: CPU47: patch_level=0x10000b5
Microcode Update Driver: v2.00 <tigran@xxxxxxxxxxxxxxxxxxxx>, Peter Oruba

And with Dmitry's patches this will be trimmed down even further.
Note: Patch 3 is just a conversion from printk to pr_ macros.

Patches are against tip/master.
Please apply.


Thanks,

Andreas
--
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/