From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751874AbdLARyX (ORCPT ); Fri, 1 Dec 2017 12:54:23 -0500 Received: from muru.com ([72.249.23.125]:53100 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751157AbdLARyW (ORCPT ); Fri, 1 Dec 2017 12:54:22 -0500 Date: Fri, 1 Dec 2017 09:54:18 -0800 From: Tony Lindgren To: Dave Gerlach Cc: Santosh Shilimkar , linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Russell King , Keerthy J , Johan Hovold Subject: Re: [PATCH v6 0/2] memory: Introduce ti-emif-sram driver Message-ID: <20171201175418.GS28152@atomide.com> References: <1512082568-5012-1-git-send-email-d-gerlach@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1512082568-5012-1-git-send-email-d-gerlach@ti.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Dave Gerlach [171130 22:58]: > This is a resend of v5 of this series found here [1]. It introduces > relocatable PM handlers for the emif that are copied to sram and > run from there during low power mode entry. > > The patches still have the previous ACKs but have a small change to > accomodate a change made by Tony in commit cd57dc5a2099 ("ARM: dts: > Add missing hwmod related nodes for am33xx"). If there are objections > to this let me know ASAP. Still looks good to me thanks. > Now that a hwmod is present for the am335x EMIF, on probe fail the call to > pm_runtime_put_sync causes the board to hang. In fact, this emif driver should > never alter the PM state of the hardware at all through normal kernel calls, it > is the job of the suspend handlers that are added, that is the whole point of > this driver. Because of this, I have dropped all runtime pm calls, as any > change to the PM state while the kernel is running is dangerous as we may shut > of the memory controller. It makes the most sense just to drop runtime PM from > the driver entirely. Besides that patch is unchanged. OK makes sense to me. Regards, Tony