From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751754AbdHCIl5 (ORCPT ); Thu, 3 Aug 2017 04:41:57 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:36488 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751162AbdHCIlx (ORCPT ); Thu, 3 Aug 2017 04:41:53 -0400 Subject: Re: Suspend-resume failure on Intel Eagle Lake Core2Duo To: Masahiro Yamada , Thomas Gleixner References: <4d6b511a-61d5-3c5e-a406-9f71d83670b6@linux.intel.com> <7287f845-1012-51af-e696-99d26bcb9b7f@intel.com> <1d2c51f3-a655-2223-68a9-e6d700e7d8e1@intel.com> <412a3ab0-4ae5-b27a-0b2d-d2e03b27a999@intel.com> Cc: Tomi Sarvela , Martin Peres , Jeffy Chen , Linux Kernel Mailing List From: Marc Zyngier Organization: ARM Ltd Message-ID: Date: Thu, 3 Aug 2017 09:41:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Masahiro, On 03/08/17 08:32, Masahiro Yamada wrote: > Hi. > > 2017-08-01 0:55 GMT+09:00 Thomas Gleixner : >> On Mon, 31 Jul 2017, Tomi Sarvela wrote: >>> On 31/07/17 18:06, Thomas Gleixner wrote: >>>> Can you please remove the patch. And try the following: >>>> >>>> # echo N > /sys/module/printk/parameters/console_suspend >>>> >>>> # echo mem > /sys/power/state >>>> >>>> and log the output of the serial console. That way we might get a clue >>>> where it gets stuck. >>> >>> I'm afraid it hangs right away. No response from SSH, no output to serial. >> >> What means hangs right away? Is there no output at all on the serial >> console? Or does it just stop at some point? >> >> Thanks, >> >> tglx >> > > Sorry for jumping in. > Finally, I found this thread. > > > My environment is completely different (ARM64 board), > I am also suffering from a hibernation problem > since this commit. > > > I get no response on the serial console > after "Restarting tasks ... done." log message. > > > By reverting bf22ff45bed6 ("genirq: Avoid unnecessary low level > irq function calls", I can get hibernation working again. > > > SW info: > defconfig: arch/arm64/configs/defconfig > DT : arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts > PSCI : ARM Trusted Firmware > > > SoC info: > CPU : Cortex-A72 * 2 + Cortex-A53 * 2 > irqchip : GICv3 (drivers/irq/irq-gic-v3.c) Let me take an educated guess: It feels like your firmware doesn't save/restore the GIC context across suspend/resume. Is that something you could check, assuming you have access to the firmware source code? Thanks, M. -- Jazz is not dead. It just smells funny...