public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] ubi: provide a way to skip CRC checks
Date: Tue, 17 Sep 2019 07:37:43 +0200	[thread overview]
Message-ID: <e6da9cb3-0731-0d64-e974-84071d3867b0@denx.de> (raw)
In-Reply-To: <20190912144103.17261-1-sr@denx.de>

Hello Stefan,

Am 12.09.2019 um 16:41 schrieb Stefan Roese:
> From: Quentin Schulz <quentin.schulz@bootlin.com>
> 
> Some users of static UBI volumes implement their own integrity check,
> thus making the volume CRC check done at open time useless. For
> instance, this is the case when one use the ubiblock + dm-verity +
> squashfs combination, where dm-verity already checks integrity of the
> block device but this time at the block granularity instead of verifying
> the whole volume.
> 
> Skipping this test drastically improves the boot-time.
> 
> Adapted to U-Boot by Stefan Roese.
> 
> Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Quentin Schulz <quentin.schulz@bootlin.com>
> Cc: Boris Brezillon <boris.brezillon@bootlin.com>
> Cc: Heiko Schocher <hs@denx.de>
> ---
>   cmd/ubi.c                   | 25 +++++++++++++++++++------
>   drivers/mtd/ubi/kapi.c      |  2 +-
>   drivers/mtd/ubi/ubi-media.h |  6 ++++++
>   drivers/mtd/ubi/ubi.h       |  4 ++++
>   drivers/mtd/ubi/vmt.c       | 12 ++++++++++++
>   drivers/mtd/ubi/vtbl.c      |  3 +++
>   include/mtd/ubi-user.h      | 18 ++++++++++++++++--
>   7 files changed, 61 insertions(+), 9 deletions(-)

Patch look good to me, queued until next merge window opens.

Reviewed-by: Heiko Schocher <hs@denx.de>

bye,
Heiko


-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de

  parent reply	other threads:[~2019-09-17  5:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-12 14:41 [U-Boot] [PATCH 1/3] ubi: provide a way to skip CRC checks Stefan Roese
2019-09-12 14:41 ` [U-Boot] [PATCH 2/3] ubi: Print skip_check in ubi_dump_vol_info() Stefan Roese
2019-09-17  5:39   ` Heiko Schocher
2019-10-16  8:59     ` Heiko Schocher
2019-09-12 14:41 ` [U-Boot] [PATCH 3/3] ubi: Add "skipcheck" command to set/clear this bit in the UBI volume hdr Stefan Roese
2019-09-13 21:11   ` Andreas Dannenberg
2019-09-17  5:45   ` Heiko Schocher
2019-09-17  5:54     ` Stefan Roese
2019-09-17  5:37 ` Heiko Schocher [this message]
2019-10-16  8:59 ` [U-Boot] [PATCH 1/3] ubi: provide a way to skip CRC checks Heiko Schocher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6da9cb3-0731-0d64-e974-84071d3867b0@denx.de \
    --to=hs@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox