From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [PATCH] (2.4.21-bjorn-bk) Minimalist PAL mapping for SN2
Date: Fri, 18 Jul 2003 16:13:02 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105854507724104@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105832171829546@msgid-missing>
On Thursday 17 July 2003 8:22 pm, Christopher Wedgwood wrote:
> On Thu, Jul 17, 2003 at 04:52:53PM -0600, Bjorn Helgaas wrote:
>
> > Have you tripped over something in particular that prevents
> > machvec_init() from working earlier?
>
> I tried something similar earlier using ia64_platform_is("sn2") which
> uses the ACPI data and it didn't work that early on. Let me check
> this again and also see if the machine vector approach works and
> resend a patch.
ia64_platform_is() only works after calling machvec_init(). If you
move the machvec_init() call into the middle of efi_init(), I think
it should work. But I do prefer the machine vector approach,
and there are several other machine vectors used only at boot-time,
so I don't think that's an issue.
> It seems it *should* be safe to not trim PAL code and then the
> efi_mem_attributes check will work correctly in 2.5. I couldn't see
> anything using the granule-sized-assumptions that would break if I did
> this (in fact, I didn't trim the PAL code in an internal tree for some
> time and never saw any problems on zx1, tiger or sn2 --- but I wasn't
> looking hard for it).
You said the granule containing PAL contained regions with different
cacheability attributes. That means the kernel can't use any memory
in that granule (we would insert kernel mapping that covers the entire
granule). So the kernel does have to ignore the granule, and modifying
the EFI memmap, while maybe not ideal, is the current approach.
Bjorn
next prev parent reply other threads:[~2003-07-18 16:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-16 2:14 [PATCH] (2.4.21-bjorn-bk) Minimalist PAL mapping for SN2 Christopher Wedgwood
2003-07-16 15:22 ` Luck, Tony
2003-07-16 18:23 ` Christopher Wedgwood
2003-07-17 17:42 ` Bjorn Helgaas
2003-07-17 17:57 ` Christopher Wedgwood
2003-07-17 22:52 ` Bjorn Helgaas
2003-07-18 2:22 ` Christopher Wedgwood
2003-07-18 16:13 ` Bjorn Helgaas [this message]
2003-07-19 1:05 ` Christopher Wedgwood
2003-07-22 1:38 ` Bjorn Helgaas
2003-07-22 21:26 ` Christopher Wedgwood
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=marc-linux-ia64-105854507724104@msgid-missing \
--to=bjorn.helgaas@hp.com \
--cc=linux-ia64@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