• H. Peter Anvin's avatar
    x86, setup: revert ACPI 3 E820 extended attributes support · bca23dba
    H. Peter Anvin authored
    Remove ACPI 3 E820 extended memory attributes support.  At least one
    vendor actively set all the flags to zero, but left ECX on return at
    24.  This bug may be present in other BIOSes.
    
    The breakage functionally means the ACPI 3 flags are probably
    completely useless, and that no OS any time soon is going to rely on
    their existence.  Therefore, drop support completely.  We may want to
    revisit this question in the future, if we find ourselves actually
    needing the flags.
    
    This reverts all or part of the following checkins:
    
         cd670599
         c549e71d
    
    However, retain the part from the latter commit that copies e820 into
    a temporary buffer; that is an unrelated BIOS workaround.  Put in a
    comment to explain that part.
    
    See https://bugzilla.redhat.com/show_bug.cgi?id=499396 for some
    additional information.
    
    [ Impact: detect all memory on affected machines ]
    Reported-by: default avatarThomas J. Baker <tjb@unh.edu>
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    Acked-by: default avatarLen Brown <len.brown@intel.com>
    Cc: Chuck Ebbert <cebbert@redhat.com>
    Cc: Kyle McMartin <kmcmartin@redhat.com>
    Cc: Matt Domsch <matt_domsch@dell.com>
    bca23dba
memory.c 3.41 KB