From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Walmsley Subject: Re: PM/RTC 3.5-rc5: System suspends fails when not built with RTC? Date: Fri, 13 Jul 2012 12:26:13 -0600 (MDT) Message-ID: References: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from utopia.booyaka.com ([72.9.107.138]:45438 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755984Ab2GMS0O (ORCPT ); Fri, 13 Jul 2012 14:26:14 -0400 In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Mark A. Greer" , Joe Woodward Cc: Kevin Hilman , linux-omap@vger.kernel.org + Mark On Fri, 13 Jul 2012, Joe Woodward wrote: > Thanks Paul, > > That patch does indeed seem to fix all my problems! > > With it I can now suspend, and all power domains hit the target states. OK, great. That patch is basically a revert of a819c4f16d5a2708c11e708fd59a96565c5384a8 ("ARM: OMAP3: PM: Only access IVA if one exists"). Sounds like we need to discriminate between the case where the IVA2 is present but has been efused off in some way (as in the AM3703) vs. the case where the IVA2 is not present at all (as in the AM35xx). Mark, do you have the time to take a look at this? Maybe omap3_has_iva() needs to be split into omap3_has_iva() and omap3_has_usable_iva(). Or maybe you can come up with a better idea... - Paul