public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 0/5] Physical mode SAL calls
@ 2006-10-23  8:48 Horms
  2006-10-23 15:15 ` Jack Steiner
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Horms @ 2006-10-23  8:48 UTC (permalink / raw)
  To: linux-ia64

Hi,

I am reposting this series of patches, as some of the posts that made up
the original series seem to have never made the list.

Currently the EFI code will fallback to physical mode if it
can't map itself into virtual memory. However, if this occurs
SAL calls fail, because the kernel runs them in virtual mode regardless.
This fails because sometimes the PAL calls actually call EFI code
internally, expecting it to be maped into a virtial area of memory,
which it isn't.

This series of patches also addes a kernel command line option
to force EFI (and SAL) to stay in physical mode. This is primarily
for testing that physical mode calls work with this patchset.

But I believe that physical mode EFI calls will be needed
to successfully kexec between kernels (or hypervisors) that
have a different PAGE_OFFSET (e.g. linux and xen), as
the EFI code can only be mapped zero or one times. That is,
if linux maps it, xen won't be able to run, and vice versa.
But by staying with physical mode calls the problem goes away.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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

end of thread, other threads:[~2006-12-13  2:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-23  8:48 [patch 0/5] Physical mode SAL calls Horms
2006-10-23 15:15 ` Jack Steiner
2006-10-24  0:46 ` Horms
2006-12-13  2:05 ` Horms

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