From: "Suzuki K. Poulose" <suzuki@in.ibm.com>
To: linuxppc-dev@lists.ozlabs.org
Cc: mahesh@linux.vnet.ibm.com, benh@kernel.crashing.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2][powerpc] Export memory_limit via device tree
Date: Tue, 21 Aug 2012 17:12:16 +0530 [thread overview]
Message-ID: <20120821113815.29282.4000.stgit@suzukikp.in.ibm.com> (raw)
The following series exports the linux memory_limit set by
the mem= parameter via device-tree, so that kexec-tools
can limit the crash regions to the actual memory used by
the kernel.
Change since V1:
* Added a patch to change the type of memory_limit to a
fixed size(unsigned long long) from 'phys_addr_t' (which
is 32bit on some ppc32 and 64 bit on ppc64 and some ppc32)
* Rebased the patch to use recently fixed prom_update_property()
which would add the property if it didn't exist.
---
Suzuki K. Poulose (2):
[powerpc] Change memory_limit from phys_addr_t to unsigned long long
[powerpc] Export memory limit via device tree
arch/powerpc/include/asm/setup.h | 2 +-
arch/powerpc/kernel/fadump.c | 3 +--
arch/powerpc/kernel/machine_kexec.c | 14 +++++++++++++-
arch/powerpc/kernel/prom.c | 2 +-
arch/powerpc/mm/mem.c | 2 +-
5 files changed, 17 insertions(+), 6 deletions(-)
--
Suzuki
next reply other threads:[~2012-08-21 11:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-21 11:42 Suzuki K. Poulose [this message]
2012-08-21 11:42 ` [PATCH v2 1/2] [powerpc] Change memory_limit from phys_addr_t to unsigned long long Suzuki K. Poulose
2012-09-07 1:35 ` Benjamin Herrenschmidt
2012-09-07 10:01 ` Suzuki K. Poulose
2012-08-21 11:42 ` [PATCH v2 2/2] [powerpc] Export memory limit via device tree Suzuki K. Poulose
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=20120821113815.29282.4000.stgit@suzukikp.in.ibm.com \
--to=suzuki@in.ibm.com \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mahesh@linux.vnet.ibm.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®