]> git.ipfire.org Git - thirdparty/mdadm.git/commit
imsm: add read OROM form ACPI UEFI tables
authorBlazej Kucman <blazej.kucman@intel.com>
Thu, 11 Jul 2024 16:45:41 +0000 (18:45 +0200)
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
Tue, 13 Aug 2024 12:38:50 +0000 (14:38 +0200)
commit91845dab52c3f9ab56710338c0c38e9c1473df1d
tree01d582a52ca67c9a4c29c9e01c0a3f9b3fd76917
parent18eaf6c5206a37ad059c930d1ee2dbc9b7297513
imsm: add read OROM form ACPI UEFI tables

OROM - IMSM hardware capabilities

EFI vars depends on userspace, they need to be mounted to be accessible.
Sporadic problems have been observed with availability at an early
assemble stage. It is not possible to fully synchronize EFI vars mounts
with udev rules processing.

For the reason above, read of IMSM OROM from ACPI tables as secondary
option is added. This method will be used for SATA and VMD family
controllers.

ACPI tables are generated by sysfs, earlier in the boot process, before
the stage of RAID assembly. The way of loading OROM via EFI vars is
retained, ACPI tables will be a backup way.

Two paths will be maintained, because IMSM hardware capabilities are
necessary for RAID assembly during booting, so access to them must be
provided.

Signed-off-by: Blazej Kucman <blazej.kucman@intel.com>
platform-intel.c