From patchwork Wed Sep 25 02:40:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qunqin Zhao X-Patchwork-Id: 13811550 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E250C136664; Wed, 25 Sep 2024 02:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=114.242.206.163 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727232034; cv=none; b=uVcUZfkyTBi2lN3rQbfs8aYqaBGUdVSQam/wAWteT8l6171mnXhJcj/TxWfd4PsnAT4Zi6Kj1zD0Jv1qcVtZZ7d+m/xm5cT0H5/ZhSi5DKp/ojf9tlhAMazOweTrm5/vOetBPtGfc/Av7IQYPJVvCzgZFoNtLxBIaj15Dsfnops= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727232034; c=relaxed/simple; bh=v3xGw1OWKPsFFT7RuNEH8G7mTZr2mneDdXYjWJresac=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=oSbsUKHDY9dJoM+eTd++BiuuFYSaZE5RFdAfep63hSh+HpKA4vgNCiXkPVrDRHKHBU1q3JZMHu96kECxtVK8k9snrEacmEktW4ghO3IV7QA836TSbKrzPh9cEaQGlasSaviTFpGdWEUm5c/eajU6jQsZYdd+OiSBsLox7L0hvwo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn; spf=pass smtp.mailfrom=loongson.cn; arc=none smtp.client-ip=114.242.206.163 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=loongson.cn Received: from loongson.cn (unknown [10.40.54.90]) by gateway (Coremail) with SMTP id _____8AxbeobePNmEIkOAA--.33216S3; Wed, 25 Sep 2024 10:40:27 +0800 (CST) Received: from localhost.localdomain (unknown [10.40.54.90]) by front2 (Coremail) with SMTP id qciowMBx+cUaePNmicERAA--.5523S2; Wed, 25 Sep 2024 10:40:26 +0800 (CST) From: Zhao Qunqin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, chenhuacai@kernel.org, bp@alien8.de, tony.luck@intel.com Cc: linux-edac@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@xen0n.name, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, loongarch@lists.linux.dev, Zhao Qunqin Subject: [PATCH v5 0/2] Add EDAC driver for loongson memory controller Date: Wed, 25 Sep 2024 10:40:36 +0800 Message-Id: <20240925024038.9844-1-zhaoqunqin@loongson.cn> X-Mailer: git-send-email 2.20.1 Precedence: bulk X-Mailing-List: linux-edac@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-CM-TRANSID: qciowMBx+cUaePNmicERAA--.5523S2 X-CM-SenderInfo: 52kd01pxqtx0o6or00hjvr0hdfq/ X-Coremail-Antispam: 1Uk129KBj9xXoW7JFyDtrWDJw1rCw4DZF17XFc_yoWxtwb_Ca 17Aay8Jr4vyFyDJay2qr18ZFWYyF4UKas0kF1qgw15Xr4avr13WFykWa43AFy7tw1DWFn3 ZrZ5KryxA3W8tosvyTuYvTs0mTUanT9S1TB71UUUUjUqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUbfAYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Gr0_Gr1UM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE52x082IY62kv0487Mc804VCY07AIYI kI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUAVWU twAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI4 8JMxkF7I0En4kS14v26r1q6r43MxAIw28IcxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j 6r4UMxCIbckI1I0E14v26r1Y6r17MI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwV AFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUtVW8ZwCIc40Y0x0EwIxGrwCI42IY6xIIjxv2 0xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwCI42IY6xAIw20EY4 v20xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AK xVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7IU8qXdUUUUUU== Add a simple EDAC driver which report single bit errors (CE) only on loongson platform. Zhao Qunqin (2): dt-bindings: EDAC for ls3a5000 memory controller Loongarch: EDAC driver for loongson memory controller .../edac/loongson,ls3a5000-mc-edac.yaml | 44 +++++ MAINTAINERS | 7 + arch/loongarch/Kconfig | 1 + drivers/edac/Kconfig | 8 + drivers/edac/Makefile | 1 + drivers/edac/loongson_edac.c | 168 ++++++++++++++++++ 6 files changed, 229 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/loongson,ls3a5000-mc-edac.yaml create mode 100644 drivers/edac/loongson_edac.c base-commit: 61124f42dcaa30f58a8b47a2b69ddb80260677c7