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=-11.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 6BE8FC4338F for ; Tue, 17 Aug 2021 16:10:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3FE3660FD7 for ; Tue, 17 Aug 2021 16:10:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbhHQQL0 (ORCPT ); Tue, 17 Aug 2021 12:11:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbhHQQL0 (ORCPT ); Tue, 17 Aug 2021 12:11:26 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF68BC061764; Tue, 17 Aug 2021 09:10:52 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id c12so20869671ljr.5; Tue, 17 Aug 2021 09:10:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=yyX1HSJoePfipXEb9F66mZCvJChBwNJmKPys8q0f9Fs=; b=npIq5/LDQP5+2vNnQKqbnWNdgGOI9OoduGUC3hai/dTyL4g/GXaFb6YD381/+njoU6 VMauIBciVFEKt/6TfSIS6z91arSlO7Rhy0/mYwLg2fod4SjDFIZ96b80XWVI+xm8L7XN 9TkuTUdlK2dJy2xMabMNRdwQyxxLjoX1xpxPbN26GDqSAQYEBfwFzaLNxg2CyyftgANr 111jhPKwuj4+sdRZjBpdBj4CYFsPvFQ9ZW0jbQRvPvVtnbbRvGmFx7cf7+qSjGbsH3qu XdoDFSR0SJ1kHsRXzJ9Sa0HEn0aNljWoY+lwoYLXhJ1hYZq6s6UOGGGyz+dBeNj0oi2o V1oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yyX1HSJoePfipXEb9F66mZCvJChBwNJmKPys8q0f9Fs=; b=HnrvskZqrzFfb00D/iM3AmZSJytQb0f3CmDMEfkqXL9/weEB/3A6jqaYyiCoCoPZGx WmKVf/bYmAyZvTuS+5p0Mew8hl8HbRc+habGbqXDalCnGNIP+6arnh5GZPKh5+SXNF82 fA8Jozf5Q5+9zQZO0/nrxL5UY/4Gd908y3RL4ZL6b/FlFlvYi0AY8Od3OixpqMucNa+R Ji/IcI3/dgHlmuqH/OCJ3VstKWjJURc8KKqOBifx/rhdC8UGQC7J8pMcGGWndttCU1zx Frh789ru4Y87FncEBACioyEavUCjHlZOsssjzQ6UJoxLjzfLqEELDcOI6mvyn0zXoJZ1 N4sg== X-Gm-Message-State: AOAM531abShU1QpG0e4qbvzy+/gEnPk/R/2HSv1ZltEmR4TN6CVlyiZm IAubbCd/IqIMX2MV1Lss1wwWXMsvULg= X-Google-Smtp-Source: ABdhPJwGqCaSb5BQ6KVd8e5B9kPAbANdDr6oepsSX/sRDv/tey4o6g7efbRotz4SyGd+m35SLhstsg== X-Received: by 2002:a05:651c:2105:: with SMTP id a5mr3981948ljq.259.1629216651094; Tue, 17 Aug 2021 09:10:51 -0700 (PDT) Received: from [192.168.2.145] (46-138-85-91.dynamic.spd-mgts.ru. [46.138.85.91]) by smtp.googlemail.com with ESMTPSA id f1sm230462lfs.44.2021.08.17.09.10.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Aug 2021 09:10:50 -0700 (PDT) Subject: Re: [PATCH v4 3/3] partitions/efi: Support NVIDIA Tegra devices To: Thierry Reding Cc: Jens Axboe , Jonathan Hunter , =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , David Heidelberg , Peter Geis , Ulf Hansson , Adrian Hunter , Christoph Hellwig , Davidlohr Bueso , Ion Agorria , Svyatoslav Ryhel , linux-tegra@vger.kernel.org, linux-block@vger.kernel.org, linux-efi References: <20210817013643.13061-1-digetx@gmail.com> <20210817013643.13061-4-digetx@gmail.com> From: Dmitry Osipenko Message-ID: Date: Tue, 17 Aug 2021 19:10:49 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org 17.08.2021 17:11, Thierry Reding пишет: > On Tue, Aug 17, 2021 at 04:36:43AM +0300, Dmitry Osipenko wrote: > [...] >> diff --git a/block/partitions/tegra.c b/block/partitions/tegra.c >> new file mode 100644 >> index 000000000000..4937e9f62398 >> --- /dev/null >> +++ b/block/partitions/tegra.c >> @@ -0,0 +1,75 @@ >> +// SPDX-License-Identifier: GPL-2.0 >> + >> +#define pr_fmt(fmt) "tegra-partition: " fmt >> + >> +#include >> +#include >> +#include >> +#include >> + >> +#include >> +#include >> +#include >> + >> +#include >> + >> +#include "check.h" >> + >> +static const struct of_device_id tegra_sdhci_match[] = { >> + { .compatible = "nvidia,tegra20-sdhci", }, >> + { .compatible = "nvidia,tegra30-sdhci", }, >> + { .compatible = "nvidia,tegra114-sdhci", }, > > I know of a couple of OEM devices using the above SoCs that support this > alternate GPT sector mechanism... > >> + { .compatible = "nvidia,tegra124-sdhci", }, > > ... but I'm unaware of any using this. The only one that I could imagine > employing this quirk is the SHIELD Tablet K1 (a.k.a. ST8), but I thought > it had been changed on that device already. Do you know specifics? Nexus 9 tablet (T132) needs that.