lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 28 Feb 2009 19:25:06 -0800
From:	Yinghai Lu <>
To:	Brian Maly <>
Cc:	Ingo Molnar <>,
Subject: Re: [PATCH] fix DMI for EFI

please use git log -p arch/x86/kernel/setup.c to check the history...


commit 2216d199b1430d1c0affb1498a9ebdbd9c0de439
Author: Yinghai Lu <>
Date:   Mon Sep 22 02:52:26 2008 -0700

    x86: fix CONFIG_X86_RESERVE_LOW_64K=y

    The bad_bios_dmi_table() quirk never triggered because we do DMI setup
    too late. Move it a bit earlier.

    Also change the CONFIG_X86_RESERVE_LOW_64K quirk to operate on the e820
    table directly instead of messing with early reservations - this handles
    overlaps (which do occur in this low range of RAM) more gracefully.

    Signed-off-by: Ingo Molnar <>

diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c
index 161f1b3..d29951c 100644
--- a/arch/x86/kernel/setup.c
+++ b/arch/x86/kernel/setup.c
@@ -735,7 +735,8 @@ static int __init dmi_low_memory_corruption(const
struct dmi_system_id *d)
                "%s detected: BIOS may corrupt low RAM, working it around.\n",

-       reserve_early_overlap_ok(0x0, 0x10000, "BIOS quirk");
+       e820_update_range(0, 0x10000, E820_RAM, E820_RESERVED);
+       sanitize_e820_map(, ARRAY_SIZE(, &e820.nr_map);

        return 0;
@@ -784,8 +785,6 @@ void __init setup_arch(char **cmdline_p)
        printk(KERN_INFO "Command line: %s\n", boot_command_line);

-       dmi_check_system(bad_bios_dmi_table);

@@ -880,6 +879,10 @@ void __init setup_arch(char **cmdline_p)


+       dmi_scan_machine();
+       dmi_check_system(bad_bios_dmi_table);
 #ifdef CONFIG_X86_32
@@ -967,8 +970,6 @@ void __init setup_arch(char **cmdline_p)

-       dmi_scan_machine();
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists