Regression? omap2plus_defconfig bloat due drivers/media/Kconfig changes
Hi
I noticed omap2plus_defconfig build is much slower than before and I saw during build many DVB drivers were compiled. Which made me thinking it doesn't look right especially there are no changes in arch/arm/configs/omap2plus_defconfig related to DVB.
I tracked manually last good and first badarch/arm/configs/omap2plus_defconfig change.
This was tested by "make ARCH=arm omap2plus_defconfig" and grepping is CONFIG_DVB_CORE set in .config.
good: 8b136018da7b ("mm: rename CONFIG_PGTABLE_MAPPING to CONFIG_ZSMALLOC_PGTABLE_MAPPING")
bad: 8aa6361f7251 ("ARM: omap2plus_defconfig: enable twl4030_madc as a loadable module")
Then I started bisecting which commit adds CONFIG_DVB_CORE and found commit 8e5b5d75e9d0 ("media: Kconfig: DVB support should be enabled for Digital TV").
That alone didn't look the answer so bisected then commit adding MEDIA_DIGITAL_TV_SUPPORT and found c6774ee035dc ("media: Kconfig: make filtering devices optional").
I'm not familiar with media subsystem but after that commit bunch of media drivers will get enabled when CONFIG_MEDIA_SUPPORT is set but not CONFIG_MEDIA_SUPPORT_FILTER.
I don't know is that best to fix in omap2plus_defconfig or drivers/media/Kconfig. Just thinking if there are other minimal defconfigs with the same issue?
Jarkko
Heipparallaa!
Quoted 26 lines · Jarkko Nikula
Hi
I noticed
omap2plus_defconfigbuild is much slower than before and I saw during build many DVB drivers were compiled. Which made me thinking it doesn't look right especially there are no changes inarch/arm/configs/omap2plus_defconfigrelated to DVB.I tracked manually last good and first bad
arch/arm/configs/omap2plus_defconfigchange.This was tested by "make ARCH=arm
omap2plus_defconfig" and grepping isCONFIG_DVB_COREset in .config.good:
8b136018da7b("mm: renameCONFIG_PGTABLE_MAPPINGtoCONFIG_ZSMALLOC_PGTABLE_MAPPING")
bad:8aa6361f7251("ARM:omap2plus_defconfig: enabletwl4030_madcas a loadable module")Then I started bisecting which commit adds
CONFIG_DVB_COREand found commit8e5b5d75e9d0("media:Kconfig: DVB support should be enabled for Digital TV").That alone didn't look the answer so bisected then commit adding
MEDIA_DIGITAL_TV_SUPPORTand foundc6774ee035dc("media:Kconfig: make filtering devices optional").
Quoted 7 lines
I'm not familiar with media subsystem but after that commit bunch of media drivers will get enabled when
CONFIG_MEDIA_SUPPORTis set but notCONFIG_MEDIA_SUPPORT_FILTER.I don't know is that best to fix in
omap2plus_defconfigordrivers/media/Kconfig. Just thinking if there are other minimal defconfigs with the same issue?
There was a change how the drivers for these little bits of hardware are selected, enabling them all by default. So things generally work differently they did before... One option would be to enable MEDIA_SUPPORT_FILTER in the configuration, so only those devices that you're interested would be supported.
Signature · 3 lines
Terveisin, Sakari Ailus