Skip to content
Commit 5de2df5d authored by Srujana Challa's avatar Srujana Challa Committed by Ruiqiang Hao
Browse files

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: default avatarSrujana Challa <schalla@marvell.com>
Change-Id: I0fcb14588f296e2f706a33cad3f3acb565ddd05b
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/52378
Reviewed-by: default avatarJerin Jacob Kollanukkaran <jerinj@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 56e63369
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment