Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753088AbaKCRiS (ORCPT ); Mon, 3 Nov 2014 12:38:18 -0500 Received: from down.free-electrons.com ([37.187.137.238]:55175 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752318AbaKCRiN (ORCPT ); Mon, 3 Nov 2014 12:38:13 -0500 Message-ID: <5457BD82.3090309@free-electrons.com> Date: Mon, 03 Nov 2014 18:38:10 +0100 From: Gregory CLEMENT User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Thomas Petazzoni , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth CC: linux-arm-kernel@lists.infradead.org, Tawfik Bayouk , Nadav Haklai , Lior Amsalem , Ezequiel Garcia , devicetree@vger.kernel.org, Thomas Gleixner , linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/17] irqchip: irq-armada-370-xp: suspend/resume support References: <1414151970-6626-1-git-send-email-thomas.petazzoni@free-electrons.com> <1414151970-6626-5-git-send-email-thomas.petazzoni@free-electrons.com> In-Reply-To: <1414151970-6626-5-git-send-email-thomas.petazzoni@free-electrons.com> 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 Thomas, On 24/10/2014 13:59, Thomas Petazzoni wrote: > This commit adds suspend/resume support to the irqchip driver used on > Armada XP platforms (amongst others). It does so by adding a set of > suspend/resume syscore_ops, that will respectively save and restore > the necessary registers to ensure interrupts continue to work after > resume. > > It is worth mentioning that the affinity is lost during a > suspend/resume cycle, because when a secondary CPU is brought > off-line, all interrupts that are assigned to this CPU in terms of > affinity gets re-assigned to a still running CPU. Therefore, right > before entering suspend, all interrupts are assigned to the boot CPU. So what about /proc/irq/*/smp_affinity ? Do this files still represent accurate information? Thanks, Gregory -- Gregory Clement, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/