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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2737FC433F5 for ; Mon, 25 Oct 2021 06:42:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EF21C603E9 for ; Mon, 25 Oct 2021 06:42:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org EF21C603E9 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=g1t0ev5kqgBk1lnPZ3h3qYLTivzh+pnZT2tY3XUfaFg=; b=Q3H+1jGrayT2MZ DScnMjlRfuKvvY0JT6a0LVdk9DxE2KKKOQcxFz5GG0vKqhLhlqqOdKy61XAjEoked7lm12/EdF9he 9UmgRLWrOojZjcvZNyA9yhWMFMtGv/w5i3/F5E9QWySRrIVq0nElPQTedusAtrt0BUTNBNXCotD2n FVbDMNP3OpsKSfCUJxdP2ztg0lQwp89ZSJJBXXdstqwPdTbEVOm7kAughc1M1L7J0TJlAli5+GnUU zfiKypZg5x/+Iutew4UF1cJyrf2v2vISrB+3YwoNCaNbEFnu1it+hdjc8+Ks2KMwh5NILTd5GUkhK oDv82mSfMQa5v+byPHsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1metfJ-00FQf3-En; Mon, 25 Oct 2021 06:41:01 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1metfG-00FQee-5k for linux-arm-kernel@lists.infradead.org; Mon, 25 Oct 2021 06:40:59 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id E7A6760EFE; Mon, 25 Oct 2021 06:40:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1635144057; bh=1m8Qm6Ar8P58zbGlX/cdwDXzRK1atE7UaM/YE71m+8w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iSdqyhfOqhC5XOHj2Us46t1Wo8lkTPR3VIQOfBmip741WzHQm936QMwUUzT24B3Ka 2tGOapQZO14Px7zrrosO5i6RjE/AdIBskw0F4UoBYky7PNehxfZKxWwGixjly2rTT3 CggvpISYhMX1Dl1lTBkdeZa1RakXKWc7jxaNxsKPssLZclTVJIfcHufhgdLmK6LIiQ DMjs9ICD0TidG7hQGjbuyicEvJF/2g9Zcrc1cwaDMM/iCrH7vaeiLkSVdJR3oNz/Ma NxCmLbOYTO6/uwT5dxww+Zk2Fu0C2OKMAUeu3mVDLy+OpduIZQ3oEB2gKB/yy7osw6 FSQAmRRX467zg== Date: Mon, 25 Oct 2021 12:10:53 +0530 From: Vinod Koul To: Angelo Dureghello Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-m68k@vger.kernel.org Subject: Re: [PATCH] dmaengine: fsl-edma: fix for missing dmamux module Message-ID: References: <20210901211610.662077-1-angelo.dureghello@timesys.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210901211610.662077-1-angelo.dureghello@timesys.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211024_234058_257543_C8C96C0F X-CRM114-Status: UNSURE ( 7.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 01-09-21, 23:16, Angelo Dureghello wrote: > Fix following panic on system halt: > > Requesting system halt > [ 10.600000] spi spi0.1: spi_device 0.1 cleanup > [ 10.630000] fsl_edma_chan_mux() fsl_chan->edma->n_chans 64 dmamux_nr 0 > [ 10.630000] *** ZERO DIVIDE *** FORMAT=4 > [ 10.630000] Current process id is 38 > [ 10.630000] BAD KERNEL TRAP: 00000000 > [ 10.630000] PC: [<402f09ba>] fsl_edma_chan_mux+0x7c/0x12e > ... > > Some architecture as mcf5441x (ColdFire) may not have > a dmamux, so dmamux_nr is set to 0. This patch considers this case. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel