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 F06D0C433F5 for ; Sun, 8 May 2022 15:31:41 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C8B3D83F4A; Sun, 8 May 2022 17:31:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (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="JHQVOPCN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D597B83EC8; Sun, 8 May 2022 17:31:20 +0200 (CEST) Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) (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 B644283E96 for ; Sun, 8 May 2022 17:31:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x735.google.com with SMTP id e128so9236326qkd.7 for ; Sun, 08 May 2022 08:31:16 -0700 (PDT) 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=lYirX0iAuN84DJ+wGFdD998UznAMRCQ/zYgJy6xifk0=; b=JHQVOPCN8N/zXzCyJ9Zbr8Fls8nMgXmy+uu5nwSeH11sbvLxTddmIA9ryx8pzCdcQv iflIxG/i/2JfW0VO/w5yNhS/HxqFmqE+ekDLspHa8ev479z2M4/483eruoYh1qXSzI/w 3exK74+uFgwba/XvfHfzwpYupwhGaStGOjY4I= 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=lYirX0iAuN84DJ+wGFdD998UznAMRCQ/zYgJy6xifk0=; b=jYDtQdMbhM4pfGKetPFI88hMaX3oAP758DrOAVFqFjiYO7VGVD6UIQ87EUr0/Pij+T UnD6Yz/HfViw8cfu2hW1aXkNs01OeYb1lUfu64yme2EPAZgHWluqGrhBZoa8+jbYPv8J AI+NfRyUP9mjXecgFqVaEXEdFYRd/mMQPYiYrIjpSiU2/y31Sja8Cl4GQl9UCCsT0SRo hgvfLmIHDZ0AEKmHAfIcms2dwkqFO2lax+N/GUoIWbPmFXL1Km66uI3LbncTyV9ZMdqg AEeyxGrkQ0Zkjoqn1kiZKdV4nJg4xnxIePFuOksY70B/WBfSb4VFxK3c0LzGbrkoFRt3 mqQA== X-Gm-Message-State: AOAM532XqhOnlEHCuVPCMURIZMf180sGs2R364EGRSU2ZkATWDTxWDez eroHSjbs2BQ6tnThUq7hQ6pZhMoy7mO6Qg== X-Google-Smtp-Source: ABdhPJwdfAkmrf2NUstHDcxXcc0mRXpJBl5+J5dt80iAJI8P9HgJCJIYJuTFTrFgOjS71vqd4UVt9w== X-Received: by 2002:a05:620a:4551:b0:6a0:40d1:44df with SMTP id u17-20020a05620a455100b006a040d144dfmr8929024qkp.70.1652023875597; Sun, 08 May 2022 08:31:15 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b01-4500-6996-6c1f-8127-00b3.res6.spectrum.com. [2603:6081:7b01:4500:6996:6c1f:8127:b3]) by smtp.gmail.com with ESMTPSA id z188-20020a3765c5000000b0069fc13ce1fesm5653997qkb.47.2022.05.08.08.31.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 08:31:14 -0700 (PDT) Date: Sun, 8 May 2022 11:31:13 -0400 From: Tom Rini To: Philippe Reynes Cc: sjg@chromium.org, u-boot@lists.denx.de Subject: Re: [PATCH 1/3] disk: part_efi: add support to repair gpt table Message-ID: <20220508153113.GG3901321@bill-the-cat> References: <20220422154650.160435-1-philippe.reynes@softathome.com> <20220422154650.160435-2-philippe.reynes@softathome.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lQSB8Tqijvu1+4Ba" Content-Disposition: inline In-Reply-To: <20220422154650.160435-2-philippe.reynes@softathome.com> 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.5 at phobos.denx.de X-Virus-Status: Clean --lQSB8Tqijvu1+4Ba Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 22, 2022 at 05:46:48PM +0200, Philippe Reynes wrote: > If a gpt table is corrupted (after a power cut > for example), then the gpt table should repaired. > The function gpt_repair_headers check if at least > one gpt table is valid, and then only write the > corrupted gpt table. >=20 > Signed-off-by: Philippe Reynes Applied to u-boot/master, thanks! --=20 Tom --lQSB8Tqijvu1+4Ba Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmJ34kAACgkQFHw5/5Y0 tyz3TAv/TvNsqxaXLygGklCZ1nyQeje5uOUHWhZJTDvQ/IU5fV6K/gpI8vJiyfsu iZZXfN0pdOdiMIAPP/YqOUOHUhDHeYnkOAQEfFuQEwa5afVPVZAUvq39i+1842hr dCXbte0E7iuVkq+V5CItdU7tqMG32/flkdaJUCDVZMvqlXCZr9YxQ5MtKWSDj6+c MzIsnn1E2jbcSjnaZvENP3TEE07u1FUfd9DTyGtx0oyMu9zMPeUxrOBO1oxKCjt3 uOQflp9FwGmIBy4hDcQoVw/bP1BPcZGtB7Qs2CVmTVCU43JLLuFYnGwTCDLgsW9B JqzXT0Z7MsInNCGQMhYgqKITwgrIioNJ4evuhckp66o1pXSuXL5jTkB/Jjnee4QG 9f+eBKDbflXWlUf35v7IjUaogzf7YUpk7c7XV2z7LSDY00xTktcCjhI1oP1e2dIm T+zK1Ovox7xSAY4UiYVBQzbUFfV4ilKwhoiFnRI5Z1/v45CIGxkerCCuHjzrWAPX YxQrHjmX =40hO -----END PGP SIGNATURE----- --lQSB8Tqijvu1+4Ba--