From patchwork Tue Jan 11 08:09:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12709595 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 5D03AC433F5 for ; Tue, 11 Jan 2022 08:10: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=71s17x+mjFbEBdO1WlpazRtEo93ZHZtwEdOY8s6m3R8=; b=sjVNzTzA5IrOWJ pxFWjyvSwYsZw6OZFk6L6xgAJJApypAuIFpHXIau0XF5KJDEAuwz1rROTI12+FXYS2owAaKCs6iun gLMyW86KWTNjODUjzwZ77erx6p47BEbPb1EQ2PMxqm+lf2pDGXOoBabeO2pfPBMS0/fQh3jfGlA8U AXSVZXgLeN+nL+1m7Bl8SzqSPOgmiIaBhakoWZsolxEuxaqGAq5Gy5tJXlKq2857zqplyI4DQYC7f hYKuW0ISlID2V/7iHzcJoAfhy3G91lYUm0CWZGsqpdQqYfvH9q19jSjfJ2F/RJRAxj5956f8YVUEx sAQCrrNRsLm0yHLxQ3/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7CDu-00FFYH-9V; Tue, 11 Jan 2022 08:09:42 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7CDr-00FFX9-3j for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 08:09:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1641888579; x=1673424579; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=qt7FmkV+eT+RljvKOaswKjs5L9PsPSobPl63lL0Klk0=; b=eFw2DY533Q2S074t1wLI2P9xdCPw8l0KRFVVRJ1zPVjLnbamJcnWCf1P TMhi4tUFd+/pqo2IKxdnL9S7X+yUSLyCk76QNRXZoTmy40TRmSVcbaD4m e4h+PbkoVXUx/ndCzUJIDilAzcBOkkQYEpND9GDLWFXfX3TIDqXKWhYOW QxZv9vZAOIdRDujQB/9ISagtUcbVDspgxoM0JTjJJ0qmiWcS1HLqrh3d8 ikqbEmEId0b0+NZ9PVsCWLDa7l+XbexQFjEPQxSQYXmBHfeI3xLTa6FqW /LU5llBsq9K6iX0+/VDjLR5XwR70i+0z+MT4Hm/EOkLSMtp/Rghwi190j g==; IronPort-SDR: VI0glG87FvnWOO4K/40NedprheBRNUfrX+vHn6MMTn1hYbJ99JxCz8LAwRwul4TZy28po5Y+ki cDOnMLNn4ajPALkuL2PxK+Ss6Y/rZusS/bW1Hf15RjIIZOaDx4295qFhH0hfsMALrBxTHmN5JD Z2EBG1AHF7ZV3rnervKk0mrIxwBI9mj0E7g0HVfMm2pW/KCZcRRSP9sNz/Fdh2c72LgkvHrT/r 8s8YbJbglARIfz+sXQ50tks/F8nTPs+WqtBo8w0lhwycYInDyOQeZkKFl/9CAVPx3KuremLtTc jP8i6FcdT5xBsh4296OWDOQO X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="149227131" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 Jan 2022 01:09:38 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 11 Jan 2022 01:09:37 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 11 Jan 2022 01:09:35 -0700 From: Tudor Ambarus To: CC: , , , , , , , Tudor Ambarus Subject: [PATCH] ARM: dts: at91: sama5d2: Fix PMERRLOC resource size Date: Tue, 11 Jan 2022 10:09:33 +0200 Message-ID: <20220111080933.800414-1-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220111_000939_210378_1710A88A X-CRM114-Status: UNSURE ( 9.50 ) X-CRM114-Notice: Please train this message. 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 PMERRLOC resource size has been shrunk to 0x100, which resulted in HSMC_ERRLOCx register being truncated to offset x = 21, causing error correction to fail if more than 22 bit errors where 24 or 32 bit error correction was supported. Fixes: d9c41bf30cf8 ("ARM: dts: at91: Declare EBI/NAND controllers") Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/sama5d2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index 801969c113d6..de88eb484718 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -413,7 +413,7 @@ hsmc: hsmc@f8014000 { pmecc: ecc-engine@f8014070 { compatible = "atmel,sama5d2-pmecc"; reg = <0xf8014070 0x490>, - <0xf8014500 0x100>; + <0xf8014500 0x200>; }; };