Skip to content
Commit 8c32fb2d authored by Nithin Dabilpuram's avatar Nithin Dabilpuram Committed by Ruiqiang Hao
Browse files

octeontx2-af: perform cpt lf teardown in non FLR path



commit 04b5a193916b8d51993ce900e1ee4314fa45d69e from
git@git.assembla.com:cavium/WindRiver.linux.git

Perform CPT LF teardown in non FLR path as well via cpt_lf_free()
Currently CPT LF teardown and reset sequence is only
done when FLR is handled with CPT LF still attached.

This patch also fixes cpt_lf_alloc() to set EXEC_LDWB in
CPT_AF_LFX_CTL2 when being completely overwritten as that is
the default value and is better for performance.

Change-Id: I87f01b9f33bf14d0aeddbc34fbcaf24c970572c8
Signed-off-by: default avatarNithin Dabilpuram <ndabilpuram@marvell.com>
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/56969


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarJerin Jacob Kollanukkaran <jerinj@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 341607ea
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