From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DB93C43441 for ; Thu, 29 Nov 2018 14:56:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 551AA2081C for ; Thu, 29 Nov 2018 14:56:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="TDprkNcX" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 551AA2081C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731693AbeK3CBm (ORCPT ); Thu, 29 Nov 2018 21:01:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:51502 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731655AbeK3B06 (ORCPT ); Thu, 29 Nov 2018 20:26:58 -0500 Received: from localhost (unknown [122.178.235.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B3D3A2133F; Thu, 29 Nov 2018 14:21:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543501287; bh=j9x95LLQiSLZPuI7E9GTkCNz4yIpRJWzFqdRWa6/oJM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TDprkNcXMGKS0oVRbVSxCpfpPvkdTL0Oc+csVmEWAzvxnPnF/1v+S+QJVxLgxECg6 X+s+5Vx5hTW5EZva4MW5li+eFiHq5AC0+/ljngwzNggSZVlfYkIL5INQ9qB5iuKEvF EzaG3JLUXcG+kBmefj6YeLrtVFkkLXLyYsDPhSnI= Date: Thu, 29 Nov 2018 19:51:18 +0530 From: Vinod Koul To: Richard Genoud Cc: Ludovic Desroches , Dan Williams , Alexandre Belloni , Nicolas Ferre , Maxime Ripard , Mario Forner , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] dmaengine: at_hdmac: fix module unloading Message-ID: <20181129142118.GI3175@vkoul-mobl.Dlink> References: <20181127160635.11836-1-richard.genoud@gmail.com> <20181127160635.11836-2-richard.genoud@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181127160635.11836-2-richard.genoud@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27-11-18, 17:06, Richard Genoud wrote: > of_dma_controller_free() was not called on module onloading. > This lead to a soft lockup: > watchdog: BUG: soft lockup - CPU#0 stuck for 23s! > Modules linked in: at_hdmac [last unloaded: at_hdmac] > when of_dma_request_slave_channel() tried to call ofdma->of_dma_xlate(). Applied, thanks -- ~Vinod