lkml.org 
[lkml]   [2009]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] fix DMI for EFI
Updated patch. Might be good for someone who runs VMware to verify things still work though.
Looks right now I think.


Brian


>This init_hypervisor comment looks important, no? Possibly it needs
>to be moved after the new placement? Doesn't look like the probe_roms
>will be an issue.

>regards, Kyle

--- a/arch/x86/kernel/setup.c 2009-02-08 15:37:27.000000000 -0500
+++ b/arch/x86/kernel/setup.c 2009-03-01 02:27:45.000000000 -0500
@@ -770,16 +770,6 @@ void __init setup_arch(char **cmdline_p)

finish_e820_parsing();

- dmi_scan_machine();
-
- dmi_check_system(bad_bios_dmi_table);
-
- /*
- * VMware detection requires dmi to be available, so this
- * needs to be done after dmi_scan_machine, for the BP.
- */
- init_hypervisor(&boot_cpu_data);
-
#ifdef CONFIG_X86_32
probe_roms();
#endif
@@ -792,6 +782,16 @@ void __init setup_arch(char **cmdline_p)
if (efi_enabled)
efi_init();

+ dmi_scan_machine();
+
+ dmi_check_system(bad_bios_dmi_table);
+
+ /*
+ * VMware detection requires dmi to be available, so this
+ * needs to be done after dmi_scan_machine, for the BP.
+ */
+ init_hypervisor(&boot_cpu_data);
+
#ifdef CONFIG_X86_32
if (ppro_with_ram_bug()) {
e820_update_range(0x70000000ULL, 0x40000ULL, E820_RAM,
\
 
 \ /
  Last update: 2009-03-01 03:43    [W:0.072 / U:6.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site