Re: [PATCH][EFI] Run EFI in physical mode

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Friday, August 13, 2010 - 4:11 pm

"Luck, Tony" <tony.luck@intel.com> writes:


There is a hack in the code someplace on ia64 to pass the virtual
address efi was mapped at to the next kernel, and have the kernel make
certain to use efi there, without calling set_virtual_address_map().
For similar kernels that is fine at some point I expect kernel
divergence will make that scheme unworkable.  Essentially this is the
same as using physical addresses but starting with the virtual addresses.

For ia64 I seem to recall some weird floating point fixup routines that
benefited from the speed set_virtual_address_map() provided.  For x86_64
where the primary (sole?) reason for enabling EFI handling is to set efi
variables from linux, I don't see a case where enabling virtual mode
makes sense.  If EFI stays around on x86, always running the calls in
physical mode and in other ways slowly decreasing our dependence on
perfect efi implementations seems necessary.

As to Peter's question I did not see any of that code that affected
anything that ia64 used.

Eric
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][EFI] Run EFI in physical mode, Takao Indoh, (Fri Aug 13, 12:18 pm)
Re: [PATCH][EFI] Run EFI in physical mode, Eric W. Biederman, (Fri Aug 13, 3:19 pm)
Re: [PATCH][EFI] Run EFI in physical mode, H. Peter Anvin, (Fri Aug 13, 3:24 pm)
Re: [PATCH][EFI] Run EFI in physical mode, H. Peter Anvin, (Fri Aug 13, 3:28 pm)
RE: [PATCH][EFI] Run EFI in physical mode, Luck, Tony, (Fri Aug 13, 3:33 pm)
Re: [PATCH][EFI] Run EFI in physical mode, Eric W. Biederman, (Fri Aug 13, 4:11 pm)
Re: [PATCH][EFI] Run EFI in physical mode, H. Peter Anvin, (Fri Aug 13, 4:16 pm)
Re: [PATCH][EFI] Run EFI in physical mode, Tony Luck, (Fri Aug 13, 4:36 pm)
Re: [PATCH][EFI] Run EFI in physical mode, Simon Horman, (Sun Aug 15, 6:31 pm)
Re: [PATCH][EFI] Run EFI in physical mode, huang ying, (Sun Aug 15, 6:43 pm)
Re: [PATCH][EFI] Run EFI in physical mode, H. Peter Anvin, (Sun Aug 15, 8:27 pm)
Re: [PATCH][EFI] Run EFI in physical mode, huang ying, (Sun Aug 15, 9:58 pm)
Re: [PATCH][EFI] Run EFI in physical mode, H. Peter Anvin, (Sun Aug 15, 10:08 pm)