From patchwork Tue Jan 11 13:23:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12709869 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 9AFAFC433F5 for ; Tue, 11 Jan 2022 13:24:24 +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=DZ9PCRfk9kveka6u6zmdiHrJopGe8lTgHvSkd41VuVE=; b=iY1rTF3sYVS6yB 0Y5PYduD3M/nxaY3tTBDzjMpOkYDOIvm5L4FtJA2h0gy+wfnzt2RMehuC6rCZdjpPdsjALylLrKPy Vsp9mFtKBuVeinLrLuvZQwvfnKWawUi0D03sgxnwuiOwEyk5nOzpJjvo5aoK8V5d3abyx9ejNYkkG 1DMYhkKV90vGL207cl2GL00A2ePfSg0sbZuFQGc00cOmSM0o2DF1BVGnbGwpLMIJ2QsWD6398A1la piASDAkYA5ajRhBJUHHjGw9cN2J1KQTv10nXZp1jT1RQHtQ2Bkm92W/4qVWg6H7I6y4XLtApOA6+6 F4nfX9NIx7EYv7IlnVzQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7H7G-00GOZO-Pc; Tue, 11 Jan 2022 13:23:10 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n7H7D-00GOYg-Nk for linux-arm-kernel@lists.infradead.org; Tue, 11 Jan 2022 13:23:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1641907387; x=1673443387; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=c0boByf2BB5su6qOQGZkkDJXX/FAiLGM0LDe8xZdSoA=; b=Wv6ttiT8xs3yJLy6eYjiVULxnRfwEH4JW68ozFEG22tdAun4pOPcToYx R3Li42S/ku8cLXc/49gDwoHUc6t8s8QSlMqLFcT84KUV9IXs1PD8G7rEa tM+LBS5HNGXeC5BR3c46Yu9C+j5awqa5TK7atkSyxSRJyqmonBMb4FCgh 0P8tMC6m22tM9b9X27Yegx7oWU77UGYaQpPQElZaNVRel9ENoY6xOBIBH I0f2BzzKachC95W8yf9OhP3KgFUaN3KpE1cyGTEv7vfd9un5kRfBn1FsE 9MrpVWzar9zwAmBo3GPAEuG+QbSPve4/lInUd2WqlNQLBp0ycsL0lVS79 w==; IronPort-SDR: vPJ1CM6IMrd3wXAvL3swXFC266lt/x2UvZYeVLeteuTa8o1vdxTkJcmCk0zGptqrCUi/oCZ3w8 Um9ECGnp0K8PDr48EseF8s5bKknQMqW0DMBzll75rkv0MZJeklLn2egUDHA76+wMOtgsAiAwf4 mQ9MXJ0v6uYgxO8dIaZeBJsHnrSsLW/o+I32Vk1XVtcW4OktrVU05D6aaZ/UtEhKD1+P8NfhQI pxdJbSq2Pwg+UMitU8LMzJXT4iAJLO4VkM9GN5z1jHZvkPpR5jJi5u80e3pLbvI/NTE82Fwa4n TWpZCfO+6wCuZaGKrOvnFTwV X-IronPort-AV: E=Sophos;i="5.88,279,1635231600"; d="scan'208";a="82119598" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa6.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 11 Jan 2022 06:23:05 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) 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 06:23:05 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 11 Jan 2022 06:23:02 -0700 From: Tudor Ambarus To: , CC: , , , , , , , Tudor Ambarus , Subject: [PATCH v2] ARM: dts: at91: sama5d2: Fix PMERRLOC resource size Date: Tue, 11 Jan 2022 15:23:01 +0200 Message-ID: <20220111132301.906712-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_052307_858752_8F573F09 X-CRM114-Status: UNSURE ( 9.46 ) 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 was set 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 and if 24 or 32 bit error correction was supported. Fixes: d9c41bf30cf8 ("ARM: dts: at91: Declare EBI/NAND controllers") Signed-off-by: Tudor Ambarus Cc: # 4.13.x Acked-by: Alexander Dahl Acked-by: Nicolas Ferre --- v2: - update commit description - Cc stable@vger.kernel.org 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 09c741e8ecb8..c700c3b19e4c 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -415,7 +415,7 @@ hsmc: hsmc@f8014000 { pmecc: ecc-engine@f8014070 { compatible = "atmel,sama5d2-pmecc"; reg = <0xf8014070 0x490>, - <0xf8014500 0x100>; + <0xf8014500 0x200>; }; };