From patchwork Mon Nov 11 06:09:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhao Qunqin X-Patchwork-Id: 13870262 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 300882914; Mon, 11 Nov 2024 06:10:19 +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=1731305424; cv=none; b=VI5Wa1/rgemmTRPgPJgVxp4NhiTCIK1kaoaJ5j0ft2zwqE/+h5X4a5EN3zv6xhOJPAqqfZfswC6TmQ+6d61UOU773Fs6DjHWnUsYzfL53zCHp79OLTr4k6I1NbgSW70e8uF+2kLI2YEiubATT3rc6HBLnIIyWCLScskEBr/Rzu4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731305424; c=relaxed/simple; bh=DbnonwvT9+TeoK0pRjgBRHojNOqJMpZZb5XkAwimCk4=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=MnKfVnJeXfSsACn1pYSCNoN0hv5aZEQucnj0k37NGAWI7b4na+XzqTlf2aFpPkGZoNUEwiyw0+X+Jr2OeRRDvlcwQ93cUipED+KI7lJNehl/l0KdG1D6tO9S3EVYJwbNeWfoGlgmVO4pGlnC6w1kKJSMoE+IyeklGAGT+5FOpvY= 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 _____8Ax6+HDnzFnnzw7AA--.50714S3; Mon, 11 Nov 2024 14:10:11 +0800 (CST) Received: from localhost.localdomain (unknown [10.40.54.90]) by front1 (Coremail) with SMTP id qMiowMBxnkfDnzFn0ABRAA--.10185S2; Mon, 11 Nov 2024 14:10:11 +0800 (CST) From: Zhao Qunqin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, chenhuacai@kernel.org, bp@alien8.de Cc: linux-edac@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@xen0n.name, tony.luck@intel.com, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, loongarch@lists.linux.dev, Zhao Qunqin Subject: [PATCH v7 0/2] Add EDAC driver for loongson memory controller Date: Mon, 11 Nov 2024 14:09:37 +0800 Message-Id: <20241111060939.5349-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: qMiowMBxnkfDnzFn0ABRAA--.10185S2 X-CM-SenderInfo: 52kd01pxqtx0o6or00hjvr0hdfq/ X-Coremail-Antispam: 1Uk129KBj9xXoW7JFyDtrWDJw1rur4xuF4kGrX_yoWxtFg_C3 WxAFW8Jr4kta4DJay2vr18ZrWayF4UtFn5CFn0gw15XF1avr13Wr97ZF13AFy7tr1DWFy3 ZrWkKFyxA3WxtosvyTuYvTs0mTUanT9S1TB71UUUUjUqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUbS8YFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26F4j6r4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_ Gr1j6F4UJwAaw2AFwI0_Jrv_JF1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0c Ia020Ex4CE44I27wAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_JF0_ Jw1lYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwI xGrwCY1x0262kKe7AKxVWUtVW8ZwCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWU JVW8JwCFI7km07C267AKxVWUXVWUAwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4 vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IY x2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26c xKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAF wI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07j5fHUUUUUU= 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 EDAC: Add 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 | 156 ++++++++++++++++++ 6 files changed, 217 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/loongson,ls3a5000-mc-edac.yaml create mode 100644 drivers/edac/loongson_edac.c base-commit: e14232afa94445e03fc3a0291b07a68f3408c120