commit | 1836a2d4c62a3adbad269e8177528c42daf40f42 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Wed Feb 28 00:32:08 2024 +0100 |
committer | Martin Mares <mj@ucw.cz> | Fri Apr 05 13:14:01 2024 +0200 |
tree | 1f14d8c925e084b1d73fd4c8d5f04bd858ca49c5 | |
parent | a34006f8e9c1f80e1446d1007bfff3ffefef4d23 [diff] |
libpci: ecam: Fix scanning of Extended BIOS Data Area for ACPI RSDP At physical address 0x40E (part of BDA) is stored indirect 16-bit paragraph offset to the EBDA, and not the EBDA itself. Fix it. ACPI code in linux kernel checks if the EBDA offset in BDA is above physical address 0x400. Do the same check here. It is for detection if EBDA is present as it does not have to be on the old computers or in some virtualised environments.