Re: [BUG] dmi_scan_machine uses uninitialized address on x86 / EFI

From: H. Peter Anvin
Date: Wed Feb 25 2009 - 17:04:21 EST


Thomas Jourdan wrote:
Hi

On x86/EFI platforms, if efi_enabled is true, the dmi_scan_machine function
fails, even if valid DMI table is present. In the setup_arch function,
efi_init is called after dmi_scan_machine. But this is efi_init which will
initialize the smbios address, needed by dmi_scan_machine.

This leads to dmi_scan_machine ioremapping physical address 0, instead of
the address provided by the EFI system table. The following patch fixes the
problem.


Hi Thomas,

Could you please resend both this patch and the phys_efi_get_time patch with a Signed-off-by: line so I can apply them?

Thanks,

-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/