From patchwork Fri May 29 08:24:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lv Ying X-Patchwork-Id: 11578085 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DAC4592A for ; Fri, 29 May 2020 08:27:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CC1AE2075A for ; Fri, 29 May 2020 08:27:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726701AbgE2I1G (ORCPT ); Fri, 29 May 2020 04:27:06 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:5309 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725355AbgE2I1F (ORCPT ); Fri, 29 May 2020 04:27:05 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 053022B7CA2CAFBE5D26; Fri, 29 May 2020 16:27:03 +0800 (CST) Received: from huawei.com (10.175.104.175) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Fri, 29 May 2020 16:26:54 +0800 From: lvying6 To: , CC: , , Subject: [PATCH 0/2] rasdaemon: add support for memory Corrected Error predictive failure analysis Date: Fri, 29 May 2020 16:24:21 +0800 Message-ID: <1590740663-6664-1-git-send-email-lvying6@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-Originating-IP: [10.175.104.175] X-CFilter-Loop: Reflected Sender: linux-edac-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-edac@vger.kernel.org rasdaemon: add support for memory Corrected Error predictive failure analysis wuyun (2): rasdaemon: add rbtree support for page record rasdaemon: add support for memory Corrected Error predictive failure analysis Makefile.am | 4 +- misc/rasdaemon.env | 29 ++++ misc/rasdaemon.service.in | 1 + ras-events.c | 3 + ras-mc-handler.c | 5 + ras-page-isolation.c | 308 +++++++++++++++++++++++++++++++++++++ ras-page-isolation.h | 68 ++++++++ rbtree.c | 384 ++++++++++++++++++++++++++++++++++++++++++++++ rbtree.h | 165 ++++++++++++++++++++ 9 files changed, 965 insertions(+), 2 deletions(-) create mode 100644 misc/rasdaemon.env create mode 100644 ras-page-isolation.c create mode 100644 ras-page-isolation.h create mode 100644 rbtree.c create mode 100644 rbtree.h