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: Tue, 28 Jun 2011 13:03:32 -0400 [thread overview]
Message-ID: <20110628170331.GA30761@dumpdata.com> (raw)
In-Reply-To: <4E0A1F20020000780004A9CA@nat28.tlf.novell.com>
> > I see the need for the VGA console, and that looks easy enough.
>
> There's no VGA console in modern UEFI, you only get a graphical
> one (with no guarantee that it's VGA).
I meant that the "struct screen_info *screen_info" needs to be populated
properly in the Linux side. And for that we just need to take care of the
extra new XEN_VGATYPE..EFI type.
> > The other information Dom0 needs is the ACPI DSDT to figure out the polarity
> > and trigger for the interrupts. Is the ACPI DSDT "lost" when it is running
> > from EFI?
>
> No, but it can't be retrieved the "traditional" way.
.. snip..
> No - ACPI is all the same except for the mechanism to retrieve the
> root pointer.
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.
> > I am just wondering whether Dom0 actually needs to know that EFI exists.
>
> 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.
next prev parent reply other threads:[~2011-06-28 17:03 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 [this message]
2011-06-29 6:50 ` Jan Beulich
2011-07-13 13:42 ` Konrad Rzeszutek Wilk
-- 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=20110628170331.GA30761@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.