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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 906B5C432BE for ; Wed, 18 Aug 2021 05:23:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67D4D610A0 for ; Wed, 18 Aug 2021 05:23:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234141AbhHRFYP (ORCPT ); Wed, 18 Aug 2021 01:24:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34608 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229768AbhHRFYP (ORCPT ); Wed, 18 Aug 2021 01:24:15 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09731C061764; Tue, 17 Aug 2021 22:23:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=j7wnjfg3XGnUoaxd6WvLIghvLlyj31dNMsW6MgXpyAU=; b=SABWEzechneXfKNd5kV/s4sI64 e8II4QLox1Qv1ezGUXX5zbXAwK6m2uwK+cL9DYZ1W5WfVqbuWFgGO2e5yOiNNRQW9QdGNKOWTcwo+ BiamgsWHTrtlr+7DMM2yxNfB1GEVRfCV2C+6IbCuiBAF9PzNs4RW6/+0KP2Ws4SGtYwmB58vPraMg wLiAQRE7OHO6iOr3l6+KQtwZrrlfizWHt/aBOcK8m3ztdwJT5j1w74Wan8ubQZzFq7RwtSGWmqa8b 7LNiwvr/77Pef+QGj80MAv9tASO2DTRniv1B81zak9wU+2pMGwTl/CYdHtztWYKwL1CrqxpB2VM8V S+/OqJ7A==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mGE0O-003Miu-Jl; Wed, 18 Aug 2021 05:21:08 +0000 Date: Wed, 18 Aug 2021 06:20:48 +0100 From: Christoph Hellwig To: Dmitry Osipenko Cc: Jens Axboe , Thierry Reding , Jonathan Hunter , Micha?? Miros??aw , David Heidelberg , Peter Geis , Ulf Hansson , Adrian Hunter , Christoph Hellwig , Davidlohr Bueso , Rob Herring , Ion Agorria , Svyatoslav Ryhel , linux-tegra@vger.kernel.org, linux-block@vger.kernel.org, linux-efi Subject: Re: [PATCH v5 1/5] block: Add alternative_gpt_sector() operation Message-ID: References: <20210818005547.14497-1-digetx@gmail.com> <20210818005547.14497-2-digetx@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210818005547.14497-2-digetx@gmail.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Wed, Aug 18, 2021 at 03:55:43AM +0300, Dmitry Osipenko wrote: > Add alternative_gpt_sector() block device operation which specifies > alternative location of a GPT entry. This allows us to support Android > devices which have GPT entry at a non-standard location and can't be > repartitioned easily. Probably worth adding a little comment explaining this rather odd operation.