summaryrefslogtreecommitdiffstats
path: root/restripe.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-07-31 17:11:41 -0700
committerDan Williams <dan.j.williams@intel.com>2009-07-31 17:11:41 -0700
commit969c255511a4bd12e6becc11b2a822f24c1fbb76 (patch)
tree537dab66d2bd7d45adfd6f5ab69ccb77c75a01da /restripe.c
parent148acb7baaa810b68d55df4c1784d6bd0dfd1b78 (diff)
downloadmdadm-969c255511a4bd12e6becc11b2a822f24c1fbb76.tar.gz
mdadm-969c255511a4bd12e6becc11b2a822f24c1fbb76.tar.xz
mdadm-969c255511a4bd12e6becc11b2a822f24c1fbb76.zip
platform: relax rom scanning alignment for ahci platforms
The PCI-3.0 Firmware specification allows for option-roms to have 512-byte alignment rather than 2048-byte. As there does not appear to be a reliable method to detect a PCI-3.0 compliant BIOS from userspace we allow the imsm platform detection code to presume that a system modern enough to have an Intel AHCI controller does not have dangerous/legacy ISA regions in the option-ROM memory space. An environment variable to disable this behaviour, IMSM_SAFE_OROM_SCAN, is added in case this presumption is ever proven wrong. Reported-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'restripe.c')
0 files changed, 0 insertions, 0 deletions