Skip to content
Snippets Groups Projects
Commit 30a0757b authored by Michal Schmidt's avatar Michal Schmidt
Browse files

octeontx2-pf: Fix lmtst ID used in aura free

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2040643



commit 4af1b64f
Author: Geetha sowjanya <gakula@marvell.com>
Date:   Tue Jan 3 09:20:12 2023 +0530

    octeontx2-pf: Fix lmtst ID used in aura free

    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 causing mismatch between lmtst_id and
    core on which pointer gets freed. This patch fixes the issue by
    disabling preemption around aura_free.

    Fixes: ef6c8da7 ("octeontx2-pf: cn10K: Reserve LMTST lines per core")
Signed-off-by: default avatarSunil Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarGeetha sowjanya <gakula@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>

Signed-off-by: default avatarMichal Schmidt <mschmidt@redhat.com>
parent c8b495ad
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment