Skip to contentSkip to conversation

x86: devicetree: call early_init_dt_verify()

PATCH Superseded Ivan Gorinov 2 participants 2 messages Mar 1, 2018 x86

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 x86: devicetree: call early_init_dt_verify()

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.

---
 arch/x86/kernel/devicetree.c | 1 +

 1 file changed, 1 insertion(+)
arch/x86/kernel/devicetree.c +0 -0
index 25de5f6..44189ee 100644
@@ -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

#1 lore raw
Quoted 13 lines · Ivan Gorinov

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.

---
 arch/x86/kernel/devicetree.c | 1 +

 1 file changed, 1 insertion(+)
arch/x86/kernel/devicetree.c +0 -0
index 25de5f6..44189ee 100644

arch/x86/kernel/devicetree.c static void __init x86_flattree_get_config(void) · line 278

Quoted 1 line
arch/x86/kernel/devicetree.c +0 -0
@@ -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