crypto: cn10k: allocate 64KB for each microcode image
commit d032630f4673cd30f1ad5c0dbd8c1499fb6c6b59 from git@git.assembla.com:cavium/WindRiver.linux.git CN10K ASIM CPT eref is trying to fetch 64KB microcode data all the time from given microcode image address but existing CPT PF driver allocates the memory for actual microcode image size. This is causing SMMU errors when 4K PAGE SIZE is used. So, this patch changes the driver logic to allocate 64KB all the time. Signed-off-by: Srujana Challa <schalla@marvell.com> Change-Id: I0fcb14588f296e2f706a33cad3f3acb565ddd05b Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/52378 Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com> Reviewed-by: Sunil Kovvuri Goutham <sgoutham@marvell.com> Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
parent
56e63369
Please register or sign in to comment