Home
last modified time | relevance | path

Searched hist:de0e0624d86ff9fc512dedb297f8978698abf21a (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/ras/
H A Dcec.cdiff de0e0624d86ff9fc512dedb297f8978698abf21a Sat Apr 20 07:06:37 CDT 2019 Borislav Petkov <bp@suse.de> RAS/CEC: Check count_threshold unconditionally

The count_threshold should be checked unconditionally, after insertion
too, so that a count_threshold value of 1 can cause an immediate
offlining. I.e., offline the page on the *first* error encountered.

Add comments to make it clear what cec_add_elem() does, while at it.

Reported-by: WANG Chao <chao.wang@ucloud.cn>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: linux-edac@vger.kernel.org
Link: https://lkml.kernel.org/r/20190418034115.75954-3-chao.wang@ucloud.cn