EDAC/imh: Setup 'imh_test' debugfs testing node
Setup the following debugfs testing node to enable fake memory error address decoding tests for the imh_edac driver. /sys/kernel/debug/edac/imh_test/addr Tested-by: Yi Lai <yi1.lai@intel.com> Signed-off-by: Qiuxu Zhuo <qiuxu.zhuo@intel.com> Signed-off-by: Tony Luck <tony.luck@intel.com> Link: https://patch.msgid.link/20251119134132.2389472-8-qiuxu.zhuo@intel.compull/1354/merge
parent
f619613f30
commit
5f40ea7f41
|
|
@ -574,6 +574,7 @@ static int __init imh_init(void)
|
|||
|
||||
opstate_init();
|
||||
mce_register_decode_chain(&imh_mce_dec);
|
||||
skx_setup_debug("imh_test");
|
||||
|
||||
imh_printk(KERN_INFO, "%s\n", IMH_REVISION);
|
||||
|
||||
|
|
@ -587,6 +588,7 @@ static void __exit imh_exit(void)
|
|||
{
|
||||
edac_dbg(2, "\n");
|
||||
|
||||
skx_teardown_debug();
|
||||
mce_unregister_decode_chain(&imh_mce_dec);
|
||||
skx_adxl_put();
|
||||
skx_remove();
|
||||
|
|
|
|||
Loading…
Reference in New Issue