Skip to content
Commit 2baa2d5b authored by Geetha sowjanya's avatar Geetha sowjanya Committed by Ruiqiang Hao
Browse files

octeontx2-pf: disable preemption while using per_cpu pointer



commit 8e4eeb142a03dbd69dfc6cb487d45e42030c2418 from
git@git.assembla.com:cavium/WindRiver.linux.git

Current code uses per_cpu pointer to get the lmtst_id mapped to the core
on which aura_free() is executed. Using per_cpu pointer without
preemption disable will cause mismatch between lmtst_id and core on
which pointer gets freed. Hence disable preemption around aura_free.

Signed-off-by: default avatarGeetha sowjanya <gakula@marvell.com>
Change-Id: I5b81a428a9f44944e50f4c34d2c3d0663aa7668b
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/65316


Reviewed-by: default avatarGeethasowjanya Akula <Geethasowjanya.Akula@cavium.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 346765eb
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