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=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 6E7C9C2D0C0 for ; Mon, 23 Dec 2019 07:44:20 +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 4170920715 for ; Mon, 23 Dec 2019 07:44:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="eyUs5HF2"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="k6YTi1DR" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4170920715 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-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=Ow7w6B3MtHK+I7FECozY3wCPgohCRxye4dvrCybF1+w=; b=eyUs5HF2+P97FB +wDJsAVDWRt2a9F7YJ7TQ1df6ZgEUKmYfUzTMh/wywLJdp6Ot/vNfWPD5dUONzJFm7IxyRpIeUqgA CTPxaPbSXMM5/8y7ANFfkm8OrkfvM8M9KYxfSb6erTGjH6fhtyyEuq59ZBAEjuX46QL3qKpkAn/mr 7fYytm60gS64+J8/DxBEmKZROIDalSuTHO3WKtQhdB61efSRUR2req67JwPuZ9RkrveA9u4FalRmU 3uexhxkXNp+iAK5v5wglfFM5alj79EJWrddPq7wZ+lAW2ipY1X6clpEPd4Emc04M2B0kYfWZwm9Uh trMXkko8EF7gd6t6Wciw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijIO1-00030p-Hm; Mon, 23 Dec 2019 07:44:17 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijINn-0002qw-42 for linux-arm-kernel@lists.infradead.org; Mon, 23 Dec 2019 07:44:04 +0000 Received: from localhost (unknown [223.226.34.186]) (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 E26DA206CB; Mon, 23 Dec 2019 07:44:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577087042; bh=1fLYrfmnbwD9b8lNPzTWF67ECI0Gh5tx3/rYZlRUoiQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=k6YTi1DRmTzx4s/t1aBzQNsLmbb9Clp9CfMtLV3f/6wxZ8HgfQV8BhAErXZQvElG7 RMmpHcDXyK0Y9aDXIDI1utUKAW58TVX8gwaHX9IyM48m8K9fqpTHROslXVqeR3SJxQ pUcphECEjTwE/6LCDdyrG1BHahNvanIwv1gUsKIQ= Date: Mon, 23 Dec 2019 13:13:58 +0530 From: Vinod Koul To: Tony Lindgren Subject: Re: [PATCH 08/14] dmaengine: ti: omap-dma: Add device tree match data and use it for cpu_pm Message-ID: <20191223074358.GX2536@vkoul-mobl> References: <20191217001925.44558-1-tony@atomide.com> <20191217001925.44558-9-tony@atomide.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191217001925.44558-9-tony@atomide.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191222_234403_235550_564B4C28 X-CRM114-Status: GOOD ( 12.10 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Arnd Bergmann , Aaro Koskinen , Vinod Koul , Peter Ujfalusi , Russell King , dmaengine@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 16-12-19, 16:19, Tony Lindgren wrote: > With old DMA code disabled for handling DMA requests for device tree based > SoCs, we can move omap3 specific context save and restore to the dmaengine > driver. > > Let's do this by adding cpu_pm notifier handling to save and restore context, > and enable it based on device tree match data. This way we can use the match > data later to configure more SoC specific features later on too. > > Note that we only clear the channels in use while the platform code also > clears reserved channels 0 and 1 on high-security SoCs. Based on testing > on n900, this is not needed though and the system idles just fine. > > With the dmaengine driver handling context save and restore, we must now > remove the old custom calls for context save and restore. Acked-by: Vinod Koul -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel