From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751990AbdGaIfH (ORCPT ); Mon, 31 Jul 2017 04:35:07 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:36913 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751264AbdGaIfG (ORCPT ); Mon, 31 Jul 2017 04:35:06 -0400 Date: Mon, 31 Jul 2017 10:35:00 +0200 (CEST) From: Thomas Gleixner To: Tomi Sarvela cc: Martin Peres , jeffy.chen@rock-chips.com, LKML , "Rafael J. Wysocki" Subject: Re: Suspend-resume failure on Intel Eagle Lake Core2Duo In-Reply-To: <1d2c51f3-a655-2223-68a9-e6d700e7d8e1@intel.com> Message-ID: References: <4d6b511a-61d5-3c5e-a406-9f71d83670b6@linux.intel.com> <2ecc8ffd-e041-2d53-6f33-e91b3ec701eb@linux.intel.com> <67de95b4-a869-d897-e76c-17c974fb21a6@linux.intel.com> <862ba91e-9185-89a8-da81-63bb42ea565d@intel.com> <7287f845-1012-51af-e696-99d26bcb9b7f@intel.com> <1d2c51f3-a655-2223-68a9-e6d700e7d8e1@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rafael, On Fri, 28 Jul 2017, Tomi Sarvela wrote: > rtcwake-1332 [000] d..1 64.411112: suspend_device_irqs: > presuspend 8 state 00401200 > rtcwake-1332 [000] d..1 64.411112: __irq_disable: predisable 8 > state 00401200 > rtcwake-1332 [000] d..1 64.411113: __irq_disable: postdisable 8 > state 00411200 > rtcwake-1332 [000] d..1 64.411114: suspend_device_irqs: > postsuspend 8 state 00411200 > rtcwake-1332 [000] d..1 64.411115: suspend_device_irqs: > presuspend 9 state 00403300 > rtcwake-1332 [000] d..1 64.411115: __irq_disable: predisable 9 > state 00403300 > rtcwake-1332 [000] d..1 64.411116: __irq_disable: postdisable 9 > state 00413300 > rtcwake-1332 [000] d..1 64.411116: suspend_device_irqs: > postsuspend 9 state 00413300 > rtcwake-1332 [000] d..1 64.411117: suspend_device_irqs: I'm trying to analyze that suspend/resume problem. While staring at the trace Tomi provided I noticed, that neither the RTC irq nor the ACPI irq have the wakeup armed bit set, but the system resumes from an RTC interrupt. That's inconsistent at least, or am I missing something essential? Thanks, tglx