Backport version of the linux-dfl (Device Feature List) kernel driver for FPGA devices. This is an out-of-tree driver, designed to be built, packaged, and installed as a stand-alone set of driver modules.
There is an concurrency issue reported that read the flash content when
flashing the fpga image.
The root cause is that the m10bmc_pmci_set_flash_host_mux() function will
fail when flashing the fpga image, because this is hardware concurrency
mechanism. After m10bmc_pmci_set_flash_host_mux() fail, we should release
the mutex lock before return error.
There is an concurrency issue reported that read the flash content when flashing the fpga image.
The root cause is that the m10bmc_pmci_set_flash_host_mux() function will fail when flashing the fpga image, because this is hardware concurrency mechanism. After m10bmc_pmci_set_flash_host_mux() fail, we should release the mutex lock before return error.
Signed-off-by: Tianfei Zhang tianfei.zhang@intel.com