mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: Joe Jin <joe.jin@oracle.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Andi Kleen <andi@firstfloor.org>,
	greg.marsden@oracle.com, tao.ma@oracle.com,
	linux-kernel@vger.kernel.org, stable@kernel.org,
	Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: [PATCH] x86_64: reserve crashkernel bootmem before reserve dma32 bootmem
Date: Mon, 14 Jul 2008 09:27:22 +0200	[thread overview]
Message-ID: <20080714072722.GB19116@elte.hu> (raw)
In-Reply-To: <86802c440807140014y6f0b67e7r6414b686fdbaf012@mail.gmail.com>

* Yinghai Lu <yhlu.kernel@gmail.com> wrote:

> On Thu, Jul 10, 2008 at 10:32 AM, Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> > On Thu, Jul 10, 2008 at 5:34 AM, Joe Jin <joe.jin@oracle.com> wrote:
> >> Before reserve_crashkernel, dma32_reserve_bootmem would reserve 128M memory.
> >> this cuased crashkernel end address must less than 64M or start address must
> >> more than 192M except crashkernel memory reserved before dma32 memory reserved.
> >>
> >> This patch against 2.6.26-rc9
> >>
> >> Signed-off-by: Joe Jin <joe.jin@oracle.com>
> >> ---
> >>  setup_64.c |    4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> --- linux-2.6.26-rc9/arch/x86/kernel/setup_64.c.orig    2008-07-10 16:34:12.000000000 +0800
> >> +++ linux-2.6.26-rc9/arch/x86/kernel/setup_64.c 2008-07-10 16:35:00.000000000 +0800
> >> @@ -444,8 +444,6 @@ void __init setup_arch(char **cmdline_p)
> >>        contig_initmem_init(0, end_pfn);
> >>  #endif
> >>
> >> -       dma32_reserve_bootmem();
> >> -
> >>  #ifdef CONFIG_ACPI_SLEEP
> >>        /*
> >>         * Reserve low memory region for sleep support.
> >> @@ -486,6 +484,8 @@ void __init setup_arch(char **cmdline_p)
> >>  #endif
> >>        reserve_crashkernel();
> >>
> >> +       dma32_reserve_bootmem();
> >> +
> >>        reserve_ibft_region();
> >>
> >>        paging_init();
> >
> > Acked-by: Yinghai Lu <yhlu.kernel@gmail.com>
> >
> 
> Ingo,
> 
> it seems you missed this patch..., it should get into 
> 2.6.26..stable..too

no, i didnt miss it - but it was too late for v2.6.26 and it was in a 
common x86 codepath and the code in -tip there is very different. The 
fix is a proper candidate for v2.6.26.1 though - stable team Cc:-ed.

Acked-by: Ingo Molnar <mingo@elte.hu>

	Ingo

  reply	other threads:[~2008-07-14  7:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-10 12:34 Joe Jin
2008-07-10 17:32 ` Yinghai Lu
2008-07-14  7:14   ` Yinghai Lu
2008-07-14  7:27     ` Ingo Molnar [this message]
2008-07-14 12:05       ` [stable] " Greg KH
2008-07-14 17:16 Yinghai Lu
2008-07-15  0:20 ` Joe Jin

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=20080714072722.GB19116@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=greg.marsden@oracle.com \
    --cc=gregkh@suse.de \
    --cc=hpa@zytor.com \
    --cc=joe.jin@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=tao.ma@oracle.com \
    --cc=tglx@linutronix.de \
    --cc=yhlu.kernel@gmail.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 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®