All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] x86: efi: cleanups and basic 32/64 bit support
@ 2012-01-03 17:11 Olof Johansson
  2012-01-03 17:11 ` [PATCH 1/5] x86: efi: refactor efi_init() a bit Olof Johansson
                   ` (5 more replies)
  0 siblings, 6 replies; 27+ messages in thread
From: Olof Johansson @ 2012-01-03 17:11 UTC (permalink / raw)
  To: H. Peter Anvin, Matthew Garrett
  Cc: linux-kernel, Ingo Molnar, Thomas Gleixner, x86, Matt Fleming

Here's a refactored series of cleanups with the 32/64-bit enablement at
the end. It should hopefully be significantly easier to review.

Changelog to the 32/64-bit patch is:
v3:
* Reorganized to a series of patches to make it easier to review, and
  do some of the cleanups I had left out before.

v2:
* Added graceful error handling for 32-bit kernel that gets passed
  EFI data above 4GB.
* Removed some warnings that were missed in first version.


^ permalink raw reply	[flat|nested] 27+ messages in thread
* [PATCH v4 0/5] [RESEND] x86: efi: cleanups and basic 32/64-bit support
@ 2012-02-08  0:25 Olof Johansson
  2012-02-08  0:25 ` [PATCH 1/5] x86: efi: refactor efi_init() a bit Olof Johansson
  0 siblings, 1 reply; 27+ messages in thread
From: Olof Johansson @ 2012-02-08  0:25 UTC (permalink / raw)
  To: x86, hpa, mingo, tglx; +Cc: linux-kernel, matt.fleming, mjg

This series allows basic booting of a 32-bit kernel on 64-bit EFI and vice
versa.  It's needed by Chrome OS, and we've been carrying a nasty hack
to do it that I've cleaned up and made sure it works in both directions.

Tested on Chrome OS for 64-bit EFI 32-bit kernel. Tested with an old
MacBook for 32-bit EFI, 64-bit kernel.

Note that this is required, but not sufficient, for full platform support for
EFI in a mixed environment. There is no handling of runtime services, and no
thunking for going in and out of firmware in a different mode.


Resend of the last posted version. Acked by Matt, and Matthew seems to be OK
with it as well (see http://marc.info/?l=linux-kernel&m=132578786105542).

Please consider for 3.4 merge window. Thanks!


-Olof


Changelog is:                                                                                                               
v4:
* Removed bogus memdesc warning printout
* Fixed up printk formatting, removing redundant EFI output
* Some of the earlier cleanup was accidentally reverted by this patch, fixed.                                                                      
* Reworded some messages to not have to line wrap printk strings  

v3:                                                                                                                                                
* Reorganized to a series of patches to make it easier to review, and                                                                              
  do some of the cleanups I had left out before.                                                                                                   

v2:                                                                                                                                                
* Added graceful error handling for 32-bit kernel that gets passed                                                                                 
EFI data above 4GB.                                                                                                                              
* Removed some warnings that were missed in first version.                                                                                         




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

end of thread, other threads:[~2012-02-08  0:27 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-03 17:11 [PATCH v3 0/5] x86: efi: cleanups and basic 32/64 bit support Olof Johansson
2012-01-03 17:11 ` [PATCH 1/5] x86: efi: refactor efi_init() a bit Olof Johansson
2012-01-05 11:22   ` Matt Fleming
2012-01-05 17:49     ` Olof Johansson
2012-01-05 18:17   ` Matthew Garrett
2012-01-05 21:00     ` Olof Johansson
2012-01-03 17:11 ` [PATCH 2/5] x86: efi: convert printk to pr_*() Olof Johansson
2012-01-04  5:26   ` Joe Perches
2012-01-05 17:17     ` Olof Johansson
2012-01-03 17:11 ` [PATCH 3/5] x86: efi: cleanup config table walking Olof Johansson
2012-01-05 11:22   ` Matt Fleming
2012-01-03 17:11 ` [PATCH 4/5] x86: efi: add basic error handling Olof Johansson
2012-01-05 11:21   ` Matt Fleming
2012-01-05 17:52     ` Olof Johansson
2012-01-05 21:02       ` Olof Johansson
2012-01-03 17:11 ` [PATCH 5/5] x86: efi: allow basic init with mixed 32/64-bit efi/kernel Olof Johansson
2012-01-05 11:21   ` Matt Fleming
2012-01-05 17:53     ` Olof Johansson
2012-01-05 18:21   ` Matthew Garrett
2012-01-05 20:59     ` Olof Johansson
2012-01-05 21:02 ` [PATCH v4 0/5] x86: efi: cleanups and basic 32/64 bit support Olof Johansson
2012-01-05 21:02   ` [PATCH 1/5] x86: efi: refactor efi_init() a bit Olof Johansson
2012-01-05 21:02   ` [PATCH 2/5] x86: efi: convert printk to pr_*() Olof Johansson
2012-01-05 21:02   ` [PATCH 3/5] x86: efi: cleanup config table walking Olof Johansson
2012-01-05 21:02   ` [PATCH 4/5] x86: efi: add basic error handling Olof Johansson
2012-01-05 21:02   ` [PATCH 5/5] x86: efi: allow basic init with mixed 32/64-bit efi/kernel Olof Johansson
  -- strict thread matches above, loose matches on Subject: below --
2012-02-08  0:25 [PATCH v4 0/5] [RESEND] x86: efi: cleanups and basic 32/64-bit support Olof Johansson
2012-02-08  0:25 ` [PATCH 1/5] x86: efi: refactor efi_init() a bit Olof Johansson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.