From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 21B0F1007D5 for ; Thu, 19 May 2011 23:22:45 +1000 (EST) Subject: Re: [PATCH] powerpc/85xx: Save and restore pcie ATMU windows for PM Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Kumar Gala In-Reply-To: <071A08F2C6A57E4E94D980ECA553F8741D5C33@039-SN1MPN1-005.039d.mgd.msft.net> Date: Thu, 19 May 2011 08:22:39 -0500 Message-Id: References: <1303972729-32242-1-git-send-email-prabhakar@freescale.com> <3A8FAEED-7BD9-4776-85A9-560D07417BA8@kernel.crashing.org> <071A08F2C6A57E4E94D980ECA553F8741D5C33@039-SN1MPN1-005.039d.mgd.msft.net> To: Kushwaha Prabhakar-B32579 Cc: "meet2prabhu@gmail.com" , "linuxppc-dev@lists.ozlabs.org" , Jiang Yutang-B14898 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On May 19, 2011, at 6:22 AM, Kushwaha Prabhakar-B32579 wrote: > Hi Kumar, > Please find my answer in-lined >=20 >> -----Original Message----- >> From: Kumar Gala [mailto:galak@kernel.crashing.org] >> Sent: Thursday, May 19, 2011 12:00 PM >> To: Kushwaha Prabhakar-B32579 >> Cc: linuxppc-dev@lists.ozlabs.org; meet2prabhu@gmail.com; Jiang = Yutang- >> B14898 >> Subject: Re: [PATCH] powerpc/85xx: Save and restore pcie ATMU windows = for >> PM >>=20 >>=20 >> On Apr 28, 2011, at 1:38 AM, Prabhakar Kushwaha wrote: >>=20 >>> D3-cold state indicates removal of the clock and power. however >>> auxiliary (AUX) Power may remain available even after the main power >> rails are powered down. >>>=20 >>> wakeup from D3-cold state requires full context restore. Other = things >>> are taken care in pci-driver except ATMUs. >>> ATMU windows needs to be saved and restored during suspend and = resume. >>>=20 >>> Signed-off-by: Jiang Yutang >>> Signed-off-by: Prabhakar Kushwaha >>> --- >>> Based upon >>> = git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git(b >>> ranch master) >>>=20 >>> arch/powerpc/sysdev/fsl_pci.c | 116 >> +++++++++++++++++++++++++++++++++++++++++ >>> arch/powerpc/sysdev/fsl_pci.h | 7 ++- >>> 2 files changed, 121 insertions(+), 2 deletions(-) >>=20 >> Is this patch for when we are a host or agent? >=20 > This patch is independent of host or agent. It is for supporting D3 = cold state for P1022. > These functions are called during System level suspend and resume.=20 >=20 > --Prabhakar I'm trying to figure out why this is limited to P1022. - k=