Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'edac_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras

Pull EDAC fixes from Borislav Petkov:
"Two fixes for resulting from CONFIG_DEBUG_TEST_DRIVER_REMOVE=y
experiments:

- complete a previous fix to reset a local structure containing
scanned system data properly so that the driver rescans, as it
should, on a second load.

- address a refcount underflow due to not paying attention to the
driver whitelest on unregister"

* tag 'edac_urgent_for_v5.9_rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras:
EDAC/ghes: Check whether the driver is on the safe list correctly
EDAC/ghes: Clear scanned data on unload

+5
+5
drivers/edac/ghes_edac.c
··· 508 508 if (!force_load && idx < 0) 509 509 return -ENODEV; 510 510 } else { 511 + force_load = true; 511 512 idx = 0; 512 513 } 513 514 ··· 630 629 struct mem_ctl_info *mci; 631 630 unsigned long flags; 632 631 632 + if (!force_load) 633 + return; 634 + 633 635 mutex_lock(&ghes_reg_mutex); 634 636 635 637 system_scanned = false; 638 + memset(&ghes_hw, 0, sizeof(struct ghes_hw_desc)); 636 639 637 640 if (!refcount_dec_and_test(&ghes_refcount)) 638 641 goto unlock;