x86, microcode, AMD: Extend ucode size verification
authorBorislav Petkov <borislav.petkov@amd.com>
Thu, 10 Feb 2011 11:19:47 +0000 (12:19 +0100)
committerBorislav Petkov <borislav.petkov@amd.com>
Thu, 10 Feb 2011 11:24:03 +0000 (12:24 +0100)
The different families have a different max size for the ucode patch,
adjust size checking to the family we're running on. Also, do not
vzalloc the max size of the ucode but only the actual size that is
passed on from the firmware loader.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>

No differences found