From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Konstantin Baydarov <kbaidarov@ru.mvista.com>
Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [PowerPC] Support For Initrd Loaded Into Highmem
Date: Mon, 18 May 2009 07:55:03 +1000 [thread overview]
Message-ID: <1242597303.18075.0.camel@pasglop> (raw)
In-Reply-To: <4A103EDF.7050108@ru.mvista.com>
> Also if initrd is in the highmem, uBoot adds initrd highmem region into the
> initial_boot_params->off_mem_rsvmap. This leads to kernel crash, because kernel
> assumes that regions from the initial_boot_params->off_mem_rsvmap are in the
> lowmem. So patch skips initrd highmem region when kernel reserves lowmem regions
> in early_reserve_mem().
>
> This patch is for linux-2.6.30-rc6.
Fixing the reserve map isn't the right approach.
We should be able to have anything in there. It's the kernel that should
be more careful at coping if it contains things that aren't in lowmem.
Cheers,
Ben.
WARNING: multiple messages have this Message-ID (diff)
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Konstantin Baydarov <kbaidarov@ru.mvista.com>
Cc: Kumar Gala <galak@kernel.crashing.org>,
linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [PowerPC] Support For Initrd Loaded Into Highmem
Date: Mon, 18 May 2009 07:55:03 +1000 [thread overview]
Message-ID: <1242597303.18075.0.camel@pasglop> (raw)
In-Reply-To: <4A103EDF.7050108@ru.mvista.com>
> Also if initrd is in the highmem, uBoot adds initrd highmem region into the
> initial_boot_params->off_mem_rsvmap. This leads to kernel crash, because kernel
> assumes that regions from the initial_boot_params->off_mem_rsvmap are in the
> lowmem. So patch skips initrd highmem region when kernel reserves lowmem regions
> in early_reserve_mem().
>
> This patch is for linux-2.6.30-rc6.
Fixing the reserve map isn't the right approach.
We should be able to have anything in there. It's the kernel that should
be more careful at coping if it contains things that aren't in lowmem.
Cheers,
Ben.
next prev parent reply other threads:[~2009-05-17 21:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-17 16:44 [PATCH] [PowerPC] Support For Initrd Loaded Into Highmem Konstantin Baydarov
2009-05-17 13:34 ` Wolfgang Denk
2009-05-17 13:34 ` Wolfgang Denk
2009-05-17 21:56 ` Benjamin Herrenschmidt
2009-05-17 21:55 ` Benjamin Herrenschmidt [this message]
2009-05-17 21:55 ` Benjamin Herrenschmidt
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=1242597303.18075.0.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=kbaidarov@ru.mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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 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.