From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mga02.intel.com ([134.134.136.20]) by bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux)) id 1JwW87-0006IG-30 for kexec@lists.infradead.org; Thu, 15 May 2008 05:35:55 +0000 Subject: Re: [PATCH -mm] kexec jump -v9 From: "Huang, Ying" In-Reply-To: <20080514205204.GJ30469@redhat.com> References: <1204773188.4707.109.camel@caritas-dev.intel.com> <20080514205204.GJ30469@redhat.com> Date: Thu, 15 May 2008 13:41:50 +0800 Message-ID: <1210830110.23707.141.camel@caritas-dev.intel.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: kexec-bounces@lists.infradead.org Errors-To: kexec-bounces+dwmw2=infradead.org@lists.infradead.org To: Vivek Goyal Cc: nigel@nigel.suspend2.net, Kexec Mailing List , linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , "Eric W. Biederman" , Pavel Machek , Andrew Morton , linux-pm@lists.linux-foundation.org Hi, Vivek, On Wed, 2008-05-14 at 16:52 -0400, Vivek Goyal wrote: [...] > Ok, I have done some testing on this patch. Currently I have just > tested switching back and forth between two kernels and it is working for > me. > > Just that I had to put LAPIC and IOAPIC in legacy mode for it to work. Few > comments/questions are inline. It seems that for LAPIC and IOAPIC, there is lapic_suspend()/lapic_resume() and ioapic_suspend()/ioapic_resume(), which will be called before/after kexec jump through device_power_down()/device_power_up(). So, the mechanism for LAPIC/IOAPIC is there, we may need to check the corresponding implementation. Best Regards, Huang Ying _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755378AbYEOFgB (ORCPT ); Thu, 15 May 2008 01:36:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752087AbYEOFfv (ORCPT ); Thu, 15 May 2008 01:35:51 -0400 Received: from mga02.intel.com ([134.134.136.20]:14353 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751835AbYEOFfu (ORCPT ); Thu, 15 May 2008 01:35:50 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.27,489,1204531200"; d="scan'208";a="383907844" Subject: Re: [PATCH -mm] kexec jump -v9 From: "Huang, Ying" To: Vivek Goyal CC: "Eric W. Biederman" , Pavel Machek , nigel@nigel.suspend2.net, "Rafael J. Wysocki" , Andrew Morton , linux-kernel@vger.kernel.org, linux-pm@lists.linux-foundation.org, Kexec Mailing List In-Reply-To: <20080514205204.GJ30469@redhat.com> References: <1204773188.4707.109.camel@caritas-dev.intel.com> <20080514205204.GJ30469@redhat.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 15 May 2008 13:41:50 +0800 Message-ID: <1210830110.23707.141.camel@caritas-dev.intel.com> MIME-Version: 1.0 X-Mailer: Evolution 2.22.1 X-OriginalArrivalTime: 15 May 2008 05:35:24.0671 (UTC) FILETIME=[797818F0:01C8B64D] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Vivek, On Wed, 2008-05-14 at 16:52 -0400, Vivek Goyal wrote: [...] > Ok, I have done some testing on this patch. Currently I have just > tested switching back and forth between two kernels and it is working for > me. > > Just that I had to put LAPIC and IOAPIC in legacy mode for it to work. Few > comments/questions are inline. It seems that for LAPIC and IOAPIC, there is lapic_suspend()/lapic_resume() and ioapic_suspend()/ioapic_resume(), which will be called before/after kexec jump through device_power_down()/device_power_up(). So, the mechanism for LAPIC/IOAPIC is there, we may need to check the corresponding implementation. Best Regards, Huang Ying