Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1705720pxm; Thu, 24 Feb 2022 07:59:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyjhiDYTCtTgYhwZwMkkA42kkCLNU21PwzuD5vXLH0c++5bdoEFOlGs8zLIJQ3iTRyXjY4N X-Received: by 2002:a05:6a00:b84:b0:492:64f1:61b5 with SMTP id g4-20020a056a000b8400b0049264f161b5mr3471003pfj.52.1645718376245; Thu, 24 Feb 2022 07:59:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645718376; cv=none; d=google.com; s=arc-20160816; b=gWMSpsPdudFG1sf9iz6sQrnlgbm4p1laMGv1MQlDuMfKAE4YVn2C0vBjcIARV5K+Wx JUoY/79hPITBiXQk+jMAhpbGMrVU6ilUs3/3rpWLMgLqu4sGwltg+sh36bpy98KoHozM 0YwMvw/MoXMZktb8kJ3pP2zP42Z9z/KhnmaXUiR7I45sWbdWsP9JslxoFTB4eOOKNKtx OhFvj4LZYehDHcXC7s+6zZMrnhqn7bzgWQgl4kjq2u+uu6JR/I9dXwoh+X9UIuZVKEd4 A211LVP7oGKky610px4hResuVlgujbR8qd9J7MTP8Xpj2DljR3r/LS8rw5dPLuVYzz9n jvrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=Yv5s3njxvbD3vQWehk6Kw/TICeqdjsxYV8MgcfobJ08=; b=TRjHAvkaQ+IJo/S3rHLGCQ5OhWU1CZu9gZE/kYbyd8YK/Bgl6wro9JCq7VBh+iwNTN 2bLXnYnTq6K611KLH7jgUcg8txRRbdqYdeqSqpfZvh5JdTI4iFWwhjujt7CmYKQYIxLB wW68QTQXMYxBmLorjQEkbUR0sjtLMul6cYza+01CTzoT7dKeHVp8C6sACTRpQJBrmI7Y od3H6yT/7v1mymWteY0uMo4KopDpp7MUA+n+rDupMqW6RYr9GHNfFheBv8wjRCd4y14p thY6bg2p1rCQpyqeYI0MlXq5aECRQf6u6+yE+6bThc8ewdMmi0BmPWuJ5CBkzNgidOnK 2ZeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=GyETHluL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id 187si2473862pfy.87.2022.02.24.07.59.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Feb 2022 07:59:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=GyETHluL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0EBCD17ED89; Thu, 24 Feb 2022 07:59:02 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235181AbiBXPKl (ORCPT + 99 others); Thu, 24 Feb 2022 10:10:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231327AbiBXPKk (ORCPT ); Thu, 24 Feb 2022 10:10:40 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 444BD1E3764; Thu, 24 Feb 2022 07:10:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1645715408; x=1677251408; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=xkrAEAx1YKpwvvh2EnCWQXumUqwt7PlcAeQAJoahyvw=; b=GyETHluLMkjP/TkhKqdS0CmwSZ2Eu0sO/tQsWSLS1eE6sx96+FG5jVkT zcf6NtsqSyhpubEyxBeIy7dXVsEOIl/v5r54f+au2L0t/xiAba4mW7uQ0 9Z38Ly6qzcICqNb9CQ0cMd4yUIuzXwCCCeEUHHDnkPf6aTF95KdbR8BTm 0Oha4H/Q/EY1z3nIpDucVtfEoWsuChb+vk8RCMWhdjLmiC76lE2IurayD +Pr6xRJTuYmIHJlKSXNp+AU9Vy9rq6hUVc8OEwT0Ob6PnuirxVP5139kh +lASqBc+QRb1CIWlOSjt3dy8++STgusVz5fuD9ANzhOIx7388EgYvmqpQ A==; X-IronPort-AV: E=Sophos;i="5.90,134,1643698800"; d="scan'208";a="147156304" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa4.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 24 Feb 2022 08:10:07 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Thu, 24 Feb 2022 08:10:06 -0700 Received: from [10.12.73.51] (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; Thu, 24 Feb 2022 08:10:04 -0700 Message-ID: Date: Thu, 24 Feb 2022 16:10:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2] ARM: dts: at91: sama5d2: Fix PMERRLOC resource size Content-Language: en-US To: Tudor Ambarus , CC: , , , , , , , References: <20220111132301.906712-1-tudor.ambarus@microchip.com> From: Nicolas Ferre Organization: microchip In-Reply-To: <20220111132301.906712-1-tudor.ambarus@microchip.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 On 11/01/2022 at 14:23, Tudor Ambarus wrote: > 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: Nicolas Ferre Even if it's a fix, as we have this bug for a long time and that we are already at rc5 of the stabilization phase, I take it in at91-dt branch for 5.18 and not in another "fixes" batch. Best regards, Nicolas > --- > 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>; > }; > }; > -- Nicolas Ferre