From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755218AbbBLH1u (ORCPT ); Thu, 12 Feb 2015 02:27:50 -0500 Received: from mga02.intel.com ([134.134.136.20]:49746 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750902AbbBLH1s (ORCPT ); Thu, 12 Feb 2015 02:27:48 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,564,1418112000"; d="scan'208";a="526420149" Date: Thu, 12 Feb 2015 12:55:26 +0530 From: Vinod Koul To: Robin Gong Cc: dan.j.williams@intel.com, s.hauer@pengutronix.de, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] dma: imx-sdma: switch to dynamic context mode after script loaded Message-ID: <20150212072526.GJ21387@intel.com> References: <1421911420-31821-1-git-send-email-b38343@freescale.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1421911420-31821-1-git-send-email-b38343@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 22, 2015 at 03:23:40PM +0800, Robin Gong wrote: > Below comments got from Page4724 of Reference Manual of i.mx6q: > http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf > > --"Static context mode should be used for the first channel called > after reset to ensure that the all context RAM for that channel is > initialized during the context SAVE phase when the channel is > done or yields. Subsequent calls to the same channel or > different channels may use any of the dynamic context modes. > This will ensure that all context locations for the bootload > channel are initialized, and prevent undefined values in context > RAM from being loaded during the context restore if the > channel is re-started later" > > Unfortunately, the rule was broken by commit(5b28aa319bba96987316425a1131813d87cbab35) > .This patch just take them back. Applied, thanks Pls ensure you use the right subsystem name -- ~Vinod