From patchwork Tue Nov 7 20:38:56 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tero Kristo X-Patchwork-Id: 118207 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4444632qgn; Tue, 7 Nov 2017 12:41:41 -0800 (PST) X-Google-Smtp-Source: ABhQp+TT/B2IXZMaeJ3vYU9tG/AkuE5Hu36OLbSMcV2jAGAP48Q/ElUq4lKDXB6uccVMMzAdfPq2 X-Received: by 10.159.244.18 with SMTP id x18mr6213plr.338.1510087301779; Tue, 07 Nov 2017 12:41:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510087301; cv=none; d=google.com; s=arc-20160816; b=FURlR4eERa4fosmWsrZCRUnfgtfc5fJyoqCiQi9dy2xmxPK8ZYZPtPccJ2JzAMEHjw ilw000ckPRxailOkV+BXlFtXdoaD89eaorNYGBxPNz0pwiaj3lCxRhSI13d2QM0uQItG 1kfyTLC2QWY04x1UOFmu1CR39TDnOrfFFjyr02gmHjBmiZsiNhgQgWCBVztLmu6zk4s0 TuJAvbyq/NNxLsm2U493L/iWlpMWmJ6fXZG/vlBg24dOrh4VIo5r75QH1++d4DKF49B8 BhjEeZUIRoY379/3ii2gjtTbaNWxrvkml+ER1SFI231G12txtZKlAqWpHT6sc3jUBmWB +i4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:to :from:dkim-signature:arc-authentication-results; bh=yE1R8RNeORXvwA9m9wzVjUYG2pRa8w3aOsRFXmZX944=; b=WJIT0GQEAETYSz7CCwooyX5t40rxqHkOqw18uNYSRAnh0rFKtsTgFl5pLRosyirMQ2 u2Qowr68oLtOEU5xPZiD6RerMqjIr0I2QyS0drCUqMJMWBpRmE/CdgZktN/vZP7m4vVu yBYGsKrCV+++wu188r9rDydWCqCmM/rWkugRxdpT/a9WnZ6l7I9ogzLBDmjhNyNui6K4 R+g2k9qChbthZxYECpvwrl55JS4ri6U6v0gkczCgkvu+Rh4j2Jce0ekpp2GVKWTFRXBW 8zOY7vUIZQuQ82bfGR5BOCcAPIWjYt4u0i0OuAS59dxA9wP/EvnlyVKNDelRx9+t9poF K+Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=eEmmgnoC; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t64si1908200pgc.697.2017.11.07.12.41.41; Tue, 07 Nov 2017 12:41:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ti.com header.s=ti-com-17Q1 header.b=eEmmgnoC; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933445AbdKGUlk (ORCPT + 4 others); Tue, 7 Nov 2017 15:41:40 -0500 Received: from fllnx209.ext.ti.com ([198.47.19.16]:38793 "EHLO fllnx209.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933304AbdKGUlk (ORCPT ); Tue, 7 Nov 2017 15:41:40 -0500 Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id vA7KeOqh013929; Tue, 7 Nov 2017 14:40:24 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1510087224; bh=k+WFi7vIU9kM123TqCwHfHsql+9CAoXlcp5qfb8zPBY=; h=From:To:Subject:Date; b=eEmmgnoCNFo8znYOjJPa0K8+cQfKsXjAiWJEtY1HuZco/e/NoaARlt06X2JYRcEcV rlJM7nHT/oliOnj9VIVxHqdkDUWEGBkox4Wuaa2+Wl/73xWILQS5xoDMkqkuiqaCT1 23/aQnxhBwFbEF010WlrGup5xDdnsiIX41pei498= Received: from DFLE111.ent.ti.com (dfle111.ent.ti.com [10.64.6.32]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id vA7KeJcw030912; Tue, 7 Nov 2017 14:40:19 -0600 Received: from DFLE111.ent.ti.com (10.64.6.32) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.845.34; Tue, 7 Nov 2017 14:40:17 -0600 Received: from dflp33.itg.ti.com (10.64.6.16) by DFLE111.ent.ti.com (10.64.6.32) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.845.34 via Frontend Transport; Tue, 7 Nov 2017 14:40:17 -0600 Received: from gomoku.home (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp33.itg.ti.com (8.14.3/8.13.8) with ESMTP id vA7KeFwT016393; Tue, 7 Nov 2017 14:40:16 -0600 From: Tero Kristo To: , , , , Subject: [PATCH 0/3] EDAC: TI: add support for DRA7 and keystone EDAC Date: Tue, 7 Nov 2017 22:38:56 +0200 Message-ID: <1510087139-21885-1-git-send-email-t-kristo@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Hi, The EMIF controller on certain TI SoCs has ECC support capability. This series adds support for this on dra7xx and keystone2 variants of the SoCs. DTS nodes are only added for keystone2 devices, as these can be tested with upstream right now. DRA7xx support will be added once the specific boards that actually support ECC are posted upstream. Tested the ECC support on keystone-k2g-evm against 4.14-rc1, injecting 1 and 2 bit errors from u-boot. Below log with 2 bit error injected at the beginning of the SDRAM. root@k2g-evm:~# insmod /lib/modules/4.14.0-rc1-00003-gf5201bf/kernel/drivers/eda c/ti_edac.ko [ 32.559025] EDAC MC0: Giving out device to module ti_edac controller ti,emif- keystone: DEV 21010000.emif (INTERRUPT) [ 32.599088] EDAC MC0: 1 UE ti,emif-keystone on mc#0memory#0 (memory:0 page:0x 0 offset:0x0 grain:4 - 2B) Boot tested on keystone-k2e/l/hk also just to make sure there are no issues (the driver is not enabled in keystone config by default either.) -Tero -- Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html