Re: [PATCH] powerpc/mm/book3s64/iommu: fix some RCU-list locks

2021-02-03 Thread Michael Ellerman
On Sun, 10 May 2020 01:15:59 -0400, Qian Cai wrote: > It is safe to traverse mm->context.iommu_group_mem_list with either > mem_list_mutex or the RCU read lock held. Silence a few RCU-list false > positive warnings and fix a few missing RCU read locks. > >

[PATCH] powerpc/mm/book3s64/iommu: fix some RCU-list locks

2020-05-09 Thread Qian Cai
It is safe to traverse mm->context.iommu_group_mem_list with either mem_list_mutex or the RCU read lock held. Silence a few RCU-list false positive warnings and fix a few missing RCU read locks. arch/powerpc/mm/book3s64/iommu_api.c:330 RCU-list traversed in non-reader section!! other info