Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2880115rwl; Fri, 6 Jan 2023 12:08:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXtgVNGM4nmpaTWO4AaXl/hdNzBHhXAH1UqH+4sr4Z0cDAsVTURY6q1TJbW3mEL3K1SAl6+v X-Received: by 2002:a05:6a20:3b27:b0:ad:5747:a507 with SMTP id c39-20020a056a203b2700b000ad5747a507mr61212832pzh.3.1673035719246; Fri, 06 Jan 2023 12:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673035719; cv=none; d=google.com; s=arc-20160816; b=NOP7ml5gT8Gf/bK1E/HeBy4O++u0RC9ACzFOQ+AG9/A1HPoJsDnhizwHP6CeP1p/8D ytPVBEZZeyhKeDT5LpH+eUdqWaJufPvThje4in+R4reILFbl4hGOT8Sl5Isub1mSjgRk T2/DkWxvvCG/Khi/bK0CtXiOjNsFx8vLH7g0vYCg8A94iBz0KMI7CyV1oFodpAcokxed yl5aCPcqp0Uf+m+hbddrjJOy0t+0f3al9U71syH+3jRQssLErn3BBp6/Rq4pZt7blH6R s67WjC0awQs5trHsapfgKXWFi2XsAneqgJGVDutxaWqzDOrULj0pal3XXR5qHSDbMAPx buqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=E/4GKX0ghAjcZkdUSSpvy494qIcXgO/rnY2uaih4USE=; b=VTz83ZvWqGS8lOt7s/9uBnk46CQ5Q1nWEfQGUcCH54NsrhQtNmrwQG3a0rKUqwuJMj 57QOKqWeBsMdhl3TUt2Uu/tvGUgRPC6f7zzagAfLwn5UHvhBw2t8WnqtIdM8eO3iap6P RJEhKcePsFkyWoZHZs/0sYNPcdvf33aJc87lXU4oy+XUbDf8jlvkbxKZLSxvZX6P3UG7 sfN/v8rR6lth5uH+h8Lp2n3lGHvAWFfpgKC3E1pjtMVq8iHv6PHY8CxancqB41/kRz4h xzwSV1azyMRfWeYDz9J4Oe0VDBniMpe6xMmj16rHYHkTGQba+S16WwmhJY9eowzHTGRZ PoOA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a63d00d000000b0047702d2fe08si2155227pgf.493.2023.01.06.12.08.32; Fri, 06 Jan 2023 12:08:39 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235751AbjAFTet (ORCPT + 54 others); Fri, 6 Jan 2023 14:34:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235748AbjAFTeo (ORCPT ); Fri, 6 Jan 2023 14:34:44 -0500 X-Greylist: delayed 1140 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 Jan 2023 11:34:41 PST Received: from 19.mo550.mail-out.ovh.net (19.mo550.mail-out.ovh.net [178.32.97.206]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63C3C76813 for ; Fri, 6 Jan 2023 11:34:41 -0800 (PST) Received: from director9.ghost.mail-out.ovh.net (unknown [10.108.4.132]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id C466C23D85 for ; Fri, 6 Jan 2023 19:15:39 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-2mh8d (unknown [10.110.208.218]) by director9.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 997A81FEE4; Fri, 6 Jan 2023 19:15:39 +0000 (UTC) Received: from RCM-web4.webmail.mail.ovh.net ([176.31.235.81]) by ghost-submission-6684bf9d7b-2mh8d with ESMTPSA id ELr3I1tzuGO5GwAAZ2D+lg (envelope-from ); Fri, 06 Jan 2023 19:15:39 +0000 MIME-Version: 1.0 Date: Fri, 06 Jan 2023 20:15:39 +0100 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: Srinivas Kandagatla Cc: INAGAKI Hiroshi , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] nvmem: u-boot-env: align endianness of crc32 values In-Reply-To: <57f10c5d-2a71-7f8d-e2ab-6e868d8ba79b@linaro.org> References: <20221012155133.287-1-musashino.open@gmail.com> <57f10c5d-2a71-7f8d-e2ab-6e868d8ba79b@linaro.org> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: rafal@milecki.pl X-Originating-IP: 194.187.74.233 X-Webmail-UserID: rafal@milecki.pl Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 8312237537736436699 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrkedtgdduvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepggffhffvvefujghffgfkgihitgfgsehtjehjtddtredvnecuhfhrohhmpeftrghfrghlucfoihhlvggtkhhiuceorhgrfhgrlhesmhhilhgvtghkihdrphhlqeenucggtffrrghtthgvrhhnpefhvefhgfffheegveeujeduveekvdevkeefvddvfeduuddvgfdukeeugeffvdduffenucffohhmrghinhepghhithdrnhhofienucfkphepuddvjedrtddrtddruddpudelgedrudekjedrjeegrddvfeefpddujeeirdefuddrvdefhedrkedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorhgrfhgrlhesmhhilhgvtghkihdrphhlqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS 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 Hi Srinivas, On 2022-11-11 18:41, Srinivas Kandagatla wrote: > On 12/10/2022 16:51, INAGAKI Hiroshi wrote: >> This patch fixes crc32 error on Big-Endianness system by conversion of >> calculated crc32 value. >> >> Little-Endianness system: >> >> obtained crc32: Little >> calculated crc32: Little >> >> Big-Endianness system: >> >> obtained crc32: Little >> calculated crc32: Big >> >> log (APRESIA ApresiaLightGS120GT-SS, RTL8382M, Big-Endianness): >> >> [ 8.570000] u_boot_env >> 18001200.spi:flash@0:partitions:partition@c0000: Invalid calculated >> CRC32: 0x88cd6f09 (expected: 0x096fcd88) >> [ 8.580000] u_boot_env: probe of >> 18001200.spi:flash@0:partitions:partition@c0000 failed with error -22 >> >> Fixes: f955dc1445069 ("nvmem: add driver handling U-Boot environment >> variables") >> >> Signed-off-by: INAGAKI Hiroshi >> --- > > Applied thanks, has this patch been lost somewhere in the process? I'm quite sure I saw it in linux-next.git and probably in nvmem.git. Now it seems to be gone.