From: "Jonathan Barkelew" <debtech@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: EFI Virtual Address Mapping - MAX PAGES too low?
Date: Wed, 10 Dec 2008 18:42:24 -0500 [thread overview]
Message-ID: <88e91b480812101542m76f61eecm9d3e4dec2c8b23ea@mail.gmail.com> (raw)
I've traced a series of kernel panics on one of my projects back to a
failed call to efi_ioremap in efi_64.c. In my project, there is a 4MB
region in the EFI memory map declared as EFI_MEMORY_RUNTIME, but
efi_ioremap fails if the total number of mapped pages is greater than
100:
if (pages_mapped + pages > MAX_EFI_IO_PAGES)
return NULL;
A 4MB runtime region seems to be allowed by the EFI spec. Why is
MAX_EFI_IO_PAGES so low?
----
Jonathan Barkelew
debtech@gmail.com
reply other threads:[~2008-12-10 23:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=88e91b480812101542m76f61eecm9d3e4dec2c8b23ea@mail.gmail.com \
--to=debtech@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®