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

octeontx2-pf: disable preemption while using per_cpu pointer



commit 6c6acfa9e815030c366666b8106885ec2abcba14 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.

Change-Id: Iff94d64b5f1fec481267cf67dc3d6519c63913e4
Signed-off-by: default avatarGeetha sowjanya <gakula@marvell.com>
Signed-off-by: default avatarSubbaraya Sundeep <sbhatta@marvell.com>
[RQ: Drop the parts which have been already applied.]
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent a20b4f2b
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