[Linux-kernel-mentees] [PATCH v2] drivers: soc: ti: knav_qmss_queue: Pass lockdep expression to RCU lists
santosh.shilimkar at oracle.com
santosh.shilimkar at oracle.com
Fri Jan 17 18:24:04 UTC 2020
On 1/17/20 5:30 AM, Amol Grover wrote:
> inst->handles is traversed using list_for_each_entry_rcu
> outside an RCU read-side critical section but under the protection
> of knav_dev_lock.
>
> Hence, add corresponding lockdep expression to silence false-positive
> lockdep warnings, and harden RCU lists.
>
> Add macro for the corresponding lockdep expression.
>
> Signed-off-by: Amol Grover <frextrite at gmail.com>
> ---
> v2:
> - Remove rcu_read_lock_held() from lockdep expression since it is
> implicitly checked for.
>
Looks fine to me.
Hi Olof, Arnd,
Can you please pick this one and apply to your driver-soc branch ?
I already sent out pull request and hence the request.
regards,
Santosh
More information about the Linux-kernel-mentees
mailing list