aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers
diff options
context:
space:
mode:
authorShiju Jose <[email protected]>2025-06-26 10:13:44 +0000
committerBorislav Petkov (AMD) <[email protected]>2025-06-30 08:57:24 +0000
commit1e14ea901dc8d976d355ddc3e0de84ee86ef0596 (patch)
treee9a8151c88aa37227f6f332e5e5b4a80453fb8f2 /rust/helpers
parentEDAC/amd64: Fix size calculation for Non-Power-of-Two DIMMs (diff)
downloadkernel-1e14ea901dc8d976d355ddc3e0de84ee86ef0596.tar.gz
kernel-1e14ea901dc8d976d355ddc3e0de84ee86ef0596.zip
EDAC: Initialize EDAC features sysfs attributes
Fix the lockdep splat caused by missing sysfs_attr_init() calls for the recently added EDAC feature's sysfs attributes. In lockdep_init_map_type(), the check for the lock-class key if (!static_obj(key) && !is_dynamic_key(key)) causes the splat. Backtrace: RIP: 0010:lockdep_init_map_type Call Trace: __kernfs_create_file sysfs_add_file_mode_ns internal_create_group internal_create_groups device_add ? __init_waitqueue_head edac_dev_register devm_cxl_memdev_edac_register ? lock_acquire ? find_held_lock ? cxl_mem_probe ? cxl_mem_probe ? lockdep_hardirqs_on ? cxl_mem_probe cxl_mem_probe [ bp: Massage. ] Fixes: f90b738166fe ("EDAC: Add scrub control feature") Fixes: bcbd069b11b0 ("EDAC: Add a Error Check Scrub control feature") Fixes: 699ea5219c4b ("EDAC: Add a memory repair control feature") Reported-by: Dave Jiang <[email protected]> Suggested-by: Jonathan Cameron <[email protected]> Signed-off-by: Shiju Jose <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://lore.kernel.org/[email protected]
Diffstat (limited to 'rust/helpers')
0 files changed, 0 insertions, 0 deletions