linux/arch/x86/kernel/cpu/microcode
Borislav Petkov 8801b3fcb5 x86/microcode/AMD: Rework container parsing
It was pretty clumsy before and the whole work of parsing the microcode
containers was spread around the functions wrongly.

Clean it up so that there's a main scan_containers() function which
iterates over the microcode blob and picks apart the containers glued
together. For each container, it calls a parse_container() helper which
concentrates on one container only: sanity-checking, parsing, counting
microcode patches in there, etc.

It makes much more sense now and it is actually very readable. Oh, and
we luvz a diffstat removing more crap than adding.

Signed-off-by: Borislav Petkov <bp@suse.de>
Link: http://lkml.kernel.org/r/20170120202955.4091-8-bp@alien8.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-01-23 10:02:47 +01:00
..
amd.c x86/microcode/AMD: Rework container parsing 2017-01-23 10:02:47 +01:00
core.c x86/microcode/AMD: Reload proper initrd start address 2016-12-21 10:50:04 +01:00
intel.c x86/microcode/intel: Drop stashed AP patch pointer optimization 2017-01-23 09:39:55 +01:00
Makefile x86/microcode/intel: Remove intel_lib.c 2016-10-25 12:28:59 +02:00