mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
x86, microcode, AMD: Extend ucode size verification
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>
This commit is contained in:
parent
258721ef34
commit
44d60c0f5c
1 changed files with 44 additions and 16 deletions
Loading…
Add table
Add a link
Reference in a new issue