fpga: intel_sdm_mb: add support for query SDM config error and status
authorBoon Khai Ng <boon.khai.ng@intel.com>
Fri, 17 Jan 2025 06:33:31 +0000 (14:33 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 24 Jan 2025 01:56:34 +0000 (09:56 +0800)
commit60d96038d7ca9681e926a22789613a983ff9bf9a
tree28a14e58ab902c18ba9a15b3e3d293ca26d3128c
parent1130ad4ee4ae2cb986b470b2019a4ffc6b921e9a
fpga: intel_sdm_mb: add support for query SDM config error and status

Currently the FPGA reconfig status only return a single error status
which make the debugging of FPGA reconfiguration hard.

This patch is to expose the error status, major error code and
minor error code, for the FPGA reconfig to upper layer app.

Signed-off-by: Boon Khai Ng <boon.khai.ng@intel.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@intel.com>
arch/arm/mach-socfpga/include/mach/mailbox_s10.h
drivers/fpga/intel_sdm_mb.c