* [PATCH v2 1/3] x86: devicetree: call early_init_dt_verify()
@ 2018-03-01 2:45 Ivan Gorinov
2018-03-01 8:57 ` Thomas Gleixner
0 siblings, 1 reply; 2+ messages in thread
From: Ivan Gorinov @ 2018-03-01 2:45 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: Linux Kernel Mailing List, Ingo Molnar
Call to early_init_dt_verify() is required to prepare DTB data.
It was called from arch/arm and arch/powerpc, but not arch/x86.
Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
---
arch/x86/kernel/devicetree.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c
index 25de5f6..44189ee 100644
--- a/arch/x86/kernel/devicetree.c
+++ b/arch/x86/kernel/devicetree.c
@@ -278,6 +278,7 @@ static void __init x86_flattree_get_config(void)
map_len = size;
}
+ early_init_dt_verify(dt);
unflatten_and_copy_device_tree();
early_memunmap(dt, map_len);
}
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2 1/3] x86: devicetree: call early_init_dt_verify()
2018-03-01 2:45 [PATCH v2 1/3] x86: devicetree: call early_init_dt_verify() Ivan Gorinov
@ 2018-03-01 8:57 ` Thomas Gleixner
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Gleixner @ 2018-03-01 8:57 UTC (permalink / raw)
To: Ivan Gorinov; +Cc: Linux Kernel Mailing List, x86
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
On Wed, 28 Feb 2018, Ivan Gorinov wrote:
> Call to early_init_dt_verify() is required to prepare DTB data.
> It was called from arch/arm and arch/powerpc, but not arch/x86.
>
> Signed-off-by: Ivan Gorinov <ivan.gorinov@intel.com>
> ---
> arch/x86/kernel/devicetree.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/x86/kernel/devicetree.c b/arch/x86/kernel/devicetree.c
> index 25de5f6..44189ee 100644
> --- a/arch/x86/kernel/devicetree.c
> +++ b/arch/x86/kernel/devicetree.c
> @@ -278,6 +278,7 @@ static void __init x86_flattree_get_config(void)
> map_len = size;
^
^
Your patches are still whitespace damaged and fail to apply
patching file arch/x86/kernel/devicetree.c
patch: **** malformed patch at line 23: map_len = size;
Please fix your mail setup and please make the patch series properly
threaded. There is plenty of documentation and your coworkers surely can
help you with that.
Thanks,
tglx
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-01 8:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-01 2:45 [PATCH v2 1/3] x86: devicetree: call early_init_dt_verify() Ivan Gorinov
2018-03-01 8:57 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox