From patchwork Tue Sep 3 01:53:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Qunqin Zhao X-Patchwork-Id: 13787834 Received: from mail.loongson.cn (mail.loongson.cn [114.242.206.163]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20E191CCEDD; Tue, 3 Sep 2024 01:53:42 +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=1725328427; cv=none; b=AiAgCsOCI9lTchoTAiAkgG7OWZHdv3U9ElidgzMhR+HovsyZf4apiIDUTn9k7wfswPnarSMVSWedFB1O40n2dahJZ+Ds+QFJ09gpFWJzQUU58bRiSQrIbe3L0YwfqTaWg/v4M+XCJBKaNw+9rbno0GVNOm0Bnzx9nFFQdmQe4kI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725328427; c=relaxed/simple; bh=B5l1hCo3L8RsrFKWtMuR8cEUXTuA9Rv/yNP8X5gM8MY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=rs4K/JBWn99qK9NOD8Bl9KTmN6uy4hGrjC1fhpCFAwg7hJf9WUqCqUg31FoQ3WTwPdXmWDvvXpax2Kb1gV+EAc7fsF+0zx0+7Q2sJ0pMTdwaZsQtG/WOollr+JzcxN8GImjxfu7A0cHAhX6d9685vUBDfAk+z7B+dX0BQ1odxHI= 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 _____8AxHusfbNZmmL4oAA--.14281S3; Tue, 03 Sep 2024 09:53:35 +0800 (CST) Received: from localhost.localdomain (unknown [10.40.54.90]) by front2 (Coremail) with SMTP id qciowMDxvscdbNZmRXYEAA--.13550S2; Tue, 03 Sep 2024 09:53:33 +0800 (CST) From: Zhao Qunqin To: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, chenhuacai@kernel.org Cc: linux-edac@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@xen0n.name, bp@alien8.de, tony.luck@intel.com, james.morse@arm.com, mchehab@kernel.org, rric@kernel.org, loongarch@lists.linux.dev, Zhao Qunqin Subject: [PATCH v2 0/2] Add EDAC driver for ls3a5000 memory controller Date: Tue, 3 Sep 2024 09:53:52 +0800 Message-Id: <20240903015354.9443-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: qciowMDxvscdbNZmRXYEAA--.13550S2 X-CM-SenderInfo: 52kd01pxqtx0o6or00hjvr0hdfq/ X-Coremail-Antispam: 1Uk129KBj9xXoW7JFyDuFWUurWDZryUAryktFc_yoWxtwb_Cw 17Aay8Jr4vkFyDCFW2vF18ZFWjyF48tF95CF1Dtw45Xr43Zry3Xas7WasrA34UJw1DuFy3 ArZ5KF97Aw1UtosvyTuYvTs0mTUanT9S1TB71UUUUjUqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUbfkYFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_Jrv_JF1l8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVW8JVW5JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV W8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280aVCY1x0267AKxVW8 JVW8Jr1ln4kS14v26r1Y6r17M2AIxVAIcxkEcVAq07x20xvEncxIr21l57IF6xkI12xvs2 x26I8E6xACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r126r1D McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr4 1lc7CjxVAaw2AFwI0_Jw0_GFyl42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_ Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67 AKxVWUGVWUWwC2zVAF1VAY17CE14v26r1q6r43MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8I cVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI 8IcIk0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v2 6r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjxUceOJUUUUU Add a simple EDAC driver which report single bit errors (CE) only on ls3a5000 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/ls3a5000_edac.c | 187 ++++++++++++++++++ 6 files changed, 248 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/loongson,ls3a5000-mc-edac.yaml create mode 100644 drivers/edac/ls3a5000_edac.c base-commit: 090786479325d85cf9f8565ef802cd6dc62c5321