[PATCH 0/5] [SRU][C/master] Reduce boot noise on Dragonboard

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 0/5] [SRU][C/master] Reduce boot noise on Dragonboard

Paolo Pisati-5
BugLink: https://bugs.launchpad.net/bugs/1797154

Impact:

During boot on a Dragonboard410c using a recent Bionic or Cosmic kernel,
there's some noise like:

...
[ 3.665431] msm_dsi_phy 1a98300.dsi-phy: Failed to get supply 'vddio':
-517
[ 3.669243] msm_dsi_phy 1a98300.dsi-phy: dsi_phy_regulator_init: failed
to init regulator, ret=-517
[ 3.676180] msm_dsi_phy 1a98300.dsi-phy: dsi_phy_driver_probe: failed to
init regulator
...

or

...
[ 4.192280] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000:
Failed to get supply 'vdd-cdc-io': -517
[ 4.195660] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000:
Failed to get regulator supplies -517
...

and similar.

This is mainly due to DRM_MSM* and SND_QCOM_MSM* that were built-in, and
try to initialize before the voltage regulators are ready to work,
resulting in a noisy bootlog.

These patches factor out some code as modules, so when the kmods are
loaded and initialized, regulators are already present and ready to
attach - all these config changes shave around ~3K bytes from dmesg,
making the bootlog easir to parse.

Fix:

Apply the attached patches and recompile

How to test:

Boot a patched kernel and check for the above noise in dmesg

Regression potential:

None, we are just turning some code into kmods, and turning off a couple
of not used feature for this flavour - all the other flavours are
untouched.

Paolo Pisati (5):
  UBUNTU: [Config] arm64: snapdragon: DRM_MSM=m
  UBUNTU: [Config] arm64: snapdragon: SND*=m
  UBUNTU: [Config] arm64: snapdragon: disable ARM_SDE_INTERFACE
  UBUNTU: [Config] arm64: snapdragon: disable DRM_I2C_ADV7511_CEC
  UBUNTU: [Config] arm64: snapdragon: disable VIDEO_ADV7511,
    VIDEO_COBALT

 .../config/amd64/config.common.amd64          |  6 ++---
 .../config/arm64/config.common.arm64          |  7 ++++++
 .../config/arm64/config.flavour.generic       | 22 ++++---------------
 .../config/arm64/config.flavour.snapdragon    | 22 ++++---------------
 .../config/armhf/config.common.armhf          | 14 +++---------
 debian.master/config/config.common.ubuntu     | 19 ++++++++++------
 debian.master/config/i386/config.common.i386  |  6 ++---
 .../config/ppc64el/config.common.ppc64el      |  7 +++---
 8 files changed, 37 insertions(+), 66 deletions(-)

--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/5] UBUNTU: [Config] arm64: snapdragon: DRM_MSM=m

Paolo Pisati-5
BugLink: https://bugs.launchpad.net/bugs/1797154

Signed-off-by: Paolo Pisati <[hidden email]>
---
 debian.master/config/arm64/config.flavour.generic    | 2 --
 debian.master/config/arm64/config.flavour.snapdragon | 2 --
 debian.master/config/armhf/config.common.armhf       | 2 --
 debian.master/config/config.common.ubuntu            | 5 +++--
 4 files changed, 3 insertions(+), 8 deletions(-)

diff --git a/debian.master/config/arm64/config.flavour.generic b/debian.master/config/arm64/config.flavour.generic
index 18c7dda48c45..df0d22974b1b 100644
--- a/debian.master/config/arm64/config.flavour.generic
+++ b/debian.master/config/arm64/config.flavour.generic
@@ -8,7 +8,6 @@ CONFIG_COMMON_CLK_QCOM=m
 CONFIG_DRM=m
 CONFIG_DRM_I2C_ADV7511=m
 CONFIG_DRM_KMS_HELPER=m
-CONFIG_DRM_MSM=m
 CONFIG_FB_SYS_COPYAREA=m
 CONFIG_FB_SYS_FILLRECT=m
 CONFIG_FB_SYS_FOPS=m
@@ -35,7 +34,6 @@ CONFIG_QCOM_CLK_SMD_RPM=m
 # CONFIG_QCOM_CPR is not set
 CONFIG_QCOM_HIDMA=m
 CONFIG_QCOM_HIDMA_MGMT=m
-CONFIG_QCOM_MDT_LOADER=m
 CONFIG_QCOM_QFPROM=m
 CONFIG_QCOM_SMD_RPM=m
 CONFIG_QCOM_SMEM=m
diff --git a/debian.master/config/arm64/config.flavour.snapdragon b/debian.master/config/arm64/config.flavour.snapdragon
index 3db692151190..b71e3a698e50 100644
--- a/debian.master/config/arm64/config.flavour.snapdragon
+++ b/debian.master/config/arm64/config.flavour.snapdragon
@@ -8,7 +8,6 @@ CONFIG_COMMON_CLK_QCOM=y
 CONFIG_DRM=y
 CONFIG_DRM_I2C_ADV7511=y
 CONFIG_DRM_KMS_HELPER=y
-CONFIG_DRM_MSM=y
 CONFIG_FB_SYS_COPYAREA=y
 CONFIG_FB_SYS_FILLRECT=y
 CONFIG_FB_SYS_FOPS=y
@@ -35,7 +34,6 @@ CONFIG_QCOM_CLK_SMD_RPM=y
 CONFIG_QCOM_CPR=y
 CONFIG_QCOM_HIDMA=y
 CONFIG_QCOM_HIDMA_MGMT=y
-CONFIG_QCOM_MDT_LOADER=y
 CONFIG_QCOM_QFPROM=y
 CONFIG_QCOM_SMD_RPM=y
 CONFIG_QCOM_SMEM=y
diff --git a/debian.master/config/armhf/config.common.armhf b/debian.master/config/armhf/config.common.armhf
index 82231115c4d8..ff3ab974f1d7 100644
--- a/debian.master/config/armhf/config.common.armhf
+++ b/debian.master/config/armhf/config.common.armhf
@@ -77,7 +77,6 @@ CONFIG_DNET=m
 CONFIG_DRM=m
 CONFIG_DRM_I2C_ADV7511=m
 CONFIG_DRM_KMS_HELPER=m
-CONFIG_DRM_MSM=m
 CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
 CONFIG_DRM_RCAR_LVDS=m
 CONFIG_DUMMY_IRQ=m
@@ -330,7 +329,6 @@ CONFIG_QCOM_CLK_SMD_RPM=m
 # CONFIG_QCOM_CPR is not set
 CONFIG_QCOM_HIDMA=m
 CONFIG_QCOM_HIDMA_MGMT=m
-CONFIG_QCOM_MDT_LOADER=m
 CONFIG_QCOM_QFPROM=m
 CONFIG_QCOM_SMD_RPM=m
 CONFIG_QCOM_SMEM=m
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index f8e58f411751..c8797ad0b8d0 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1289,7 +1289,6 @@ CONFIG_CCW=y
 CONFIG_CCWGROUP=m
 CONFIG_CCW_CONSOLE=y
 CONFIG_CC_HAS_SANCOV_TRACE_PC=y
-CONFIG_CC_HAS_SANE_STACKPROTECTOR=y
 CONFIG_CC_HAS_STACKPROTECTOR_NONE=y
 CONFIG_CC_IS_GCC=y
 CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
@@ -2399,6 +2398,7 @@ CONFIG_DRM_MESON=m
 CONFIG_DRM_MESON_DW_HDMI=m
 CONFIG_DRM_MGAG200=m
 CONFIG_DRM_MIPI_DSI=y
+CONFIG_DRM_MSM=m
 CONFIG_DRM_MSM_DSI=y
 CONFIG_DRM_MSM_DSI_10NM_PHY=y
 CONFIG_DRM_MSM_DSI_14NM_PHY=y
@@ -5608,7 +5608,6 @@ CONFIG_MPL3115=m
 CONFIG_MPLS=y
 CONFIG_MPLS_IPTUNNEL=m
 CONFIG_MPLS_ROUTING=m
-CONFIG_MPROFILE_KERNEL=y
 # CONFIG_MPSC is not set
 CONFIG_MPU3050=m
 CONFIG_MPU3050_I2C=m
@@ -7187,6 +7186,7 @@ CONFIG_QCOM_IOMMU=y
 CONFIG_QCOM_IRQ_COMBINER=y
 CONFIG_QCOM_L2_PMU=y
 CONFIG_QCOM_L3_PMU=y
+CONFIG_QCOM_MDT_LOADER=m
 CONFIG_QCOM_PDC=y
 CONFIG_QCOM_PM=y
 CONFIG_QCOM_PM8XXX_XOADC=m
@@ -10567,6 +10567,7 @@ CONFIG_X86=y
 CONFIG_X86_16BIT=y
 CONFIG_X86_32=y
 CONFIG_X86_32_IRIS=m
+CONFIG_X86_32_LAZY_GS=y
 # CONFIG_X86_32_NON_STANDARD is not set
 CONFIG_X86_32_SMP=y
 # CONFIG_X86_5LEVEL is not set
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 2/5] UBUNTU: [Config] arm64: snapdragon: SND*=m

Paolo Pisati-5
In reply to this post by Paolo Pisati-5
BugLink: https://bugs.launchpad.net/bugs/1797154

Signed-off-by: Paolo Pisati <[hidden email]>
---
 debian.master/config/amd64/config.common.amd64    |  3 ---
 debian.master/config/arm64/config.common.arm64    |  7 +++++++
 debian.master/config/arm64/config.flavour.generic | 15 ---------------
 .../config/arm64/config.flavour.snapdragon        | 15 ---------------
 debian.master/config/armhf/config.common.armhf    |  8 --------
 debian.master/config/config.common.ubuntu         |  8 ++++++++
 debian.master/config/i386/config.common.i386      |  3 ---
 .../config/ppc64el/config.common.ppc64el          |  3 ---
 8 files changed, 15 insertions(+), 47 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index 0dbf99299ffc..e9beda91e1b3 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -404,11 +404,8 @@ CONFIG_SND_DMAENGINE_PCM=m
 CONFIG_SND_PCM=m
 CONFIG_SND_SOC=m
 CONFIG_SND_SOC_FSL_SSI=m
-CONFIG_SND_SOC_HDMI_CODEC=m
 CONFIG_SND_SOC_I2C_AND_SPI=m
 CONFIG_SND_SOC_IMX_AUDMUX=m
-CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
-CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
 CONFIG_SND_SOC_SGTL5000=m
 CONFIG_SND_TIMER=m
 CONFIG_SOC_TI=y
diff --git a/debian.master/config/arm64/config.common.arm64 b/debian.master/config/arm64/config.common.arm64
index 8c48fd7b860c..dd16885bebdc 100644
--- a/debian.master/config/arm64/config.common.arm64
+++ b/debian.master/config/arm64/config.common.arm64
@@ -3,6 +3,7 @@
 #
 CONFIG_6LOWPAN=m
 CONFIG_ABX500_CORE=y
+CONFIG_AC97_BUS=m
 # CONFIG_ACPI_DEBUG is not set
 # CONFIG_ACPI_DEBUGGER is not set
 CONFIG_ACPI_REDUCED_HARDWARE_ONLY=y
@@ -391,9 +392,15 @@ CONFIG_SGI_IOC4=m
 CONFIG_SGI_PARTITION=y
 CONFIG_SLIP=m
 CONFIG_SMC91X=y
+CONFIG_SND=m
+CONFIG_SND_DMAENGINE_PCM=m
+CONFIG_SND_PCM=m
+CONFIG_SND_SOC=m
 CONFIG_SND_SOC_FSL_SSI=m
+CONFIG_SND_SOC_I2C_AND_SPI=m
 CONFIG_SND_SOC_IMX_AUDMUX=m
 CONFIG_SND_SOC_SGTL5000=m
+CONFIG_SND_TIMER=m
 CONFIG_SOC_BRCMSTB=y
 CONFIG_SOC_TI=y
 CONFIG_SOLARIS_X86_PARTITION=y
diff --git a/debian.master/config/arm64/config.flavour.generic b/debian.master/config/arm64/config.flavour.generic
index df0d22974b1b..0d4102cbae05 100644
--- a/debian.master/config/arm64/config.flavour.generic
+++ b/debian.master/config/arm64/config.flavour.generic
@@ -1,7 +1,6 @@
 #
 # Config options for config.flavour.generic automatically generated by splitconfig.pl
 #
-CONFIG_AC97_BUS=m
 # CONFIG_ADV7511_SNAPDRAGON_HACKS is not set
 CONFIG_CEC_CORE=m
 CONFIG_COMMON_CLK_QCOM=m
@@ -48,20 +47,6 @@ CONFIG_REGULATOR_QCOM_SMD_RPM=m
 CONFIG_REGULATOR_QCOM_SPMI=m
 CONFIG_RPMSG=m
 CONFIG_RPMSG_QCOM_SMD=m
-CONFIG_SND=m
-CONFIG_SND_DMAENGINE_PCM=m
-CONFIG_SND_PCM=m
-CONFIG_SND_SOC=m
-CONFIG_SND_SOC_APQ8016_SBC=m
-CONFIG_SND_SOC_HDMI_CODEC=m
-CONFIG_SND_SOC_I2C_AND_SPI=m
-CONFIG_SND_SOC_LPASS_APQ8016=m
-CONFIG_SND_SOC_LPASS_CPU=m
-CONFIG_SND_SOC_LPASS_PLATFORM=m
-CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
-CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
-CONFIG_SND_SOC_QCOM=m
-CONFIG_SND_TIMER=m
 CONFIG_SOUND=m
 CONFIG_SPI_QUP=m
 CONFIG_SPMI=m
diff --git a/debian.master/config/arm64/config.flavour.snapdragon b/debian.master/config/arm64/config.flavour.snapdragon
index b71e3a698e50..f4a2218b27c9 100644
--- a/debian.master/config/arm64/config.flavour.snapdragon
+++ b/debian.master/config/arm64/config.flavour.snapdragon
@@ -1,7 +1,6 @@
 #
 # Config options for config.flavour.snapdragon automatically generated by splitconfig.pl
 #
-CONFIG_AC97_BUS=y
 CONFIG_ADV7511_SNAPDRAGON_HACKS=y
 CONFIG_CEC_CORE=y
 CONFIG_COMMON_CLK_QCOM=y
@@ -48,20 +47,6 @@ CONFIG_REGULATOR_QCOM_SMD_RPM=y
 CONFIG_REGULATOR_QCOM_SPMI=y
 CONFIG_RPMSG=y
 CONFIG_RPMSG_QCOM_SMD=y
-CONFIG_SND=y
-CONFIG_SND_DMAENGINE_PCM=y
-CONFIG_SND_PCM=y
-CONFIG_SND_SOC=y
-CONFIG_SND_SOC_APQ8016_SBC=y
-CONFIG_SND_SOC_HDMI_CODEC=y
-CONFIG_SND_SOC_I2C_AND_SPI=y
-CONFIG_SND_SOC_LPASS_APQ8016=y
-CONFIG_SND_SOC_LPASS_CPU=y
-CONFIG_SND_SOC_LPASS_PLATFORM=y
-CONFIG_SND_SOC_MSM8916_WCD_ANALOG=y
-CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=y
-CONFIG_SND_SOC_QCOM=y
-CONFIG_SND_TIMER=y
 CONFIG_SOUND=y
 CONFIG_SPI_QUP=y
 CONFIG_SPMI=y
diff --git a/debian.master/config/armhf/config.common.armhf b/debian.master/config/armhf/config.common.armhf
index ff3ab974f1d7..bb34e1c628d2 100644
--- a/debian.master/config/armhf/config.common.armhf
+++ b/debian.master/config/armhf/config.common.armhf
@@ -426,15 +426,7 @@ CONFIG_SND_COMPRESS_OFFLOAD=y
 CONFIG_SND_DMAENGINE_PCM=y
 CONFIG_SND_PCM=y
 CONFIG_SND_SOC=y
-CONFIG_SND_SOC_APQ8016_SBC=m
-CONFIG_SND_SOC_HDMI_CODEC=m
 CONFIG_SND_SOC_I2C_AND_SPI=y
-CONFIG_SND_SOC_LPASS_APQ8016=m
-CONFIG_SND_SOC_LPASS_CPU=m
-CONFIG_SND_SOC_LPASS_PLATFORM=m
-CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
-CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
-CONFIG_SND_SOC_QCOM=m
 CONFIG_SND_TIMER=y
 # CONFIG_SOC_BRCMSTB is not set
 CONFIG_SOC_TI=y
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index c8797ad0b8d0..2ed5752065b1 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -8585,6 +8585,7 @@ CONFIG_SND_SOC_ALC5632=m
 CONFIG_SND_SOC_AMD_ACP=m
 CONFIG_SND_SOC_AMD_CZ_DA7219MX98357_MACH=m
 CONFIG_SND_SOC_AMD_CZ_RT5645_MACH=m
+CONFIG_SND_SOC_APQ8016_SBC=m
 CONFIG_SND_SOC_ARIZONA=m
 CONFIG_SND_SOC_ARNDALE_RT5631_ALC5631=m
 CONFIG_SND_SOC_BD28623=m
@@ -8630,6 +8631,7 @@ CONFIG_SND_SOC_FSL_UTILS=m
 CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
 CONFIG_SND_SOC_GTM601=m
 CONFIG_SND_SOC_HDAC_HDMI=m
+CONFIG_SND_SOC_HDMI_CODEC=m
 CONFIG_SND_SOC_IMG=y
 CONFIG_SND_SOC_IMG_I2S_IN=m
 CONFIG_SND_SOC_IMG_I2S_OUT=m
@@ -8674,7 +8676,10 @@ CONFIG_SND_SOC_INTEL_SST=m
 CONFIG_SND_SOC_INTEL_SST_ACPI=m
 CONFIG_SND_SOC_INTEL_SST_FIRMWARE=m
 CONFIG_SND_SOC_INTEL_SST_TOPLEVEL=y
+CONFIG_SND_SOC_LPASS_APQ8016=m
+CONFIG_SND_SOC_LPASS_CPU=m
 CONFIG_SND_SOC_LPASS_IPQ806X=m
+CONFIG_SND_SOC_LPASS_PLATFORM=m
 CONFIG_SND_SOC_MAX9759=m
 CONFIG_SND_SOC_MAX98090=m
 CONFIG_SND_SOC_MAX98095=m
@@ -8686,6 +8691,8 @@ CONFIG_SND_SOC_MAX9867=m
 CONFIG_SND_SOC_MAX98927=m
 CONFIG_SND_SOC_MC13783=m
 CONFIG_SND_SOC_MEDIATEK=m
+CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
+CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
 CONFIG_SND_SOC_MSM8996=m
 # CONFIG_SND_SOC_MT2701 is not set
 CONFIG_SND_SOC_MT6351=m
@@ -8712,6 +8719,7 @@ CONFIG_SND_SOC_PCM3168A_SPI=m
 CONFIG_SND_SOC_PCM512x=m
 CONFIG_SND_SOC_PCM512x_I2C=m
 CONFIG_SND_SOC_PCM512x_SPI=m
+CONFIG_SND_SOC_QCOM=m
 CONFIG_SND_SOC_QDSP6=m
 CONFIG_SND_SOC_QDSP6_ADM=m
 CONFIG_SND_SOC_QDSP6_AFE=m
diff --git a/debian.master/config/i386/config.common.i386 b/debian.master/config/i386/config.common.i386
index c81f4ec339f5..ef5247f98023 100644
--- a/debian.master/config/i386/config.common.i386
+++ b/debian.master/config/i386/config.common.i386
@@ -396,11 +396,8 @@ CONFIG_SND_DMAENGINE_PCM=m
 CONFIG_SND_PCM=m
 CONFIG_SND_SOC=m
 CONFIG_SND_SOC_FSL_SSI=m
-CONFIG_SND_SOC_HDMI_CODEC=m
 CONFIG_SND_SOC_I2C_AND_SPI=m
 CONFIG_SND_SOC_IMX_AUDMUX=m
-CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
-CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
 CONFIG_SND_SOC_SGTL5000=m
 CONFIG_SND_TIMER=m
 CONFIG_SOC_TI=y
diff --git a/debian.master/config/ppc64el/config.common.ppc64el b/debian.master/config/ppc64el/config.common.ppc64el
index 99887f71a11a..4eae101b324b 100644
--- a/debian.master/config/ppc64el/config.common.ppc64el
+++ b/debian.master/config/ppc64el/config.common.ppc64el
@@ -402,11 +402,8 @@ CONFIG_SND_DMAENGINE_PCM=m
 CONFIG_SND_PCM=m
 CONFIG_SND_SOC=m
 CONFIG_SND_SOC_FSL_SSI=m
-CONFIG_SND_SOC_HDMI_CODEC=m
 CONFIG_SND_SOC_I2C_AND_SPI=m
 CONFIG_SND_SOC_IMX_AUDMUX=m
-CONFIG_SND_SOC_MSM8916_WCD_ANALOG=m
-CONFIG_SND_SOC_MSM8916_WCD_DIGITAL=m
 CONFIG_SND_SOC_SGTL5000=m
 CONFIG_SND_TIMER=m
 CONFIG_SOC_TI=y
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 3/5] UBUNTU: [Config] arm64: snapdragon: disable ARM_SDE_INTERFACE

Paolo Pisati-5
In reply to this post by Paolo Pisati-5
BugLink: https://bugs.launchpad.net/bugs/1797154

Signed-off-by: Paolo Pisati <[hidden email]>
---
 debian.master/config/arm64/config.flavour.generic    | 1 +
 debian.master/config/arm64/config.flavour.snapdragon | 1 +
 debian.master/config/config.common.ubuntu            | 1 -
 3 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian.master/config/arm64/config.flavour.generic b/debian.master/config/arm64/config.flavour.generic
index 0d4102cbae05..c8a4b2cd8687 100644
--- a/debian.master/config/arm64/config.flavour.generic
+++ b/debian.master/config/arm64/config.flavour.generic
@@ -2,6 +2,7 @@
 # Config options for config.flavour.generic automatically generated by splitconfig.pl
 #
 # CONFIG_ADV7511_SNAPDRAGON_HACKS is not set
+CONFIG_ARM_SDE_INTERFACE=y
 CONFIG_CEC_CORE=m
 CONFIG_COMMON_CLK_QCOM=m
 CONFIG_DRM=m
diff --git a/debian.master/config/arm64/config.flavour.snapdragon b/debian.master/config/arm64/config.flavour.snapdragon
index f4a2218b27c9..7275dbd5d4ef 100644
--- a/debian.master/config/arm64/config.flavour.snapdragon
+++ b/debian.master/config/arm64/config.flavour.snapdragon
@@ -2,6 +2,7 @@
 # Config options for config.flavour.snapdragon automatically generated by splitconfig.pl
 #
 CONFIG_ADV7511_SNAPDRAGON_HACKS=y
+# CONFIG_ARM_SDE_INTERFACE is not set
 CONFIG_CEC_CORE=y
 CONFIG_COMMON_CLK_QCOM=y
 CONFIG_DRM=y
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 2ed5752065b1..18e929c41635 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -676,7 +676,6 @@ CONFIG_ARM_SCMI_PROTOCOL=y
 CONFIG_ARM_SCPI_CPUFREQ=m
 CONFIG_ARM_SCPI_POWER_DOMAIN=m
 CONFIG_ARM_SCPI_PROTOCOL=m
-CONFIG_ARM_SDE_INTERFACE=y
 CONFIG_ARM_SMMU_V3=y
 CONFIG_ARM_SP805_WATCHDOG=m
 CONFIG_ARM_SPE_PMU=m
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 4/5] UBUNTU: [Config] arm64: snapdragon: disable DRM_I2C_ADV7511_CEC

Paolo Pisati-5
In reply to this post by Paolo Pisati-5
BugLink: https://bugs.launchpad.net/bugs/1797154

Signed-off-by: Paolo Pisati <[hidden email]>
---
 debian.master/config/amd64/config.common.amd64       | 1 -
 debian.master/config/arm64/config.flavour.generic    | 2 +-
 debian.master/config/arm64/config.flavour.snapdragon | 2 +-
 debian.master/config/armhf/config.common.armhf       | 2 +-
 debian.master/config/config.common.ubuntu            | 2 +-
 debian.master/config/i386/config.common.i386         | 1 -
 debian.master/config/ppc64el/config.common.ppc64el   | 2 +-
 7 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index e9beda91e1b3..ff3d1b4760b7 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -59,7 +59,6 @@ CONFIG_CAIF=m
 CONFIG_CAN=m
 CONFIG_CB710_CORE=m
 CONFIG_CDROM_PKTCDVD=m
-CONFIG_CEC_CORE=m
 CONFIG_CMDLINE_PARTITION=y
 CONFIG_CRAMFS=m
 CONFIG_CRYPTO_DEFLATE=y
diff --git a/debian.master/config/arm64/config.flavour.generic b/debian.master/config/arm64/config.flavour.generic
index c8a4b2cd8687..b64f12d03458 100644
--- a/debian.master/config/arm64/config.flavour.generic
+++ b/debian.master/config/arm64/config.flavour.generic
@@ -3,10 +3,10 @@
 #
 # CONFIG_ADV7511_SNAPDRAGON_HACKS is not set
 CONFIG_ARM_SDE_INTERFACE=y
-CONFIG_CEC_CORE=m
 CONFIG_COMMON_CLK_QCOM=m
 CONFIG_DRM=m
 CONFIG_DRM_I2C_ADV7511=m
+CONFIG_DRM_I2C_ADV7511_CEC=y
 CONFIG_DRM_KMS_HELPER=m
 CONFIG_FB_SYS_COPYAREA=m
 CONFIG_FB_SYS_FILLRECT=m
diff --git a/debian.master/config/arm64/config.flavour.snapdragon b/debian.master/config/arm64/config.flavour.snapdragon
index 7275dbd5d4ef..a7fd65e170f0 100644
--- a/debian.master/config/arm64/config.flavour.snapdragon
+++ b/debian.master/config/arm64/config.flavour.snapdragon
@@ -3,10 +3,10 @@
 #
 CONFIG_ADV7511_SNAPDRAGON_HACKS=y
 # CONFIG_ARM_SDE_INTERFACE is not set
-CONFIG_CEC_CORE=y
 CONFIG_COMMON_CLK_QCOM=y
 CONFIG_DRM=y
 CONFIG_DRM_I2C_ADV7511=y
+# CONFIG_DRM_I2C_ADV7511_CEC is not set
 CONFIG_DRM_KMS_HELPER=y
 CONFIG_FB_SYS_COPYAREA=y
 CONFIG_FB_SYS_FILLRECT=y
diff --git a/debian.master/config/armhf/config.common.armhf b/debian.master/config/armhf/config.common.armhf
index bb34e1c628d2..1820b01b4fe5 100644
--- a/debian.master/config/armhf/config.common.armhf
+++ b/debian.master/config/armhf/config.common.armhf
@@ -59,7 +59,6 @@ CONFIG_CAIF=m
 CONFIG_CAN=m
 CONFIG_CB710_CORE=m
 CONFIG_CDROM_PKTCDVD=m
-CONFIG_CEC_CORE=m
 CONFIG_CMDLINE=""
 CONFIG_CMDLINE_PARTITION=y
 CONFIG_COMMON_CLK_QCOM=m
@@ -76,6 +75,7 @@ CONFIG_DMA_VIRTUAL_CHANNELS=y
 CONFIG_DNET=m
 CONFIG_DRM=m
 CONFIG_DRM_I2C_ADV7511=m
+CONFIG_DRM_I2C_ADV7511_CEC=y
 CONFIG_DRM_KMS_HELPER=m
 CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
 CONFIG_DRM_RCAR_LVDS=m
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 18e929c41635..9767fe50b50c 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -1295,6 +1295,7 @@ CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
 CONFIG_CDROM=y
 CONFIG_CDROM_PKTCDVD_BUFFERS=8
 # CONFIG_CDROM_PKTCDVD_WCACHE is not set
+CONFIG_CEC_CORE=m
 CONFIG_CEC_GPIO=m
 CONFIG_CEC_NOTIFIER=y
 CONFIG_CEC_PIN=y
@@ -2357,7 +2358,6 @@ CONFIG_DRM_HDLCD=m
 CONFIG_DRM_HISI_HIBMC=m
 CONFIG_DRM_HISI_KIRIN=m
 CONFIG_DRM_I2C_ADV7511_AUDIO=y
-CONFIG_DRM_I2C_ADV7511_CEC=y
 CONFIG_DRM_I2C_ADV7533=y
 CONFIG_DRM_I2C_CH7006=m
 CONFIG_DRM_I2C_NXP_TDA9950=m
diff --git a/debian.master/config/i386/config.common.i386 b/debian.master/config/i386/config.common.i386
index ef5247f98023..e8f1a6d3c518 100644
--- a/debian.master/config/i386/config.common.i386
+++ b/debian.master/config/i386/config.common.i386
@@ -57,7 +57,6 @@ CONFIG_CAIF=m
 CONFIG_CAN=m
 CONFIG_CB710_CORE=m
 CONFIG_CDROM_PKTCDVD=m
-CONFIG_CEC_CORE=m
 CONFIG_CMDLINE_PARTITION=y
 CONFIG_CRAMFS=m
 CONFIG_CRYPTO_DEFLATE=y
diff --git a/debian.master/config/ppc64el/config.common.ppc64el b/debian.master/config/ppc64el/config.common.ppc64el
index 4eae101b324b..33e2fc125467 100644
--- a/debian.master/config/ppc64el/config.common.ppc64el
+++ b/debian.master/config/ppc64el/config.common.ppc64el
@@ -55,7 +55,6 @@ CONFIG_CAIF=m
 CONFIG_CAN=m
 CONFIG_CB710_CORE=m
 CONFIG_CDROM_PKTCDVD=m
-CONFIG_CEC_CORE=m
 CONFIG_CMDLINE_PARTITION=y
 CONFIG_CMM=m
 # CONFIG_CPU_BIG_ENDIAN is not set
@@ -71,6 +70,7 @@ CONFIG_DMA_VIRTUAL_CHANNELS=m
 CONFIG_DNET=m
 CONFIG_DRM=m
 CONFIG_DRM_I2C_ADV7511=m
+CONFIG_DRM_I2C_ADV7511_CEC=y
 CONFIG_DRM_KMS_HELPER=m
 CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=m
 # CONFIG_DRM_RCAR_LVDS is not set
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

[PATCH 5/5] UBUNTU: [Config] arm64: snapdragon: disable VIDEO_ADV7511, VIDEO_COBALT

Paolo Pisati-5
In reply to this post by Paolo Pisati-5
BugLink: https://bugs.launchpad.net/bugs/1797154

Signed-off-by: Paolo Pisati <[hidden email]>
---
 debian.master/config/amd64/config.common.amd64       | 2 ++
 debian.master/config/arm64/config.flavour.generic    | 2 ++
 debian.master/config/arm64/config.flavour.snapdragon | 2 ++
 debian.master/config/armhf/config.common.armhf       | 2 ++
 debian.master/config/config.common.ubuntu            | 3 ---
 debian.master/config/i386/config.common.i386         | 2 ++
 debian.master/config/ppc64el/config.common.ppc64el   | 2 ++
 7 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index ff3d1b4760b7..57b40956eeb5 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -457,6 +457,8 @@ CONFIG_UWB=m
 CONFIG_VFIO=m
 CONFIG_VFIO_PCI=m
 CONFIG_VFIO_VIRQFD=m
+CONFIG_VIDEO_ADV7511=m
+CONFIG_VIDEO_COBALT=m
 CONFIG_VIRTIO_MMIO=y
 CONFIG_VME_BUS=y
 CONFIG_VMXNET3=m
diff --git a/debian.master/config/arm64/config.flavour.generic b/debian.master/config/arm64/config.flavour.generic
index b64f12d03458..572f92f5a132 100644
--- a/debian.master/config/arm64/config.flavour.generic
+++ b/debian.master/config/arm64/config.flavour.generic
@@ -53,4 +53,6 @@ CONFIG_SPI_QUP=m
 CONFIG_SPMI=m
 CONFIG_SPMI_MSM_PMIC_ARB=m
 CONFIG_USB_ULPI_BUS=m
+CONFIG_VIDEO_ADV7511=m
+CONFIG_VIDEO_COBALT=m
 # CONFIG_WCN36XX_SNAPDRAGON_HACKS is not set
diff --git a/debian.master/config/arm64/config.flavour.snapdragon b/debian.master/config/arm64/config.flavour.snapdragon
index a7fd65e170f0..c77c23891031 100644
--- a/debian.master/config/arm64/config.flavour.snapdragon
+++ b/debian.master/config/arm64/config.flavour.snapdragon
@@ -53,4 +53,6 @@ CONFIG_SPI_QUP=y
 CONFIG_SPMI=y
 CONFIG_SPMI_MSM_PMIC_ARB=y
 CONFIG_USB_ULPI_BUS=y
+# CONFIG_VIDEO_ADV7511 is not set
+# CONFIG_VIDEO_COBALT is not set
 CONFIG_WCN36XX_SNAPDRAGON_HACKS=y
diff --git a/debian.master/config/armhf/config.common.armhf b/debian.master/config/armhf/config.common.armhf
index 1820b01b4fe5..5d2ddd9bc184 100644
--- a/debian.master/config/armhf/config.common.armhf
+++ b/debian.master/config/armhf/config.common.armhf
@@ -481,6 +481,8 @@ CONFIG_UWB=m
 CONFIG_VFIO=m
 CONFIG_VFIO_PCI=m
 CONFIG_VFIO_VIRQFD=m
+CONFIG_VIDEO_ADV7511=m
+CONFIG_VIDEO_COBALT=m
 CONFIG_VIRTIO_MMIO=y
 CONFIG_VME_BUS=y
 CONFIG_VMXNET3=m
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 9767fe50b50c..ca03fddfbd6e 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -10166,8 +10166,6 @@ CONFIG_VIDEO_ADV7175=m
 # CONFIG_VIDEO_ADV7343 is not set
 # CONFIG_VIDEO_ADV7393 is not set
 # CONFIG_VIDEO_ADV748X is not set
-CONFIG_VIDEO_ADV7511=m
-# CONFIG_VIDEO_ADV7511_CEC is not set
 CONFIG_VIDEO_ADV7604=m
 # CONFIG_VIDEO_ADV7604_CEC is not set
 CONFIG_VIDEO_ADV7842=m
@@ -10186,7 +10184,6 @@ CONFIG_VIDEO_CADENCE=y
 CONFIG_VIDEO_CADENCE_CSI2RX=m
 CONFIG_VIDEO_CADENCE_CSI2TX=m
 CONFIG_VIDEO_CAFE_CCIC=m
-CONFIG_VIDEO_COBALT=m
 CONFIG_VIDEO_CODA=m
 CONFIG_VIDEO_CPIA2=m
 CONFIG_VIDEO_CS3308=m
diff --git a/debian.master/config/i386/config.common.i386 b/debian.master/config/i386/config.common.i386
index e8f1a6d3c518..aa56728e1ae5 100644
--- a/debian.master/config/i386/config.common.i386
+++ b/debian.master/config/i386/config.common.i386
@@ -449,6 +449,8 @@ CONFIG_UWB=m
 CONFIG_VFIO=m
 CONFIG_VFIO_PCI=m
 CONFIG_VFIO_VIRQFD=m
+CONFIG_VIDEO_ADV7511=m
+CONFIG_VIDEO_COBALT=m
 CONFIG_VIRTIO_MMIO=y
 CONFIG_VME_BUS=y
 CONFIG_VMXNET3=m
diff --git a/debian.master/config/ppc64el/config.common.ppc64el b/debian.master/config/ppc64el/config.common.ppc64el
index 33e2fc125467..bcf009eb954e 100644
--- a/debian.master/config/ppc64el/config.common.ppc64el
+++ b/debian.master/config/ppc64el/config.common.ppc64el
@@ -456,6 +456,8 @@ CONFIG_UWB=m
 CONFIG_VFIO=y
 CONFIG_VFIO_PCI=y
 CONFIG_VFIO_VIRQFD=y
+CONFIG_VIDEO_ADV7511=m
+CONFIG_VIDEO_COBALT=m
 CONFIG_VIRTIO_MMIO=y
 # CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set
 CONFIG_VME_BUS=y
--
2.17.1


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH 0/5] [SRU][C/master] Reduce boot noise on Dragonboard

Paolo Pisati-5
In reply to this post by Paolo Pisati-5
On Wed, Oct 10, 2018 at 05:51:27PM +0200, Paolo Pisati wrote:
> BugLink: https://bugs.launchpad.net/bugs/1797154

and this one is the Cosmic/master set of patches (see subject).
--
bye,
p.

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team
Reply | Threaded
Open this post in threaded view
|

ACK: [PATCH 0/5] [SRU][C/master] Reduce boot noise on Dragonboard

Stefan Bader-2
In reply to this post by Paolo Pisati-5
On 10.10.2018 17:51, Paolo Pisati wrote:

> BugLink: https://bugs.launchpad.net/bugs/1797154
>
> Impact:
>
> During boot on a Dragonboard410c using a recent Bionic or Cosmic kernel,
> there's some noise like:
>
> ...
> [ 3.665431] msm_dsi_phy 1a98300.dsi-phy: Failed to get supply 'vddio':
> -517
> [ 3.669243] msm_dsi_phy 1a98300.dsi-phy: dsi_phy_regulator_init: failed
> to init regulator, ret=-517
> [ 3.676180] msm_dsi_phy 1a98300.dsi-phy: dsi_phy_driver_probe: failed to
> init regulator
> ...
>
> or
>
> ...
> [ 4.192280] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000:
> Failed to get supply 'vdd-cdc-io': -517
> [ 4.195660] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000:
> Failed to get regulator supplies -517
> ...
>
> and similar.
>
> This is mainly due to DRM_MSM* and SND_QCOM_MSM* that were built-in, and
> try to initialize before the voltage regulators are ready to work,
> resulting in a noisy bootlog.
>
> These patches factor out some code as modules, so when the kmods are
> loaded and initialized, regulators are already present and ready to
> attach - all these config changes shave around ~3K bytes from dmesg,
> making the bootlog easir to parse.
>
> Fix:
>
> Apply the attached patches and recompile
>
> How to test:
>
> Boot a patched kernel and check for the above noise in dmesg
>
> Regression potential:
>
> None, we are just turning some code into kmods, and turning off a couple
> of not used feature for this flavour - all the other flavours are
> untouched.
>
> Paolo Pisati (5):
>   UBUNTU: [Config] arm64: snapdragon: DRM_MSM=m
>   UBUNTU: [Config] arm64: snapdragon: SND*=m
>   UBUNTU: [Config] arm64: snapdragon: disable ARM_SDE_INTERFACE
>   UBUNTU: [Config] arm64: snapdragon: disable DRM_I2C_ADV7511_CEC
>   UBUNTU: [Config] arm64: snapdragon: disable VIDEO_ADV7511,
>     VIDEO_COBALT
>
>  .../config/amd64/config.common.amd64          |  6 ++---
>  .../config/arm64/config.common.arm64          |  7 ++++++
>  .../config/arm64/config.flavour.generic       | 22 ++++---------------
>  .../config/arm64/config.flavour.snapdragon    | 22 ++++---------------
>  .../config/armhf/config.common.armhf          | 14 +++---------
>  debian.master/config/config.common.ubuntu     | 19 ++++++++++------
>  debian.master/config/i386/config.common.i386  |  6 ++---
>  .../config/ppc64el/config.common.ppc64el      |  7 +++---
>  8 files changed, 37 insertions(+), 66 deletions(-)
>
Acked-by: Stefan Bader <[hidden email]>


--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team

signature.asc (836 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

NAK: [PATCH 0/5] [SRU][C/master] Reduce boot noise on Dragonboard

Seth Forshee
In reply to this post by Paolo Pisati-5
On Wed, Oct 10, 2018 at 05:51:27PM +0200, Paolo Pisati wrote:

> BugLink: https://bugs.launchpad.net/bugs/1797154
>
> Impact:
>
> During boot on a Dragonboard410c using a recent Bionic or Cosmic kernel,
> there's some noise like:
>
> ...
> [ 3.665431] msm_dsi_phy 1a98300.dsi-phy: Failed to get supply 'vddio':
> -517
> [ 3.669243] msm_dsi_phy 1a98300.dsi-phy: dsi_phy_regulator_init: failed
> to init regulator, ret=-517
> [ 3.676180] msm_dsi_phy 1a98300.dsi-phy: dsi_phy_driver_probe: failed to
> init regulator
> ...
>
> or
>
> ...
> [ 4.192280] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000:
> Failed to get supply 'vdd-cdc-io': -517
> [ 4.195660] qcom,pm8916-wcd-spmi-codec 200f000.spmi:pm8916@1:codec@f000:
> Failed to get regulator supplies -517
> ...
>
> and similar.
>
> This is mainly due to DRM_MSM* and SND_QCOM_MSM* that were built-in, and
> try to initialize before the voltage regulators are ready to work,
> resulting in a noisy bootlog.
>
> These patches factor out some code as modules, so when the kmods are
> loaded and initialized, regulators are already present and ready to
> attach - all these config changes shave around ~3K bytes from dmesg,
> making the bootlog easir to parse.
>
> Fix:
>
> Apply the attached patches and recompile
>
> How to test:
>
> Boot a patched kernel and check for the above noise in dmesg
>
> Regression potential:
>
> None, we are just turning some code into kmods, and turning off a couple
> of not used feature for this flavour - all the other flavours are
> untouched.

The first patch has a couple of changes that look entirely unrelated:

-CONFIG_CC_HAS_SANE_STACKPROTECTOR=y
-CONFIG_MPROFILE_KERNEL=y

They seem to come back for me on updateconfigs, but all the same they
don't belong in the patch.

Thanks,
Seth

--
kernel-team mailing list
[hidden email]
https://lists.ubuntu.com/mailman/listinfo/kernel-team