2014-10-09 08:33:40

by Georgi Djakov

[permalink] [raw]
Subject: [PATCH] ARM: qcom: Increase MMC_BLOCK_MINORS in defconfig

There are currently more than 16 partitions on the eMMC of all recent
Qualcomm devices. Increase the number of minors per block device to
detect all available partitions.

Signed-off-by: Georgi Djakov <[email protected]>
---
arch/arm/configs/qcom_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig
index 8c7da33..cd09e12 100644
--- a/arch/arm/configs/qcom_defconfig
+++ b/arch/arm/configs/qcom_defconfig
@@ -125,7 +125,7 @@ CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_DEBUG_FILES=y
CONFIG_USB_GADGET_VBUS_DRAW=500
CONFIG_MMC=y
-CONFIG_MMC_BLOCK_MINORS=16
+CONFIG_MMC_BLOCK_MINORS=32
CONFIG_MMC_ARMMMCI=y
CONFIG_MMC_SDHCI=y
CONFIG_MMC_SDHCI_PLTFM=y
--
1.7.9.5


2014-10-09 14:44:59

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] ARM: qcom: Increase MMC_BLOCK_MINORS in defconfig

On Thu, Oct 9, 2014 at 1:33 AM, Georgi Djakov <[email protected]> wrote:
> There are currently more than 16 partitions on the eMMC of all recent
> Qualcomm devices. Increase the number of minors per block device to
> detect all available partitions.
>
> Signed-off-by: Georgi Djakov <[email protected]>

Good stuff.

Reviewed-by: Bjorn Andersson <[email protected]>

Regards,
Bjorn

> ---
> arch/arm/configs/qcom_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig
> index 8c7da33..cd09e12 100644
> --- a/arch/arm/configs/qcom_defconfig
> +++ b/arch/arm/configs/qcom_defconfig
> @@ -125,7 +125,7 @@ CONFIG_USB_GADGET=y
> CONFIG_USB_GADGET_DEBUG_FILES=y
> CONFIG_USB_GADGET_VBUS_DRAW=500
> CONFIG_MMC=y
> -CONFIG_MMC_BLOCK_MINORS=16
> +CONFIG_MMC_BLOCK_MINORS=32
> CONFIG_MMC_ARMMMCI=y
> CONFIG_MMC_SDHCI=y
> CONFIG_MMC_SDHCI_PLTFM=y
> --
> 1.7.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2014-10-09 21:25:35

by Arnd Bergmann

[permalink] [raw]
Subject: Re: [PATCH] ARM: qcom: Increase MMC_BLOCK_MINORS in defconfig

On Thursday 09 October 2014 11:33:34 Georgi Djakov wrote:
> There are currently more than 16 partitions on the eMMC of all recent
> Qualcomm devices. Increase the number of minors per block device to
> detect all available partitions.
>

You should probably submit the same change for multi_v7_defconfig.

Arnd