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: Nithin Dabilpuram <ndabilpuram@marvell.com> Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/56969 Tested-by: sa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com> Reviewed-by: Jerin Jacob Kollanukkaran <jerinj@marvell.com> Signed-off-by: Ruiqiang Hao <Ruiqiang.Hao@windriver.com>
Please register or sign in to comment