From: Michael Bringmann <mwb@linux.vnet.ibm.com>
To: ltc-virtual-io@lists.linux.ibm.com, linuxppc-dev@lists.ozlabs.org
Cc: nfont@linux.vnet.ibm.com
Subject: [PATCH V2 1/5] powerpc/dynmemv2: Check arch.vec earlier during boot for memory features
Date: Mon, 17 Apr 2017 10:03:42 -0500 [thread overview]
Message-ID: <149244139775.49112.6141577889382304374.stgit@powerkvm6.aus.stglabs.ibm.com> (raw)
In-Reply-To: <149244134630.49112.5423447491302011316.stgit@powerkvm6.aus.stglabs.ibm.com>
architecture.vec5 features: The boot-time memory management needs to
know the form of the "ibm,dynamic-memory-v2" property early during
scanning of the flattened device tree. This patch moves execution of
the function pseries_probe_fw_features() early enough to be before
the scanning of the memory properties in the device tree to allow
recognition of the supported properties.
Signed-off-by: Michael Bringmann <mwb@linux.vnet.ibm.com>
---
arch/powerpc/kernel/prom.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/powerpc/kernel/prom.c b/arch/powerpc/kernel/prom.c
index f5d399e..bca4abd 100644
--- a/arch/powerpc/kernel/prom.c
+++ b/arch/powerpc/kernel/prom.c
@@ -679,6 +679,9 @@ void __init early_init_devtree(void *params)
*/
of_scan_flat_dt(early_init_dt_scan_chosen_ppc, boot_command_line);
+ /* Now try to figure out if we are running on LPAR and so on */
+ pseries_probe_fw_features();
+
/* Scan memory nodes and rebuild MEMBLOCKs */
of_scan_flat_dt(early_init_dt_scan_root, NULL);
of_scan_flat_dt(early_init_dt_scan_memory_ppc, NULL);
@@ -746,9 +749,6 @@ void __init early_init_devtree(void *params)
#endif
epapr_paravirt_early_init();
- /* Now try to figure out if we are running on LPAR and so on */
- pseries_probe_fw_features();
-
#ifdef CONFIG_PPC_PS3
/* Identify PS3 firmware */
if (of_flat_dt_is_compatible(of_get_flat_dt_root(), "sony,ps3"))
next prev parent reply other threads:[~2017-04-17 15:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-17 15:03 [PATCH V2 0/5] powerpc/devtree: Add support for 'ibm, dynamic-memory-v2' property Michael Bringmann
2017-04-17 15:03 ` Michael Bringmann [this message]
2017-04-17 15:04 ` [PATCH V2 2/5] powerpc/memory: Parse new memory property to register blocks Michael Bringmann
2017-04-17 15:04 ` [PATCH V2 3/5] powerpc/memory: Parse new memory property to initialize structures Michael Bringmann
2017-04-17 15:04 ` [PATCH V2 4/5] pseries/hotplug init: Convert new DRC memory property for hotplug runtime Michael Bringmann
2017-04-17 18:38 ` Tyrel Datwyler
2017-04-17 15:05 ` [PATCH V2 5/5] powerpc: Enable support for new 'ibm, dynamic-memory-v2' devtree property Michael Bringmann
-- strict thread matches above, loose matches on Subject: below --
2017-04-17 15:00 [PATCH V2 0/5] powerpc/devtree: Add support for 'ibm, dynamic-memory-v2' property Michael Bringmann
2017-04-17 15:00 ` [PATCH V2 1/5] powerpc/dynmemv2: Check arch.vec earlier during boot for memory features Michael Bringmann
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=149244139775.49112.6141577889382304374.stgit@powerkvm6.aus.stglabs.ibm.com \
--to=mwb@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=ltc-virtual-io@lists.linux.ibm.com \
--cc=nfont@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;
as well as URLs for NNTP newsgroup(s).