]> git.baikalelectronics.ru Git - kernel.git/commit
x86, setup: revert ACPI 3 E820 extended attributes support
authorH. Peter Anvin <hpa@zytor.com>
Thu, 21 May 2009 18:46:16 +0000 (11:46 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 22 May 2009 18:14:02 +0000 (11:14 -0700)
commit9d4b9b80e91bda354b4779ab16c02f26f1d56ae0
tree31f52293a54d418ff347e7de20ffc702acf554be
parent9150f8cf7621ea61f78d3190161f9654ea322de4
x86, setup: revert ACPI 3 E820 extended attributes support

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:

     273ff27b9863c0dabed8851597f4e58e914374d8
     8b7e5c33a7266eb84db0648a63760c5acc839f85

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: Thomas J. Baker <tjb@unh.edu>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Acked-by: Len Brown <len.brown@intel.com>
Cc: Chuck Ebbert <cebbert@redhat.com>
Cc: Kyle McMartin <kmcmartin@redhat.com>
Cc: Matt Domsch <matt_domsch@dell.com>
arch/x86/boot/memory.c