Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1543952

Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to kexec'ed kernel

From Dave Young <dyoung@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to kexec'ed kernel
Date 2016-12-17 12:00 +0100
Message-ID <sPkSB-61-5@gated-at.bofh.it> (permalink)
References (1 earlier) <sK29X-85B-17@gated-at.bofh.it> <sOCox-58U-9@gated-at.bofh.it> <sOQBb-5yF-5@gated-at.bofh.it> <sOZO9-3wU-1@gated-at.bofh.it> <sP0TU-4jY-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Ccing efi people.

On 12/16/16 at 02:33pm, Jean Delvare wrote:
> On Fri, 16 Dec 2016 14:18:58 +0200, Andy Shevchenko wrote:
> > On Fri, 2016-12-16 at 10:32 +0800, Dave Young wrote:
> > > On 12/15/16 at 12:28pm, Jean Delvare wrote:
> > > > I am no kexec expert but this confuses me. Shouldn't the second
> > > > kernel have access to the EFI systab as the first kernel does? It
> > > > includes many more pointers than just ACPI and DMI tables, and it
> > > > would seem inconvenient to have to pass all these addresses
> > > > individually explicitly.
> > > 
> > > Yes, in modern linux kernel, kexec has the support for EFI, I think it
> > > should work naturally at least in x86_64.
> > 
> > Thanks for this good news!
> > 
> > Unfortunately Intel Galileo is 32-bit platform.
> 
> If it was done for X86_64 then maybe it can be generalized to X86?

For X86_64, we have a new way for efi runtime memmory mapping, in i386
code it still use old ioremap way. It is impossible to use same way as
the X86_64 since the virtual address space is limited.

But maybe for 32bit, kexec kernel can run in physical mode, but I'm not
sure, I would suggest Andy to do a test first with efi=noruntime for
kexec 2nd kernel.

Thanks
Dave

> 
> -- 
> Jean Delvare
> SUSE L3 Support

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to  kexec'ed kernel Jean Delvare <jdelvare@suse.de> - 2016-12-15 12:30 +0100
  Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to  kexec'ed kernel Dave Young <dyoung@redhat.com> - 2016-12-16 03:40 +0100
    Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to  kexec'ed kernel Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-12-16 13:30 +0100
      Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to  kexec'ed kernel Jean Delvare <jdelvare@suse.de> - 2016-12-16 14:40 +0100
        Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to  kexec'ed kernel Dave Young <dyoung@redhat.com> - 2016-12-17 12:00 +0100
      Re: [PATCH v1 2/2] firmware: dmi_scan: Pass dmi_entry_point to  kexec'ed kernel Dave Young <dyoung@redhat.com> - 2016-12-17 12:00 +0100

csiph-web