summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>2023-09-29 08:38:53 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2023-10-05 14:45:22 +0300
commit5f710e3bc5987373737470f98798bbd49134a2e0 (patch)
tree890f46c6e2ca77e1f79dad0b79c84fe90e4977a6 /tools/perf/scripts/python/gecko.py
parenta2b23159499efd36b2d63b3c4534075d12ddc97a (diff)
downloadlinux-5f710e3bc5987373737470f98798bbd49134a2e0.tar.xz
clk: renesas: rzg2l: Remove critical area
The spinlock in rzg2l_mod_clock_endisable() is intended to protect RMW-accesses to the hardware register. There is no need to protect instructions that set temporary variables which will be written afterwards to a hardware register. With this only one write to one clock register is executed thus locking/unlocking rmw_lock is removed. Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/20230929053915.1530607-7-claudiu.beznea@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions