From: Wang Nan <wangnan0@huawei.com>
To: Dave Young <dyoung@redhat.com>
Cc: Wang Nan <wangnan0@huawei.com>, Simon Horman <horms@verge.net.au>,
kexec@lists.infradead.org, Geng Hui <hui.geng@huawei.com>
Subject: [PATCH 0/3] kexec: pass initrd position in dtb
Date: Tue, 25 Mar 2014 12:09:42 +0800 [thread overview]
Message-ID: <1395720585-76135-1-git-send-email-wangnan0@huawei.com> (raw)
The main goal of this patch series is to pass initrd position to
secondary kernel. To makes code clear, patch 2/3 introduce a new
function to handle fdt related operations.
Without these two patches, kexec failed to work on arm.
Change from v1:
- Remove #include "libfdt_internal.h" since it is for internal use
for libfdt.
Change from v2:
- Split into two logically independent patches.
- Compute memory consumption more accurate.
Change from v3:
- Introduces helpers in libfdt for memory usage computation.
Wang Nan (3):
kexec: introduce helpers for computing dtb size
kexec: introduce setup_dtb_prop to make code clear
kexec: pass initrd position by dtb
kexec/arch/arm/kexec-zImage-arm.c | 106 +++++++++++++++++++++++++++++---------
kexec/libfdt/libfdt.h | 24 +++++++++
kexec/libfdt/libfdt_internal.h | 3 --
3 files changed, 105 insertions(+), 28 deletions(-)
--
1.8.4
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next reply other threads:[~2014-03-25 4:15 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-25 4:09 Wang Nan [this message]
2014-03-25 4:09 ` [PATCH 1/3] kexec: introduce helpers for computing dtb size Wang Nan
2014-03-25 4:09 ` [PATCH 2/3] kexec: introduce setup_dtb_prop to make code clear Wang Nan
2014-03-25 4:09 ` [PATCH 3/3] kexec: pass initrd position by dtb Wang Nan
2014-03-27 1:14 ` [PATCH 0/3] kexec: pass initrd position in dtb Dave Young
2014-03-28 16:49 ` Simon Horman
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=1395720585-76135-1-git-send-email-wangnan0@huawei.com \
--to=wangnan0@huawei.com \
--cc=dyoung@redhat.com \
--cc=horms@verge.net.au \
--cc=hui.geng@huawei.com \
--cc=kexec@lists.infradead.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