From patchwork Wed Sep 7 11:15:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Potthuri, Sai Krishna" X-Patchwork-Id: 12968858 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E07BC54EE9 for ; Wed, 7 Sep 2022 11:16:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=X9gf4YoTv5HGhzStqV1YXKy0I1FlQ5Is46Ue6/8vzb4=; b=Y2Ap/sIVbwqcJx OVo46yKPjXuTmF/Ff2zKaECv5LQm7tROoTvJHoIXy7jbyAEZLy5URuXeEN8Cmh3y3VU7xg3M8pJSw PHFqH5UuGbbYOckmlY2lVndXy1pJq8vy6UHcs7U3+CrcNMMtq//u1qKuKKU9F1Ci2QoYhUSGslis/ 9M5ogL8OG90/ax9htcq3GDwJcrEEEodi4rXxYsccwbvh4Omxut22z9eSreko7nY/lJib5H6FjLNFN jdUvM+M3DD0jTu6oZzg7+4LDltFsqlfazFbUfeG33Xbwf0SJ/iR1wUA1ujPHGXmIRnGTtS3z0nTPh G1tKJls8uS3jhbauvwXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVt2B-005apl-IP; Wed, 07 Sep 2022 11:15:55 +0000 Received: from mail-mw2nam12on2065.outbound.protection.outlook.com ([40.107.244.65] helo=NAM12-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVt28-005amj-8P for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2022 11:15:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aHmlC63JEO5Ox8Rd8Jv9luZYQTQIsKVaJ7O2T2qMP6rDPHgfRyzzqVGnp0Na+68ILbX+miE+2N+JUvyaBLUm5e1yxc7zUuNJsbYSEv5XfwTWoSIp+mVbTQr0JwFxZcw1uD/RBXglcWStNdy6RNlnwoGOYAu8OtgUhpW8LMea+yBmAmJvgtJ1TNjX/htLE/sKJ4Z8WVfSiZm2vPCdKVvrtj0lTiIm7mj3vPAbKo11pCts7PACtORWXNM1gr32woATik8LdJmBBwOoSseNo+XnZdtCbUj7mw+gyb0NZJGG/K6po7xCTo6dmx8/MJ7+QApj0CScDlnHFT+ad7QjDjfOwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=7atuUSZRiqNs3iLE0AyVxB2Yzs56T+ZzjINIcgyfNO8=; b=PbnWE9bDGaA/OqdjVloUWRRq1mobWu1q5t2CNRmI1ntWsPsEWvB8BCC8iJCt0jCloNftLTRFGYAhjfn+M/z72t42ba0Gfh3F81jd0gmsnhpTbKxKOVjEzc/UjiXBkox2M65/efhYhWgNNpAdFYDIVShEWidQcjYnsKHvK0EcyY0/rmMp8nVv6i/k4+c1V3ansVY5NecciiFI2cKYu29S8yDNTLdXMvlyKPKZ+DWY6gqIFa1EaCvHoxYbhdRrAeCnYfnpCqT51L5BAArddXaQnu+YwHIPX2wQeterLJesZX4CtT/G2ffan+5Mu/89vfuL4rcFHnL96P3ROLQAogcgkw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7atuUSZRiqNs3iLE0AyVxB2Yzs56T+ZzjINIcgyfNO8=; b=FL5DF4Jnp4GV2Sfrn322ZGkKCkWj5YdBO4mA6UXQ2nfaLmtDJiN/dPLded/7jW1JHAcAv/avtkNqBeBpwm55X+axwnVZ9Y8lRuMJ3vBSYhpP0R2cE0mKdU28ZKt0+UgXoFN4z+VAz2sEPWDoxjxlgcpfYo9pUktFHtKDdaZSVno= Received: from DS7PR05CA0098.namprd05.prod.outlook.com (2603:10b6:8:56::8) by BN9PR12MB5366.namprd12.prod.outlook.com (2603:10b6:408:103::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.10; Wed, 7 Sep 2022 11:15:46 +0000 Received: from DS1PEPF0000B078.namprd05.prod.outlook.com (2603:10b6:8:56:cafe::52) by DS7PR05CA0098.outlook.office365.com (2603:10b6:8:56::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.5 via Frontend Transport; Wed, 7 Sep 2022 11:15:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF0000B078.mail.protection.outlook.com (10.167.17.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5612.11 via Frontend Transport; Wed, 7 Sep 2022 11:15:46 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Wed, 7 Sep 2022 06:15:41 -0500 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Wed, 7 Sep 2022 04:15:38 -0700 Received: from xhdlakshmis40.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2375.28 via Frontend Transport; Wed, 7 Sep 2022 06:15:34 -0500 From: Sai Krishna Potthuri To: Rob Herring , Krzysztof Kozlowski , Michal Simek , Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , "Robert Richter" CC: , , , , , , Sai Krishna Potthuri Subject: [PATCH v4 0/2] edac: Add support for Xilinx ZynqMP OCM EDAC Date: Wed, 7 Sep 2022 16:45:29 +0530 Message-ID: <20220907111531.703-1-sai.krishna.potthuri@amd.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000B078:EE_|BN9PR12MB5366:EE_ X-MS-Office365-Filtering-Correlation-Id: c8072b68-b7dc-44f1-6ea1-08da90c24fda X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DN7ELpbe06WXiCiVoZYSTcSsVyQ1Kj5zug6sN7zGydtJOsnNosrXErphg8P6GPOLNrBXy2pE/6mN7hibjjs+aparSXh2Ln7F5HzY2EH21Cmqsgko8GjhsgkwMLth8+LM0ojTb7Lh+ImGOVT1YBVPEVaK2tx1PmcDisPwbjjrLUnu5fo5fZdh7ZG7nrt+Ytuc6CQ8jJUb/4JUaAbLHbyPw9kgVDjuq7SlLSDoEBI6N3pAfE6j49RNI4QKGwkCkml6EAD8r6b7np3wMcBoghNGy8ZJXC1AgP2a3eqagqzvIaYlB2hH8hVDkViZ6XIpgYVNMKrM7xn5vVkp4BlNYQH97r6uBqKIGxTMV7CGJjfHxKNsrYoYcNZvH3WFVg1qtSAxhbhbMYgMxxWun3nSRWwLnD29k5WdOdPLf+daqe9nCYtaRkPiVFiXQWNa8N/F156kakeHuzD0eWsKbAgsIC2sAOecaOP1VLLHo7nI9O1C/kCGkRifsP9AVGorE1jgZulMcdbP9QQBJhr9TlmBdNSG8IkeM1DI1oV+9BEBaGZpiFHtbx6tl5najfigGvUWPfWs0bOp4WLuNatLmTihnuSIZcOp/aw4CXJfOUyqA4VXYmF2YPnotq3v8Ga2HIrhbHHt0FIHOuUMbW0VJRewZKyDJFmp6OADH6wS9LMfgxJ4J9ilscRHCjyIuZwoLdeGYQkWODL1687sCZ0xmSyHfO1j2iXmZP645FarFrafA8HWip0ISm5pUVSnufrZMAmH+46tXMQelZ1oC89GR/cOonsjviQG/A4pSobrm3rrEIaoxKcBvx4BIPCdT2+s/kGajXsJ X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(346002)(136003)(39860400002)(376002)(396003)(40470700004)(46966006)(36840700001)(103116003)(36756003)(82740400003)(86362001)(316002)(70206006)(70586007)(4326008)(8676002)(81166007)(356005)(36860700001)(47076005)(83380400001)(426003)(26005)(41300700001)(478600001)(186003)(82310400005)(6666004)(40460700003)(110136005)(54906003)(40480700001)(5660300002)(2616005)(2906002)(336012)(1076003)(7416002)(8936002)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2022 11:15:46.3023 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c8072b68-b7dc-44f1-6ea1-08da90c24fda X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000B078.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5366 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220907_041552_353454_A990E815 X-CRM114-Status: GOOD ( 13.80 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add binding and driver for Xilinx ZynqMP OCM controller. changes in v4: -> 2/2 - Replaced \n\r with \n. changes in v3: -> 1/2 - Moved the binding from edac to memory-controllers directory. -> 1/2 - Changed the file name to match with the compatible. -> 1/2 - Used additionalProperties instead of unevaluatedProperties. -> 1/2 - Used macro instead of constant value. changes in v2: -> 1/2 - Used define for interrupt flag. -> 1/2 - Updated the description and title. -> 2/2 - Removed Kernel doc for probe and remove. -> 2/2 - Used COMPILE_TEST, used wrapper for get and ioremap resource. -> 2/2 - Fixed few comments related to static variable declaration and print statements. Sai Krishna Potthuri (1): edac: zynqmp_ocm: Add EDAC support for ZynqMP OCM Shubhrajyoti Datta (1): dt-bindings: edac: Add bindings for Xilinx ZynqMP OCM .../xlnx,zynqmp-ocmc-1.0.yaml | 45 ++ MAINTAINERS | 7 + drivers/edac/Kconfig | 9 + drivers/edac/Makefile | 1 + drivers/edac/zynqmp_ocm_edac.c | 622 ++++++++++++++++++ 5 files changed, 684 insertions(+) create mode 100644 Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml create mode 100644 drivers/edac/zynqmp_ocm_edac.c