diff options
author | 2023-09-29 08:38:53 +0300 | |
---|---|---|
committer | 2023-10-05 13:45:22 +0200 | |
commit | 5f710e3bc5987373737470f98798bbd49134a2e0 (patch) | |
tree | 890f46c6e2ca77e1f79dad0b79c84fe90e4977a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | clk: renesas: rzg2l: Fix computation formula (diff) | |
download | wireguard-linux-5f710e3bc5987373737470f98798bbd49134a2e0.tar.xz wireguard-linux-5f710e3bc5987373737470f98798bbd49134a2e0.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions