APPLIED: [SRU][Disco/raspi2][PATCH] UBUNTU: [Config] raspi2: Remove upstream mmc modules

Khaled Elmously khalid.elmously at canonical.com
Fri Nov 22 01:58:16 UTC 2019


On 2019-11-19 12:09:05 , Juerg Haefliger wrote:
> From: Adam Smith <blondesaluki at gmail.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1762835
> 
> The Bionic Linux-raspi2 kernel has both the upstream and downstream pi
> mmc modules enabled. Running the latest server image users can see
> this error in dmesg:
> 
> Error: Driver 'sdhost-bcm2835' is already registered, aborting...
> 
> Due to this error the pi server image is failing a testcase on the iso
> tracker.  It is also not clear to users what mmc modules are in use.
> 
> The attached patch removes the upstream mmc modules from the kernel config.
> 
> Signed-off-by: Adam Smith <blondesaluki at gmail.com>
> [juergh:
>  - Adjusted context.
>  - Kept CONFIG_MMC_SDHCI_IPROC=m to match rpi-4.19.y.]
> Signed-off-by: Juerg Haefliger <juergh at canonical.com>
> ---
>  debian.raspi2/config/config.common.ubuntu | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/debian.raspi2/config/config.common.ubuntu b/debian.raspi2/config/config.common.ubuntu
> index c650ed157be9..b330320e73b3 100644
> --- a/debian.raspi2/config/config.common.ubuntu
> +++ b/debian.raspi2/config/config.common.ubuntu
> @@ -3700,7 +3700,7 @@ CONFIG_MMA9553=m
>  CONFIG_MMC=y
>  CONFIG_MMC35240=m
>  CONFIG_MMC_ARMMMCI=y
> -CONFIG_MMC_BCM2835=y
> +# CONFIG_MMC_BCM2835 is not set
>  CONFIG_MMC_BCM2835_DMA=y
>  CONFIG_MMC_BCM2835_MMC=y
>  CONFIG_MMC_BCM2835_PIO_DMA_BARRIER=2
> -- 
> 2.20.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team



More information about the kernel-team mailing list