From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932747AbbJPTIl (ORCPT ); Fri, 16 Oct 2015 15:08:41 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:52694 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751681AbbJPTIj (ORCPT ); Fri, 16 Oct 2015 15:08:39 -0400 From: Arnd Bergmann To: Austin S Hemmelgarn Cc: John Stultz , linux-kernel@vger.kernel.org, Colin Cross , Ulf Hansson , Adrian Hunter , Ben Hutchings , Chuanxiao Dong , Shawn Lin , Android Kernel Team , linux-mmc@vger.kernel.org Subject: Re: [RFC][PATCH] mmc_block: Allow more than 8 partitions per card Date: Fri, 16 Oct 2015 21:08:26 +0200 Message-ID: <8708065.t39NvS0r8j@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <56214A01.2030906@gmail.com> References: <1445020846-529-1-git-send-email-john.stultz@linaro.org> <56214A01.2030906@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:XwhLjR7Hx2AAeRU3l/FasLIX0p8rNhwxmQlHFPIWM5MACWYNUpF WqUdixrUvgc2vyQwVZT7/D4nQraUePs5HpCXKu99YHcMNOR/BFBh76pw9ycg6bkFxfNByOU ZVW7AErUOjALb1iLLwJOy4++Pp1tWjeiHAfcUxUVXZwQkfCKInh/QiLyFZ9Zrxf1KMFk6z4 qEXvBNfUXMYauIgOyH3nQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:F979EqdNNv8=:O20Nw7RN+oErPZLmwPIGPU 3Zlc3jUThu7KByz1IiW1uIeiv3nnKH6N5ujApDwziSVFO31Lyw7kheo0xBDzbuETjGd0+55dX Q/ZkmEDXDXVVxV+uCBYALgMptresyCo3aR/hW4tjyrAz1yQ3ViExAY7Owv6+gOkccB/MjBK05 zjne+ASiWih1TiPoT5IkKBaRngSOzXrE6Vhukpt2wUd7nQKIHdlt/yO4F3iurVWWpt5hH9x0L XZz/kUwTNAzzzGva3s3VjbNYO6pILWGp9K4SzvLkuoNCWZLB87zCNyxIrM1eERtMecVl/f4na NLEq9BAoc0wPt1J0cKGBrMOgJ+YtdhN8td6LOfYIqszaYIaUsu7kRVMwywgMpE53b9B0aWtqe ikQ9WUklCVnQ3Mv+2Zchp2RHxSLOD/vJfrg+XY3coCn2rJVJFYOiaGpCKu8EMk3yZzUKAXyre /peAOS4x3vzbKsu7XowkWNEBpLmyT/2jAQrOlMhqnvNN/8+u0FVBVaUgxE0KVNNSZM2kXM8V3 qCHpntUFKVgHrHPCx6Bovib/YwijhZVFD5IkpjWuY3tXYnvNbUkIg6jLEgYkkKGnsOQnvzEip 8ImlQ4J6FahzLFFTDfu8VDDyW4mD5vfBp8Rj1WBAZuQvvqABoMQO0axCX87m6FhSjK4c/T9Di yu2xFzWF8DemaHEByoK+o4TeJaLaoeGjAeJzbn3DeZGXitZHs5O4E3fEkrPzdLd3h0uci7Yr5 Wi6v3jvN+WWynHK4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 16 October 2015 15:03:29 Austin S Hemmelgarn wrote: > On 2015-10-16 14:40, John Stultz wrote: > > From: Colin Cross > > > > It is quite common for Android devices to utilize more > > then 8 partitions on internal eMMC storage. This patch, > > which has been carried for quite awhile in the AOSP common > > tree is necessary in order to support such configurations, > > so I wanted to submit it for consideration upstream. > > Isn't this what CONFIG_MMC_BLOCK_MINORS is for? It does limit you to > 256 minors total, and therefore the number of supported MMC's is equal > to 256/CONFIG_MMC_BLOCK_MINORS, but I've never heard of an Android > device with support for more than 4 MMC/SD cards (including eMMC's), and > I would seriously question anyone who has the need for more than 32 > partitions on the root device for a phone/tablet/television. The 256 minor limit is really arbitrary, we should not be limited by that, and you should have have to decide at compile time whether you might need many partitions or many devices, even if we believe that nobody will ever need both at the same time. Arnd