[OpenWrt-Devel] [PATCH] ipq40xx: essedma: Fix dead lock

John Crispin john at phrozen.org
Sun Oct 20 07:18:25 EDT 2019


On 20/10/2019 13:07, Christian Lamparter wrote:
> On Sunday, October 20, 2019 11:39:41 AM CEST John Crispin wrote:
>> On 01/10/2019 11:59, Masafumi UTSUGI wrote:
>>> edma_read_append_stats() is called from kernel timer
>>> (Bottom half context) but it used spin_lock() to take a lock.
>>> Using ethtool command rarely causes deadlock because of this.
>>> Change lock function to spin_lock_bh() to avoid this.
>>>
>>
>> Hi,
>> patch looks good, could you please rebase it for v4.19 and merge the fix
>> directly into the essedma patch ?
> 
> Oh, I've already done that yesterday?
> 
> https://git.openwrt.org/?p=openwrt/staging/chunkeey.git;a=commit;h=3e8fc768f78c6b7f7025dd15264d113da9ad81b2
> 
> 
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 

Ok, the patchwork ticket was still open :-)

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list