Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4028697pxb; Tue, 19 Apr 2022 15:20:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+ytvOkAF+YttHOXV8oJHiBqKTVi5kAnL+unyQYjU4LiCCeKtiY4BglWoMsYSZgP1YUoGh X-Received: by 2002:a17:907:6095:b0:6e7:cc3f:c33d with SMTP id ht21-20020a170907609500b006e7cc3fc33dmr15829083ejc.570.1650406846501; Tue, 19 Apr 2022 15:20:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650406846; cv=none; d=google.com; s=arc-20160816; b=q1MrwxQdcst7603Cuew/vfdNVUhyRMU5CODjhjqBC/3HpPjEHH+c9aS7yNyKZOFj1h x/Wv2MIWxgjwFzLiBN1QzqkzNggorTVThol4z6jhIEkLD0YQwIG6EBle7rJWjwLUDx3F hNoaGX6mOE6zF6ZinACMBmOiHlN9Odv9y4eAzjk87UPTjWd0CqkFoxVAgpOuDYlWcUiT n2NgkQfN9ux2u/TSv0uLalIFBIVvahBN00UTMWNXHxWr+o9aV6mvAFWBDHuFnD7zQsOV prq+S5qPOe8Y8B8kVNiyiMBBpDNDahdVozyBspbAufdk3x8tu3B85il6edrjcOyYTVNd WfGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RLZNryuabrtQgb+tdn2zZ5cgs6dwScH2Sx2Ao11uXCM=; b=Yc9kglEy8VfGh9VfOzXCdJQ6hz3k9eIzOmicND3Zwl+kdE/iHlnEcmvO6fyLsBpqIl pqP4v/8Ll+i7K3Q2sTGvsnGs+EXkYFJvi5bBhDlDP+927hht4+fqx6/OuzLw2bgI3WVu kb4jhkJ6RgRLGwhW/VbVinQ1xYIxIIuSZSqkimyTsY2r6LrqE1W2zQHcRV16LsHCDpT2 318ZST1JlxEep9da55bFbGp8Tfv+v5wU4ScBDhEtXpokuFpP1Sd21WAiD5fxyuT1UDAj cik/qJkrTUIxhY7szGR6/eAsXmgLlEfzeEUfAMfTe1a6I/5L2Y1yEu+O7oUfFGbLR27P HI+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A122Eymk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v4-20020aa7d804000000b0041d82c28710si106348edq.102.2022.04.19.15.20.21; Tue, 19 Apr 2022 15:20:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=A122Eymk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243410AbiDRNlh (ORCPT + 99 others); Mon, 18 Apr 2022 09:41:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242044AbiDRNNS (ORCPT ); Mon, 18 Apr 2022 09:13:18 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 542362DA9C; Mon, 18 Apr 2022 05:50:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8E5B861256; Mon, 18 Apr 2022 12:50:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4184C385A1; Mon, 18 Apr 2022 12:50:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650286258; bh=64WSwsWMU/xKi1MR4L5fR0tWrt3NkgAciY9O3eHCo/U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=A122EymkK11CdiN3Vr0/DTGUjvPYbA9gT1J8CCgPuqVMb8DjGyHx3zrmUUbeViiT+ QeMyrT9VVDe4l+F56hLou0vuZnmjCSJtaeeDiND2WVHrO1t2wg/Tx3v4+K6+U7Z2Yt IAuT+PXB+CSgBle+YAckHt8krlpclGLCz9igWgFs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Tudor Ambarus , Alexander Dahl , Nicolas Ferre Subject: [PATCH 4.14 041/284] ARM: dts: at91: sama5d2: Fix PMERRLOC resource size Date: Mon, 18 Apr 2022 14:10:22 +0200 Message-Id: <20220418121211.862607178@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121210.689577360@linuxfoundation.org> References: <20220418121210.689577360@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tudor Ambarus commit 0fb578a529ac7aca326a9fa475b4a6f58a756fda upstream. 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 Signed-off-by: Nicolas Ferre Link: https://lore.kernel.org/r/20220111132301.906712-1-tudor.ambarus@microchip.com Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/sama5d2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -1121,7 +1121,7 @@ pmecc: ecc-engine@f8014070 { compatible = "atmel,sama5d2-pmecc"; reg = <0xf8014070 0x490>, - <0xf8014500 0x100>; + <0xf8014500 0x200>; }; };