public inbox for linux-efi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/3 v2] kexec-tools: efi runtime support
@ 2013-11-05  8:29 dyoung-H+wXaHxf7aLQT0dZR+AlfA
  2013-11-05  8:29 ` [patch 1/3 v2] Add function get_bootparam dyoung-H+wXaHxf7aLQT0dZR+AlfA
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: dyoung-H+wXaHxf7aLQT0dZR+AlfA @ 2013-11-05  8:29 UTC (permalink / raw)
  To: kexec-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
  Cc: mjg59-1xO5oi07KQx4cg9Nei1l7Q, linux-efi-u79uwXL29TY76Z2rM5mHXA,
	x86-DgEjT+Ai2ygdnm+yROfE0A,
	James.Bottomley-d9PhHud1JfjCXq6kfMZ53/egYHeGw8Jk,
	horms-/R6kz+dDXgpPR4JQBCEnsQ, bp-Gina5bIWoIWzQB+pC5nmwQ,
	ebiederm-aS9lmoZGLiVWk0Htik3J/w, hpa-YMNOUZJC4hwAvxtiuMwx3w,
	vgoyal-H+wXaHxf7aLQT0dZR+AlfA

This patchset is for adding efi runtime support on kexec kernel
kernel patches see below thread:
http://thread.gmane.org/gmane.linux.kernel.efi/2491

in kexec-tools, this patchset will do below:
1. retrieve efi_info from debugfs boot_params, and fill the
x86 setup header

2. collect data efi runtime needed:
/sys/firmware/efi/systab: fw_vendor, runtime, config_tables and smbios
/sys/firmware/efi/efi-runtime-map/*, the phys-virt mappings in 1st kernel

3. assemble setup_data based on data get in 2) then pass it to 2nd kernel

Tested on OVMF, dell laptop, lenovo laptop and HP workstation

Please help to review

V2 changelog:
Address comments from
Simon:
  coding style, fixed a mem leak
HPA:
  use type uint64_t instead of __uint64_t
mjg:
  do not cause regression for loading old kernel
  use xloadflags to check the bzImage support for efi.
  in case old kernel, do not pass efi_info and setup_data
  for new kernel, do not pass acpi_rsdp
Vivek:
  suggest to export a value in bzImage probe for efi support
  so it can be used to check if we should pass acpi_rsdp.

--
Thanks
dave

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2013-11-18  5:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-05  8:29 [patch 0/3 v2] kexec-tools: efi runtime support dyoung-H+wXaHxf7aLQT0dZR+AlfA
2013-11-05  8:29 ` [patch 1/3 v2] Add function get_bootparam dyoung-H+wXaHxf7aLQT0dZR+AlfA
     [not found]   ` <20131105083428.411624560-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-11-12  1:27     ` Toshi Kani
     [not found]       ` <1384219658.1847.84.camel-RbGIw1UOYPVo/CpIj0byZw@public.gmane.org>
2013-11-12  2:14         ` Dave Young
2013-11-12  3:20         ` H. Peter Anvin
     [not found]           ` <52819E71.70201-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-11-12  3:53             ` Ingo Molnar
     [not found]               ` <aa0ccca4-b27b-41b6-8adb-3c969eb29bf7@email.android.com>
     [not found]                 ` <aa0ccca4-b27b-41b6-8adb-3c969eb29bf7-2ueSQiBKiTY7tOexoI0I+QC/G2K4zDHf@public.gmane.org>
2013-11-12 14:26                   ` Vivek Goyal
2013-11-12  7:58             ` Greg KH
     [not found]               ` <20131112075831.GA6213-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-11-12  8:08                 ` Dave Young
     [not found]                   ` <20131112080854.GD6999-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-11-12  8:30                     ` Greg KH
     [not found]                       ` <20131112083012.GB7708-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-11-12  8:50                         ` Dave Young
2013-11-12  9:37                         ` H. Peter Anvin
     [not found]                           ` <5281F6D5.4090700-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-11-12  9:51                             ` Greg KH
     [not found]                               ` <20131112095114.GA20100-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-11-13  0:50                                 ` Dave Young
     [not found]                                   ` <20131113005032.GB5069-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-11-18  2:22                                     ` Dave Young
     [not found]                                       ` <20131118022234.GD4025-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-11-18  3:29                                         ` H. Peter Anvin
     [not found]                                           ` <52898982.3020200-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2013-11-18  5:29                                             ` Dave Young
     [not found]                                               ` <20131118052949.GA14532-je1gSBvt1TcFLmT5oZ11vB/sF2h8X+2i0E9HWUfgJXw@public.gmane.org>
2013-11-18  5:36                                                 ` H. Peter Anvin
2013-11-05  8:29 ` [patch 2/3 v2] Add efi_info in x86 setup header dyoung-H+wXaHxf7aLQT0dZR+AlfA
2013-11-05  8:29 ` [patch 3/3 v2] Passing efi related data via setup_data dyoung-H+wXaHxf7aLQT0dZR+AlfA

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox