From mboxrd@z Thu Jan 1 00:00:00 1970 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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E3E4FC433F5 for ; Sat, 15 Jan 2022 12:37:43 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 258488339D; Sat, 15 Jan 2022 13:37:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="clb7K6rr"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2AFD781277; Sat, 15 Jan 2022 13:37:39 +0100 (CET) Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AD59D81277 for ; Sat, 15 Jan 2022 13:37:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x830.google.com with SMTP id bp39so13584503qtb.6 for ; Sat, 15 Jan 2022 04:37:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=KLkQP8PF27gcMjUJ5kAKit1m08JXNgmHglY2/qyv1Do=; b=clb7K6rrmGwifmKQ6nKuG+ea85sW9PpjBSOaCYkMkY2giAQokKMQ68fiBK14nb5Mmp 3qWtZ4qNOY8Y9bqaAbSZWUwc6uxqlxzuueU0BRjackN0Z7Til7ZjfCsEjVNf5ALw6apO JyrDhp4gpPmktvZK3fUZLY7PHkqAosZCHoAmk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=KLkQP8PF27gcMjUJ5kAKit1m08JXNgmHglY2/qyv1Do=; b=kctRYfwlzCRT/kzit4cKrsuoyGQEh1yDuYXHhuoRqWIUxCAy7LzTdZk5VJc6FtyU+F i70rrnjZ8Ce8OpRJyaxAA/lY3LWbocyj/WXyqYio1DAPv3CUOInB51mGijFJtQSE2vnt XH/GWS01djjY32LaqquIuJ68CX4gqfgAkBt8DR4qgJ7Hmtmr6PETVkBt6EGNdtwtnga5 I6CXKd6jt4ZsoRnnXYItdRhqnmWuTaZ5Pphaf9YtlD1/bixlngEDxvK1gJFLzQE5Qf3G ONqDfz7lcnxePTiVqTvGNGJWulCPrDilc9Qx4BpwB+oPfFPv9DMxa8fT2ogeNFVQZsoX cCeQ== X-Gm-Message-State: AOAM531XkpEhkwgBCsm3P469hd7aMVQbnk1YvTMtefM5jsO5PWjlS3rA SAvGacblDCl7dsT+gnu6JQuJOA== X-Google-Smtp-Source: ABdhPJzMqM8bFLpOxO0o5JnAiULzM0jNeM6fm7/qbRx0kaC4q/lGBSZPPsBZvYo7/77MRldMnZGmGg== X-Received: by 2002:a05:622a:1055:: with SMTP id f21mr11007649qte.421.1642250254537; Sat, 15 Jan 2022 04:37:34 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-9533-0c51-a891-732b.res6.spectrum.com. [2603:6081:7b01:cbda:9533:c51:a891:732b]) by smtp.gmail.com with ESMTPSA id u6sm5246447qki.129.2022.01.15.04.37.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jan 2022 04:37:33 -0800 (PST) Date: Sat, 15 Jan 2022 07:37:32 -0500 From: Tom Rini To: qianfanguijin@qq.com Cc: u-boot@lists.denx.de, sean.anderson@seco.com, hs@denx.de, qianfan Zhao Subject: Re: [PATCH v4] lib: sparse: Make CHUNK_TYPE_RAW buffer aligned Message-ID: <20220115123732.GV9207@bill-the-cat> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZqnIZhlcedHMGsFf" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --ZqnIZhlcedHMGsFf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 16, 2021 at 09:35:38AM +0800, qianfanguijin@qq.com wrote: > From: qianfan Zhao >=20 > CHUNK_TYPE_RAW buffer is not aligned, and flash sparse images by > fastboot will report "Misaligned operation" if DCACHE is enabled. >=20 > Flashing Sparse Image > CACHE: Misaligned operation at range [84000028, 84001028] > CACHE: Misaligned operation at range [84001034, 84002034] > CACHE: Misaligned operation at range [8401104c, 8401304c] >=20 > Fix it >=20 > Signed-off-by: qianfan Zhao > Reviewed-by: Sean Anderson Applied to u-boot/master, thanks! --=20 Tom --ZqnIZhlcedHMGsFf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHiwAUACgkQFHw5/5Y0 tyx/gQv+N96vmzkhBW4OIJiEZqISFJEm3Y2iF/BvfBFeoTPbiir6U6iwGK64CIb5 t3lBzpRQ0a+qPWZy8DfoZlOB42CT33T3Pcsj66jP/UgkpizBdU21Nr3mBp2wdP30 9B/zEa+ufnDX8pZN9Vf1khL9/R8t66LihS8VwG9cpciOMCPLAQm8Xmh1k8s4jNS3 zxls/FYr1q3JePRnhBi5+W2zVZi2APTOpPxbEb/D/4912OPSvCiAm4S24XrWgHNv uCFBrTo+tu3wWF5GoGDIoSHxELgAoRRRIlCCvtiVEy+7wQ2tu/oGaccGu8gTj7ft y15Tdx5TEkVn+Mqn8YceX1g6KFucRceDzpqsgL2IBwwtxOJbjaqFw1GHFOFaufPY k6Z5nnXD7+n97rc0ltu0umVVBbhIbMAPBwLZUTf4raCggHfVio0Prp44hoGwO5uY K3mQX+L+MR+zfpHFYGHJVa2F5eER+9sFjeYRN5Q1jWp7nBEjymPv2fBjpzwqwkwU /nPpnNBa =CgHC -----END PGP SIGNATURE----- --ZqnIZhlcedHMGsFf--