lkml.org 
[lkml]   [2022]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH RESEND v2 2/5] clk: mxl: Remove unnecessary spinlocks
    From
    Date
    Quoting Rahul Tanwar (2022-09-21 23:24:25)
    > This driver is now switched from direct readl/writel based register
    > access to regmap based register acceess. Regmap already has its own
    > lock to serialize the register accesses across multiple cores.
    >
    > Hence, there is no need for additional spinlocks in the driver.
    > Remove all spinlocks which are no longer required.

    Can you confirm that the driver doesn't do a read, modify, write (rmw)
    sequence where during the modification another CPU can rmw and corrupt
    the previous "read"?

    \
     
     \ /
      Last update: 2022-09-29 02:17    [W:3.805 / U:0.824 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site