Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 44d60c0f authored by Borislav Petkov's avatar Borislav Petkov
Browse files

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: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent 258721ef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment