All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com>,
	kexec@lists.infradead.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@ozlabs.org,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	akpm@linux-foundation.org
Subject: Re: [PATCH 1/2] kdump: Allow shrinking of kdump region to be overridden
Date: Wed, 9 Mar 2011 23:46:57 +1100	[thread overview]
Message-ID: <20110309234657.264d3080@kryten> (raw)
In-Reply-To: <20110309122046.GC16951@cr0.redhat.com>


Hi,

> The crashkernel region is specified via kernel cmdline, so why
> not just drop a failure when it overlaps with RMO region?
> Am I missing something?

Unfortunately a ppc64 kernel requires a chunk of RMO memory. We would
need the ability to specify multiple crashkernel regions - about 32MB
in the RMO and the rest can be anywhere. That sounds pretty fragile for
a user to configure successfully on the cmdline.

Thats why the ppc64 crashkernel region begins mid way through the RMO
region. It means both kernels get a chunk of RMO and we only have to
deal with one crashkernel reservation in all the tools and
documentation.

Anton

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

WARNING: multiple messages have this Message-ID (diff)
From: Anton Blanchard <anton@samba.org>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com>,
	kexec@lists.infradead.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@ozlabs.org,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	akpm@linux-foundation.org
Subject: Re: [PATCH 1/2] kdump: Allow shrinking of kdump region to be overridden
Date: Wed, 9 Mar 2011 23:46:57 +1100	[thread overview]
Message-ID: <20110309234657.264d3080@kryten> (raw)
In-Reply-To: <20110309122046.GC16951@cr0.redhat.com>


Hi,

> The crashkernel region is specified via kernel cmdline, so why
> not just drop a failure when it overlaps with RMO region?
> Am I missing something?

Unfortunately a ppc64 kernel requires a chunk of RMO memory. We would
need the ability to specify multiple crashkernel regions - about 32MB
in the RMO and the rest can be anywhere. That sounds pretty fragile for
a user to configure successfully on the cmdline.

Thats why the ppc64 crashkernel region begins mid way through the RMO
region. It means both kernels get a chunk of RMO and we only have to
deal with one crashkernel reservation in all the tools and
documentation.

Anton

WARNING: multiple messages have this Message-ID (diff)
From: Anton Blanchard <anton@samba.org>
To: "Américo Wang" <xiyou.wangcong@gmail.com>
Cc: Mahesh Jagannath Salgaonkar <mahesh@linux.vnet.ibm.com>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	akpm@linux-foundation.org, kexec@lists.infradead.org,
	linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 1/2] kdump: Allow shrinking of kdump region to be overridden
Date: Wed, 9 Mar 2011 23:46:57 +1100	[thread overview]
Message-ID: <20110309234657.264d3080@kryten> (raw)
In-Reply-To: <20110309122046.GC16951@cr0.redhat.com>


Hi,

> The crashkernel region is specified via kernel cmdline, so why
> not just drop a failure when it overlaps with RMO region?
> Am I missing something?

Unfortunately a ppc64 kernel requires a chunk of RMO memory. We would
need the ability to specify multiple crashkernel regions - about 32MB
in the RMO and the rest can be anywhere. That sounds pretty fragile for
a user to configure successfully on the cmdline.

Thats why the ppc64 crashkernel region begins mid way through the RMO
region. It means both kernels get a chunk of RMO and we only have to
deal with one crashkernel reservation in all the tools and
documentation.

Anton

  reply	other threads:[~2011-03-09 12:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-25  0:22 [PATCH 1/2] kdump: Allow shrinking of kdump region to be overridden Anton Blanchard
2010-08-25  0:22 ` Anton Blanchard
2010-08-25  0:22 ` Anton Blanchard
2010-08-25  0:23 ` [PATCH 2/2] powerpc: kdump: Override crash_free_reserved_phys_range to avoid freeing RTAS Anton Blanchard
2010-08-25  0:23   ` Anton Blanchard
2010-08-25  0:23   ` Anton Blanchard
2010-08-25  0:37 ` [PATCH 1/2] kdump: Allow shrinking of kdump region to be overridden Eric W. Biederman
2010-08-25  0:37   ` Eric W. Biederman
2010-08-25  0:37   ` Eric W. Biederman
2011-03-09  6:32   ` Mahesh Jagannath Salgaonkar
2011-03-09  6:32     ` Mahesh Jagannath Salgaonkar
2011-03-09  6:32     ` Mahesh Jagannath Salgaonkar
2011-03-09 12:20     ` Américo Wang
2011-03-09 12:20       ` Américo Wang
2011-03-09 12:20       ` Américo Wang
2011-03-09 12:46       ` Anton Blanchard [this message]
2011-03-09 12:46         ` Anton Blanchard
2011-03-09 12:46         ` Anton Blanchard
2011-03-09 14:21         ` Américo Wang
2011-03-09 14:21           ` Américo Wang
2011-03-09 14:21           ` Américo Wang
2011-03-14 18:13           ` Mahesh J Salgaonkar
2011-03-14 18:13             ` Mahesh J Salgaonkar
2011-03-14 18:13             ` Mahesh J Salgaonkar
2011-03-15  7:52             ` Américo Wang
2011-03-15  7:52               ` Américo Wang
2011-03-15  7:52               ` Américo Wang
2011-03-15 16:52               ` Mahesh J Salgaonkar
2011-03-15 16:52                 ` Mahesh J Salgaonkar
2011-03-15 16:52                 ` Mahesh J Salgaonkar
2011-03-21  3:10                 ` WANG Cong
2011-03-21  3:10                   ` WANG Cong
2011-03-24  4:33                   ` Benjamin Herrenschmidt
2011-03-24  4:33                     ` Benjamin Herrenschmidt
2011-03-24  4:33                     ` 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=20110309234657.264d3080@kryten \
    --to=anton@samba.org \
    --cc=akpm@linux-foundation.org \
    --cc=ebiederm@xmission.com \
    --cc=kexec@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mahesh@linux.vnet.ibm.com \
    --cc=xiyou.wangcong@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 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.