From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from g1t0028.austin.hp.com ([15.216.28.35]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Vuqe7-0003mt-QV for kexec@lists.infradead.org; Sun, 22 Dec 2013 21:33:12 +0000 Message-ID: <1387747621.1848.2.camel@misato.fc.hp.com> Subject: Re: [PATCH v7 00/12] kexec kernel efi runtime support From: Toshi Kani Date: Sun, 22 Dec 2013 14:27:01 -0700 In-Reply-To: <20131221173515.GE29501@console-pimps.org> References: <1387533742-18018-1-git-send-email-dyoung@redhat.com> <20131221173515.GE29501@console-pimps.org> 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" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Matt Fleming Cc: "mjg59@srcf.ucam.org" , "linux-efi@vger.kernel.org" , "msalter@redhat.com" , "greg@kroah.com" , "x86@kernel.org" , "kexec@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "leif.lindholm@linaro.org" , "James.Bottomley@HansenPartnership.com" , "horms@verge.net.au" , "bp@alien8.de" , "ebiederm@xmission.com" , "hpa@zytor.com" , "akpm@linux-foundation.org" , Dave Young , "mingo@kernel.org" , "vgoyal@redhat.com" On Sat, 2013-12-21 at 17:35 +0000, Matt Fleming wrote: > On Fri, 20 Dec, at 06:02:10PM, Dave Young wrote: > > Here is the V7 patchset for supporting kexec kernel efi runtime. > > Per pervious discussion I pass the 1st kernel efi runtime mapping > > via setup_data to 2nd kernel. Besides of the runtime mapping > > info I also pass the fw_vendor, runtime, config table, smbios > > physical address in setup_data. EFI spec mentioned fw_vendor, > > runtime, config table addresses will be converted to virt address > > after entering virtual mode, but we will use it as physical address > > in efi_init. For smbios EFI spec did not mention about the address > > updating, but during my test on a HP workstation, the bios will > > convert it to Virt addr, thus pass it in setup_data as well. > > OK Dave, I've pulled patches 3-12 into the 'kexec' branch at, > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > > I plan on sending this branch to the tip folks this week for further > testing. > > Please have a look and make sure I haven't messed anything up when > dropping the first two patches (though they were very small and trival). > > Toshi, if you could grab that branch and give it a test, that'd be > excellent. The kexec branch is missing the following change, which is required for fast reboot with multi-cpus. commit 279f1df915c3a6ed3075d98a849705bf53851f99 Author: Vivek Goyal Date: Tue Nov 26 10:25:28 2013 +0800 kexec: migrate to reboot cpu With this change added, I confirmed that the branch kernel works fine. Thanks, -Toshi _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec From mboxrd@z Thu Jan 1 00:00:00 1970 From: Toshi Kani Subject: Re: [PATCH v7 00/12] kexec kernel efi runtime support Date: Sun, 22 Dec 2013 14:27:01 -0700 Message-ID: <1387747621.1848.2.camel@misato.fc.hp.com> References: <1387533742-18018-1-git-send-email-dyoung@redhat.com> <20131221173515.GE29501@console-pimps.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131221173515.GE29501-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org> Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matt Fleming Cc: Dave Young , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "x86-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , "mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org" , "hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org" , "James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk@public.gmane.org" , "vgoyal-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" , "ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org" , "horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org" , "kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" , "bp-Gina5bIWoIWzQB+pC5nmwQ@public.gmane.org" , "greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org" , "akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org" , "mingo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org" , "msalter-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org" , "leif.lindholm-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org" List-Id: linux-efi@vger.kernel.org On Sat, 2013-12-21 at 17:35 +0000, Matt Fleming wrote: > On Fri, 20 Dec, at 06:02:10PM, Dave Young wrote: > > Here is the V7 patchset for supporting kexec kernel efi runtime. > > Per pervious discussion I pass the 1st kernel efi runtime mapping > > via setup_data to 2nd kernel. Besides of the runtime mapping > > info I also pass the fw_vendor, runtime, config table, smbios > > physical address in setup_data. EFI spec mentioned fw_vendor, > > runtime, config table addresses will be converted to virt address > > after entering virtual mode, but we will use it as physical address > > in efi_init. For smbios EFI spec did not mention about the address > > updating, but during my test on a HP workstation, the bios will > > convert it to Virt addr, thus pass it in setup_data as well. > > OK Dave, I've pulled patches 3-12 into the 'kexec' branch at, > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > > I plan on sending this branch to the tip folks this week for further > testing. > > Please have a look and make sure I haven't messed anything up when > dropping the first two patches (though they were very small and trival). > > Toshi, if you could grab that branch and give it a test, that'd be > excellent. The kexec branch is missing the following change, which is required for fast reboot with multi-cpus. commit 279f1df915c3a6ed3075d98a849705bf53851f99 Author: Vivek Goyal Date: Tue Nov 26 10:25:28 2013 +0800 kexec: migrate to reboot cpu With this change added, I confirmed that the branch kernel works fine. Thanks, -Toshi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756269Ab3LVVcp (ORCPT ); Sun, 22 Dec 2013 16:32:45 -0500 Received: from g1t0028.austin.hp.com ([15.216.28.35]:27616 "EHLO g1t0028.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754569Ab3LVVcn (ORCPT ); Sun, 22 Dec 2013 16:32:43 -0500 Message-ID: <1387747621.1848.2.camel@misato.fc.hp.com> Subject: Re: [PATCH v7 00/12] kexec kernel efi runtime support From: Toshi Kani To: Matt Fleming Cc: Dave Young , "linux-kernel@vger.kernel.org" , "linux-efi@vger.kernel.org" , "x86@kernel.org" , "mjg59@srcf.ucam.org" , "hpa@zytor.com" , "James.Bottomley@HansenPartnership.com" , "vgoyal@redhat.com" , "ebiederm@xmission.com" , "horms@verge.net.au" , "kexec@lists.infradead.org" , "bp@alien8.de" , "greg@kroah.com" , "akpm@linux-foundation.org" , "mingo@kernel.org" , "msalter@redhat.com" , "leif.lindholm@linaro.org" Date: Sun, 22 Dec 2013 14:27:01 -0700 In-Reply-To: <20131221173515.GE29501@console-pimps.org> References: <1387533742-18018-1-git-send-email-dyoung@redhat.com> <20131221173515.GE29501@console-pimps.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5 (3.8.5-2.fc19) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2013-12-21 at 17:35 +0000, Matt Fleming wrote: > On Fri, 20 Dec, at 06:02:10PM, Dave Young wrote: > > Here is the V7 patchset for supporting kexec kernel efi runtime. > > Per pervious discussion I pass the 1st kernel efi runtime mapping > > via setup_data to 2nd kernel. Besides of the runtime mapping > > info I also pass the fw_vendor, runtime, config table, smbios > > physical address in setup_data. EFI spec mentioned fw_vendor, > > runtime, config table addresses will be converted to virt address > > after entering virtual mode, but we will use it as physical address > > in efi_init. For smbios EFI spec did not mention about the address > > updating, but during my test on a HP workstation, the bios will > > convert it to Virt addr, thus pass it in setup_data as well. > > OK Dave, I've pulled patches 3-12 into the 'kexec' branch at, > > git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git > > I plan on sending this branch to the tip folks this week for further > testing. > > Please have a look and make sure I haven't messed anything up when > dropping the first two patches (though they were very small and trival). > > Toshi, if you could grab that branch and give it a test, that'd be > excellent. The kexec branch is missing the following change, which is required for fast reboot with multi-cpus. commit 279f1df915c3a6ed3075d98a849705bf53851f99 Author: Vivek Goyal Date: Tue Nov 26 10:25:28 2013 +0800 kexec: migrate to reboot cpu With this change added, I confirmed that the branch kernel works fine. Thanks, -Toshi