From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org (Eric W. Biederman) Subject: Re: Use PCI ROMs from EFI boot services Date: Wed, 05 Dec 2012 16:23:07 -0800 Message-ID: <87vccgm3kk.fsf@xmission.com> References: <1345739803-21017-1-git-send-email-mjg@redhat.com> <20121203200241.GG5906@thinkpad-t410> <20121206001819.GA30527@srcf.ucam.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20121206001819.GA30527-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org> (Matthew Garrett's message of "Thu, 6 Dec 2012 00:18:19 +0000") Sender: linux-efi-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Matthew Garrett Cc: Yinghai Lu , Bjorn Helgaas , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, mfleming-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org, dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org, "H. Peter Anvin" List-Id: linux-efi@vger.kernel.org Matthew Garrett writes: > On Wed, Dec 05, 2012 at 04:15:56PM -0800, Yinghai Lu wrote: > >> at the same time we should export setup_data into /sys, so kexec could >> append this pointer to command of >> second kernel, just like kexec append acpi_rsdp. >> That should address DavidW's concern. > > Why should the kernel export data to userspace just so that that data > can be passed back into the kernel? Because it is useful for more than just kexec and because that is the current architecture. Eric From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out03.mta.xmission.com ([166.70.13.233]:39304 "EHLO out03.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728Ab2LFAXZ (ORCPT ); Wed, 5 Dec 2012 19:23:25 -0500 From: ebiederm@xmission.com (Eric W. Biederman) To: Matthew Garrett Cc: Yinghai Lu , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-efi@vger.kernel.org, mfleming@intel.com, dwmw2@infradead.org, "H. Peter Anvin" References: <1345739803-21017-1-git-send-email-mjg@redhat.com> <20121203200241.GG5906@thinkpad-t410> <20121206001819.GA30527@srcf.ucam.org> Date: Wed, 05 Dec 2012 16:23:07 -0800 In-Reply-To: <20121206001819.GA30527@srcf.ucam.org> (Matthew Garrett's message of "Thu, 6 Dec 2012 00:18:19 +0000") Message-ID: <87vccgm3kk.fsf@xmission.com> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: Use PCI ROMs from EFI boot services Sender: linux-pci-owner@vger.kernel.org List-ID: Matthew Garrett writes: > On Wed, Dec 05, 2012 at 04:15:56PM -0800, Yinghai Lu wrote: > >> at the same time we should export setup_data into /sys, so kexec could >> append this pointer to command of >> second kernel, just like kexec append acpi_rsdp. >> That should address DavidW's concern. > > Why should the kernel export data to userspace just so that that data > can be passed back into the kernel? Because it is useful for more than just kexec and because that is the current architecture. Eric