All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: Keir Fraser <keir.xen@gmail.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH 3/4] x86-64: EFI runtime code
Date: Wed, 13 Jul 2011 09:42:42 -0400	[thread overview]
Message-ID: <20110713134242.GA8466@dumpdata.com> (raw)
In-Reply-To: <4E0AE75E020000780004ABE2@nat28.tlf.novell.com>

On Wed, Jun 29, 2011 at 07:50:38AM +0100, Jan Beulich wrote:
> >>> On 28.06.11 at 19:03, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:
> > Ah, here it is: "acpi_os_get_root_pointer" uses the efi.acpi20 or
> > efi.acpi and the DMI scan uses efi.smbios.
> > 
> > And those physical addresses reside within a reserved E820 region or
> > a gap I hope.
> 
> That's how it's supposed to be. If we find systems where it lives
> elsewhere, we'll have to add workarounds (in Xen).
> 
> >> Yes, it needs to, due to the table pointer retrieval differences. And
> >> then there's the runtime services (RTC access, EFI variables) that
> >> the OS ought to use. On the RTC side of things, a legacy free system
> > 
> > I am just looking at the minimal to understand it.
> >> might not have a CMOS clock, and hence even native Linux is currently
> >> broken in that respect (because the driver can be built only for IA64).
> > 
> > We do switch to the Xen clock (which is to say that the hypervisor is
> > responsible for it) ... so I think we could skip the RTC in the Linux 
> > kernel.
> 
> No, Dom0 has to manage the RTC (and so it does today, at least
> in all non-pvops kernels I know of).

And it looks that the efi set/get vars are important for the efibootmgr, so
that, RTC, and ACPI RSDT pointer must be implemented somehow. The ACPI RSDT
can be potentially piggybacked http://marc.info/?i=E8CC3FDD41FF9Findou.takao@jp.fujitsu.com
by making that variable global. But for the RTC and set/get vars I am not
sure.

The good thing is that I finally got an EFI box so let me play with this.

On another topic - I saw you posted some patches upstream for EFI cleanup -
were you by any chance looking at implementing this in paravirt?

  reply	other threads:[~2011-07-13 13:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-27 10:43 [PATCH 3/4] x86-64: EFI runtime code Jan Beulich
2011-06-27 16:25 ` Konrad Rzeszutek Wilk
2011-06-27 17:36   ` Keir Fraser
2011-06-28  7:11   ` Jan Beulich
2011-06-28  7:39     ` Keir Fraser
2011-06-28  7:56       ` Jan Beulich
2011-06-28 15:36         ` Konrad Rzeszutek Wilk
2011-06-28 16:38           ` Jan Beulich
2011-06-28 16:05         ` Konrad Rzeszutek Wilk
2011-06-28 16:36           ` Jan Beulich
2011-06-28 17:03             ` Konrad Rzeszutek Wilk
2011-06-29  6:50               ` Jan Beulich
2011-07-13 13:42                 ` Konrad Rzeszutek Wilk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-07-13 14:32 Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110713134242.GA8466@dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=JBeulich@novell.com \
    --cc=keir.xen@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.