Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp28677ybh; Fri, 6 Mar 2020 15:12:19 -0800 (PST) X-Google-Smtp-Source: ADFU+vsJjim/DS7Wx1wmSpIrroMM/gTgY7I+wHQaIBbxdpbG9HXZGMfFqMXS8Jg613lmOu0GeiuZ X-Received: by 2002:a9d:6655:: with SMTP id q21mr4328164otm.70.1583536339406; Fri, 06 Mar 2020 15:12:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583536339; cv=none; d=google.com; s=arc-20160816; b=OBeq82dXg6/jbYL25v78xQ1973oTxlvC1Ky6BOJBLECf2fSsn3tDoZmXAWCyQWbEP3 UpCz32Fr9eEVeZ118lKjtbsTQwpeynYnHxtbhj2XKo9EprXZ3UtrWufRwY5tc5RC2dsB EWgCzO+vegKKCUZ62gJ0d8k/e/WBdf1CaIlZDRgSmFoZ7jSmPZy1YmrXn5F9dzGwWPQT zRtnWoVhr8/KNEDuPggS6VH++ftZYTZCVEqwl4tELxpHfbue84Ij/pJ/cf+u42a/dwcv +vM4A2h6COX307R7nbydjoF+MQwx9aZnClf1y/DQisWTsAjZMLCfKABkwjyx0/0qgMjC 9h5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gK0NIKisFWdsMrtmzgYZAFdeJlOFf5qgx10lmxvVCTk=; b=q7dhH9rRdtVSE1OFDjzXV8SQg6gskvwcnj2lz5XvuypfrBX7v6f/qbU/F5uwQ7orfV 9epZ5h5df46MY1B4joqN4zrn7NrutgGSwsaNm8zAMMlCEP4YNVCeVRQLHnPEHq6zlpI5 clLmOyKXu8ERageA1CoBif7zfEIlfazvYL3fokTSNx8lSTr9yU2QC4DUZrX9FfO7K5K2 IRF9DPN9NhTIJ4UZWw1fy5l86oErG/CUfXfnxSdIJYae1/qNlQgQrHSQ2qdwJeDw3H18 FqBJ7jRINe/9+w+SKDTKuqRa1aTlQ21eBEg7rO3GUb24JiHm5sbBSxlsygE95j5pQYg7 9TZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mm+uJf+5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b20si461975oic.136.2020.03.06.15.12.07; Fri, 06 Mar 2020 15:12:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mm+uJf+5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726485AbgCFXLw (ORCPT + 99 others); Fri, 6 Mar 2020 18:11:52 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:34960 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726162AbgCFXLv (ORCPT ); Fri, 6 Mar 2020 18:11:51 -0500 Received: by mail-lj1-f196.google.com with SMTP id a12so3937129ljj.2; Fri, 06 Mar 2020 15:11:49 -0800 (PST) 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=gK0NIKisFWdsMrtmzgYZAFdeJlOFf5qgx10lmxvVCTk=; b=mm+uJf+5ympFMJq5u0MTaFeFHYjmBfZeImyavE70t/lDjr1oUEtoWnjUjTC52tUIKo sT2B6YDOr/QwJUwqv5+X0gcLScFHMNGmFM+lqGJ/1Leoa9oeqZ6rHvxIH6q2BQ5T55wx Q85DZ8VKJGuWWrGd3PH1KTlVn9nHz4FU8HQBFVjN1rsr+ezX1fOxlcXvcZvrH4gs7uPT /ccVrZxuVeKsXkk3VRXqAaR7RCuYWBG5I8/JAir3AIUw5GPXEhdw9UAjv1W0Km0rWVrW ZqIjouiLqRzVErbhCj+APOhqnoE/Zt9mSHDPb80/ZgDj0aIGlPKiCy9OFfcbqHf1DjsR XmEA== 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=gK0NIKisFWdsMrtmzgYZAFdeJlOFf5qgx10lmxvVCTk=; b=dDSTvd9K5VpYGWqx4BA6d5culwJSa0FW9J5mYPhs+1uOKongJd720Q8aIE75M5RnYh drc6wEgSArnG3n+5yt7lv9/V2t6JzBAJMXwc0O8vCNxgjc93DVuL49dt5/PZx+zTP+JB xO/dXkff38N7i5fLzQWWufXkP6U+thaG8L88PHuD/JqZpc7JaO32lppgHYpumHnFIRcL yoQJlZ6gbfmXZyA+Op4/EqJ4bB02Qtcf8736MnRh1L5KN0IZkDGKCtcuoUE9CY/ZJGbG gZuMfdl4/3sf+s/bqmkk9uwKWsDdF0dlR4P5yJSbBgKvVJIassGKPSVIS0ROoTkpgYln 5+Zw== X-Gm-Message-State: ANhLgQ2Jwqhz+s4cxFVk9cYlX75zmpmk2kl3PgEKXuJC5DVuyI/n/EUp by6offpk3ltaShBlTn4+uxEogJW4 X-Received: by 2002:a2e:6a08:: with SMTP id f8mr3412182ljc.76.1583536308523; Fri, 06 Mar 2020 15:11:48 -0800 (PST) Received: from [192.168.2.145] (94-29-39-224.dynamic.spd-mgts.ru. [94.29.39.224]) by smtp.googlemail.com with ESMTPSA id n26sm16610009lfi.5.2020.03.06.15.11.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Mar 2020 15:11:47 -0800 (PST) Subject: Re: [PATCH v1 3/3] partitions: Introduce NVIDIA Tegra Partition Table To: Ulf Hansson , Stephen Warren , Jens Axboe Cc: Thierry Reding , Jonathan Hunter , =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , David Heidelberg , Peter Geis , Nicolas Chauvet , Adrian Hunter , Billy Laws , linux-tegra , linux-block , Andrey Danin , Gilles Grandou , Ryan Grachek , "linux-mmc@vger.kernel.org" , Linux Kernel Mailing List References: <20200224231841.26550-1-digetx@gmail.com> <20200224231841.26550-4-digetx@gmail.com> <44c22925-a14e-96d0-1f93-1979c0c60525@wwwdotorg.org> <824a4d5f-8280-8860-3e80-68188a13aa3d@gmail.com> From: Dmitry Osipenko Message-ID: <6047f07b-c0af-08c8-90d1-79a0d880e0a2@gmail.com> Date: Sat, 7 Mar 2020 02:11:46 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 06.03.2020 16:37, Ulf Hansson пишет: ... >> >> Technically, it should be possible to chain-load some custom secondary >> bootloader instead of a kernel image, but this is not very practical >> because now: >> >> 1. There is a need to make a custom bootloader and it is quite a lot of >> work. >> >> 2. You'll have to tell everybody that a custom booloader may need to be >> used in order to get a working eMMC. > > Yeah, I get the point. It's not an optimal situation, but I assume > it's about informing developers. They can cope with this, no? Perhaps no, it's not only about the informing. The need for a custom bootloader creates other inconveniences because: 1. It won't be possible to boot a vanilla upstream kernel using Android's "fastboot boot ..." without applying extra patches to kernel for the partition table support. Advanced users usually tend to use fastboot and it's also very useful for a regular development purposes as well. 2. Somebody (a developer / advanced user) will have to create a custom bootloader for each device in the first place. This is not what an average person will be able to do and there are not that many developers who would want to dedicate theirs time to this. 3. The entry barrier for upstreaming Android devices support to the kernel is already quite enormous. Adding extra hurdles isn't a step into the right direction, IMO. >> 3. NVIDIA's bootloader already passes a command line parameter to kernel >> for locating GPT entry, but this hack is not acceptable for the upstream >> kernel. > > Well, I am just worried that we will end up with one partition format > per vendor/product, that wouldn't scale very well. > > In any case, from mmc point of view I am less concerned, we can find a > way to support the needed bits. I just need to review the series more > carefully and provide some comments. :-) > > However, before I do that, I would like to hear Jens opinion about > adding a new partition format, so I don't waste my time here. Sure, no problems :) Let's wait for the comments from Jens.