]> www.infradead.org Git - users/jedix/linux-maple.git/commit
EDAC/igen6: Initialize edac_op_state according to the configuration data
authorQiuxu Zhuo <qiuxu.zhuo@intel.com>
Wed, 6 Nov 2024 11:35:45 +0000 (11:35 +0000)
committerTony Luck <tony.luck@intel.com>
Fri, 8 Nov 2024 21:35:21 +0000 (13:35 -0800)
commit1d512b1aa5a88f93170b0b9360de4fff7a2f8a0a
tree29600e43c3fdc2cfd4fb277bbc9f4d8c72e9e3a0
parentfefaae90398d38a1100ccd73b46ab55ff4610fba
EDAC/igen6: Initialize edac_op_state according to the configuration data

Currently, igen6_edac sets edac_op_state to EDAC_OPSTATE_NMI, while the
driver also supports memory errors reported from Machine Check. Initialize
edac_op_state to the correct value according to the configuration data
that the driver probed.

Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/all/20241106114024.941659-2-orange@aiven.io
drivers/edac/igen6_edac.c