Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp612749pxb; Tue, 5 Apr 2022 15:58:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwknS4LkMN+X8CBHZygYYhkdcvJqIg05eoclZU06Drgp0nXBN6QxoU4LcYzBnVR2JSz6sbK X-Received: by 2002:a05:6a00:13a4:b0:4fd:acb9:8ea4 with SMTP id t36-20020a056a0013a400b004fdacb98ea4mr5815931pfg.85.1649199516499; Tue, 05 Apr 2022 15:58:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649199516; cv=none; d=google.com; s=arc-20160816; b=TSxbdt4vqi4qX2g2RSSrPSJKMdRcrLQZq0IogAPnzgXdGMtwTAKTSbSjJAYCjBgoAv 66NlORQAyBjKn3IFzrynwnVqlE8UtIZDYqoDf5XIIRsfgCbNAdIdYUy3PR9TPwLnKv+1 c97e21EdZ9GRmKLeUwieSYb6dOSB9dZb22PgNEMf/6S9QbGoELc3QJNY4qjSMweTAsvw N0PpG8vkA78BinF11rLPH0Sry9rA95ps/OTTQ+9MCCR7ulWWeERPSTzPOE6F8wVCLYHg 9lbcpkpC90EM/s4c99uTEiSlVoAER4wI1Cypy+CoKpQ91SLl1unF1SqU6HL3PYcMEaAz sIOA== 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=11bXqi7Nk/OQvPRUS0v5E3nZWP/nCV++tFY+lXyqV4I=; b=ExMP4OHzD7L8kefUH22iVRZtje/ikXnYoifqqgjCTujggWR0+dxoWBrytK330lr2Lz NYSujuv5xoyyHjeDpYnCsUC+/8trA1B1KCqb75nTd4W1/OrnR1AEQIr/BDdzUFAoszkL Ai0WzB7Ecxnx60iEpywQ4uzllfrBJ40vtvpwK4Tyo4OuVLLhn2FEA/uppC8p9AqwdySz 0MSEEEAh4gsWEUlun8rP2haImxrlaUmCp8c3Ew7Jh0Tqbv1g6VbTSrwR4gypiiFDZHCJ 93+IRUe5l/woM1/GadQdk6IGG0Z4G5YVla5FDiKloT/lHye3Gu7foC+ZhcRY/rQOcTFL NLQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="BfaxsX/N"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k12-20020a170902ce0c00b001542767c478si13573644plg.342.2022.04.05.15.58.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 15:58:36 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="BfaxsX/N"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D231916F6E7; Tue, 5 Apr 2022 15:40:06 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382313AbiDEMER (ORCPT + 99 others); Tue, 5 Apr 2022 08:04:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244101AbiDEIvk (ORCPT ); Tue, 5 Apr 2022 04:51:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08689D1CFD; Tue, 5 Apr 2022 01:40:20 -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 ams.source.kernel.org (Postfix) with ESMTPS id 7947DB81C19; Tue, 5 Apr 2022 08:39:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C712CC385A0; Tue, 5 Apr 2022 08:39:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649147955; bh=EUPH0vkDEVeXCVAVBEpenWoJnK05JcGiufawvmrh8I0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BfaxsX/NMFlO7nyURaZNyK6rg+8dvysoBS5NSuWOscuJbiwdCApEqX9YutkNm2w6D WDlxKKcEQzaaOzQDeZaFZeVi19MdnbjHhBnD71KK6ZFTQ4DBktmdV78EIppDaUNuwc SOHPV/6ZPJcrrR7SpGHnK7dJ+kNfpHFJ9MxZnKL0= 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 5.16 0155/1017] ARM: dts: at91: sama5d2: Fix PMERRLOC resource size Date: Tue, 5 Apr 2022 09:17:48 +0200 Message-Id: <20220405070358.813382618@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@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=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 @@ -413,7 +413,7 @@ pmecc: ecc-engine@f8014070 { compatible = "atmel,sama5d2-pmecc"; reg = <0xf8014070 0x490>, - <0xf8014500 0x100>; + <0xf8014500 0x200>; }; };