[Eoan/master,SRU] arm64: snapdragon: enable the Dragonboards out of Eoan/master arm64 kernel
mbox series

Message ID 20191004133056.GA15459@harukaze
State New
Headers show
Series
  • [Eoan/master,SRU] arm64: snapdragon: enable the Dragonboards out of Eoan/master arm64 kernel
Related show

Pull-request

git://git.launchpad.net/~p-pisati/ubuntu/+source/linux e-master-snapdragon

Message

Paolo Pisati Oct. 4, 2019, 1:30 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1846704

[Impact]

Upstream has good support for Qcom Snapdragon SOCs, so enable the Dragonboards
out of it, isolating all the changes in a 'snapdragon' flavour.

[Fix]

Apply the packaging and config changes in the pull request below.

[How to test]

Boot the resulting kernel on the db410c / db820c boards.

[Regression potential]

No code changes are involved: it's all config work and everything has been
isolated into its own 'snapdragon' flavour.

Proposing for Eoan/master.



The following changes since commit 742fb4cce38df7e868fd77ecf988db997a480b33:

  UBUNTU: [Config] updateconfigs (2019-10-04 10:05:16 +0000)

are available in the Git repository at:

  git://git.launchpad.net/~p-pisati/ubuntu/+source/linux e-master-snapdragon

for you to fetch changes up to 67c93f8fba68743a898e475777eaf5e9f8a50329:

  UBUNTU: [Config] arm64: snapdragon: CONFIG_RTC_DRV_PM8XXX=y (2019-10-04 12:22:19 +0000)

----------------------------------------------------------------
Paolo Pisati (70):
      UBUNTU: [Packaging] arm64: snapdragon: introduce a snapdragon flavour
      UBUNTU: [Packaging] arm64: snapdragon: switch kernel format to Image
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8916=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8994=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8996=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8998=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_QCOM_RPMH=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_BAM_DMA=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_HIDMA_MGMT=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_HIDMA=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_COMMON_CLK_QCOM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_CLK_RPMH=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_GCC_8916=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_GCC_8994=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_MMCC_8996=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_GCC_8998=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_HWSPINLOCK_QCOM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_APCS_IPC=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_RPMSG_QCOM_GLINK_RPM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_GENI_SE=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMEM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMD_RPM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMP2P=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMSM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_QFPROM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_SERIAL_QCOM_GENI=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_TSENS=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_QCOM_SMD_RPM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_CLK_SMD_RPM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_RPMSG_QCOM_SMD=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MFD_QCOM_RPM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_SCSI_UFSHCD=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_SCSI_UFSHCD_PLATFORM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_SCSI_UFS_HISI=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MMC_SDHCI=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MMC_SDHCI_PLTFM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_MMC_SDHCI_MSM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_QCOM_SPMI=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_USB_HS=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_QMP=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_UFS=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_USB_HSIC=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_CHIPIDEA_OF=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_EHCI_HCD_PLATFORM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_EXTCON_USB_GPIO=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_FIXED_VOLTAGE=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_GPIO=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_HSIC_USB3503=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_NET_DRIVERS=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_OTG=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_XHCI_PLATFORM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_OHCI_HCD_PLATFORM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_MUSB_HDRC=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3_PCI=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3_OF_SIMPLE=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3_QCOM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_PWM=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_TRIGGER_HEARTBEAT=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_A53PLL=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_CLK_APCS_MSM8916=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_NLS_ISO8859_1=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_USBNET=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_CRYPTO_DEV_QCOM_RNG=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_POWER_RESET_QCOM_PON=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_INPUT_PM8941_PWRKEY=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_KEYBOARD_GPIO=y
      UBUNTU: [Config] arm64: snapdragon: CONFIG_RTC_DRV_PM8XXX=y

 .../abi/5.3.0-16.17/arm64/snapdragon.ignore        |  1 +
 .../5.3.0-16.17/arm64/snapdragon.ignore.modules    |  1 +
 .../5.3.0-16.17/arm64/snapdragon.ignore.retpoline  |  1 +
 debian.master/config/amd64/config.common.amd64     | 30 ++++++++
 debian.master/config/annotations                   |  2 +-
 debian.master/config/arm64/config.common.arm64     |  9 ---
 debian.master/config/arm64/config.flavour.generic  | 84 +++++++++++++++++++++
 .../config/arm64/config.flavour.snapdragon         | 87 ++++++++++++++++++++++
 debian.master/config/armhf/config.common.armhf     | 72 ++++++++++++++++++
 debian.master/config/config.common.ubuntu          | 79 +-------------------
 debian.master/config/i386/config.common.i386       | 30 ++++++++
 debian.master/config/ppc64el/config.common.ppc64el | 31 ++++++++
 debian.master/config/s390x/config.common.s390x     |  2 +
 debian.master/control.d/vars.snapdragon            |  6 ++
 debian.master/etc/getabis                          |  2 +-
 debian.master/rules.d/arm64.mk                     |  8 +-
 16 files changed, 356 insertions(+), 89 deletions(-)
 create mode 100644 debian.master/abi/5.3.0-16.17/arm64/snapdragon.ignore
 create mode 100644 debian.master/abi/5.3.0-16.17/arm64/snapdragon.ignore.modules
 create mode 100644 debian.master/abi/5.3.0-16.17/arm64/snapdragon.ignore.retpoline
 create mode 100644 debian.master/config/arm64/config.flavour.snapdragon
 create mode 100644 debian.master/control.d/vars.snapdragon

Comments

Seth Forshee Oct. 4, 2019, 3:12 p.m. UTC | #1
On Fri, Oct 04, 2019 at 03:30:56PM +0200, Paolo Pisati wrote:
> BugLink: https://bugs.launchpad.net/bugs/1846704
> 
> [Impact]
> 
> Upstream has good support for Qcom Snapdragon SOCs, so enable the Dragonboards
> out of it, isolating all the changes in a 'snapdragon' flavour.
> 
> [Fix]
> 
> Apply the packaging and config changes in the pull request below.
> 
> [How to test]
> 
> Boot the resulting kernel on the db410c / db820c boards.
> 
> [Regression potential]
> 
> No code changes are involved: it's all config work and everything has been
> isolated into its own 'snapdragon' flavour.
> 
> Proposing for Eoan/master.

Given that we only have config differences here I wonder if we could
just make the changes to the generic kernel and not have a flavor at
all. However, this late in eoan it's probably more sensible to go with a
flavor, but we should revisit this in FF.

We also need to do -meta and -signed updates for snapdragon. For the
kernel support:

Acked-by: Seth Forshee <seth.forshee@canonical.com>
Andrea Righi Oct. 7, 2019, 3:38 p.m. UTC | #2
On Fri, Oct 04, 2019 at 03:30:56PM +0200, Paolo Pisati wrote:
> BugLink: https://bugs.launchpad.net/bugs/1846704
> 
> [Impact]
> 
> Upstream has good support for Qcom Snapdragon SOCs, so enable the Dragonboards
> out of it, isolating all the changes in a 'snapdragon' flavour.
> 
> [Fix]
> 
> Apply the packaging and config changes in the pull request below.
> 
> [How to test]
> 
> Boot the resulting kernel on the db410c / db820c boards.
> 
> [Regression potential]
> 
> No code changes are involved: it's all config work and everything has been
> isolated into its own 'snapdragon' flavour.
> 
> Proposing for Eoan/master.

Looks good to me.

Acked-by: Andrea Righi <andrea.righi@canonical.com>

> 
> 
> 
> The following changes since commit 742fb4cce38df7e868fd77ecf988db997a480b33:
> 
>   UBUNTU: [Config] updateconfigs (2019-10-04 10:05:16 +0000)
> 
> are available in the Git repository at:
> 
>   git://git.launchpad.net/~p-pisati/ubuntu/+source/linux e-master-snapdragon
> 
> for you to fetch changes up to 67c93f8fba68743a898e475777eaf5e9f8a50329:
> 
>   UBUNTU: [Config] arm64: snapdragon: CONFIG_RTC_DRV_PM8XXX=y (2019-10-04 12:22:19 +0000)
> 
> ----------------------------------------------------------------
> Paolo Pisati (70):
>       UBUNTU: [Packaging] arm64: snapdragon: introduce a snapdragon flavour
>       UBUNTU: [Packaging] arm64: snapdragon: switch kernel format to Image
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8916=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8994=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8996=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_MSM8998=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_QCOM_RPMH=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_BAM_DMA=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_HIDMA_MGMT=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_HIDMA=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_COMMON_CLK_QCOM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_CLK_RPMH=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_GCC_8916=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_GCC_8994=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_MMCC_8996=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MSM_GCC_8998=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_HWSPINLOCK_QCOM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_APCS_IPC=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_RPMSG_QCOM_GLINK_RPM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_GENI_SE=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMEM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMD_RPM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMP2P=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_SMSM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_QFPROM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_SERIAL_QCOM_GENI=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_TSENS=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_QCOM_SMD_RPM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_CLK_SMD_RPM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_RPMSG_QCOM_SMD=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MFD_QCOM_RPM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_SCSI_UFSHCD=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_SCSI_UFSHCD_PLATFORM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_SCSI_UFS_HISI=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MMC_SDHCI=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MMC_SDHCI_PLTFM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_MMC_SDHCI_MSM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_QCOM_SPMI=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PINCTRL_QCOM_SPMI_PMIC=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_USB_HS=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_QMP=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_UFS=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_PHY_QCOM_USB_HSIC=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_CHIPIDEA_OF=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_EHCI_HCD_PLATFORM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_EXTCON_USB_GPIO=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_REGULATOR_FIXED_VOLTAGE=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_GPIO=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_HSIC_USB3503=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_NET_DRIVERS=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_OTG=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_XHCI_PLATFORM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_OHCI_HCD_PLATFORM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_MUSB_HDRC=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3_PCI=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3_OF_SIMPLE=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_DWC3_QCOM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_PWM=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_TRIGGER_HEARTBEAT=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_A53PLL=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_QCOM_CLK_APCS_MSM8916=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_NLS_ISO8859_1=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_USB_USBNET=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_CRYPTO_DEV_QCOM_RNG=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_POWER_RESET_QCOM_PON=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_INPUT_PM8941_PWRKEY=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_KEYBOARD_GPIO=y
>       UBUNTU: [Config] arm64: snapdragon: CONFIG_RTC_DRV_PM8XXX=y
> 
>  .../abi/5.3.0-16.17/arm64/snapdragon.ignore        |  1 +
>  .../5.3.0-16.17/arm64/snapdragon.ignore.modules    |  1 +
>  .../5.3.0-16.17/arm64/snapdragon.ignore.retpoline  |  1 +
>  debian.master/config/amd64/config.common.amd64     | 30 ++++++++
>  debian.master/config/annotations                   |  2 +-
>  debian.master/config/arm64/config.common.arm64     |  9 ---
>  debian.master/config/arm64/config.flavour.generic  | 84 +++++++++++++++++++++
>  .../config/arm64/config.flavour.snapdragon         | 87 ++++++++++++++++++++++
>  debian.master/config/armhf/config.common.armhf     | 72 ++++++++++++++++++
>  debian.master/config/config.common.ubuntu          | 79 +-------------------
>  debian.master/config/i386/config.common.i386       | 30 ++++++++
>  debian.master/config/ppc64el/config.common.ppc64el | 31 ++++++++
>  debian.master/config/s390x/config.common.s390x     |  2 +
>  debian.master/control.d/vars.snapdragon            |  6 ++
>  debian.master/etc/getabis                          |  2 +-
>  debian.master/rules.d/arm64.mk                     |  8 +-
>  16 files changed, 356 insertions(+), 89 deletions(-)
>  create mode 100644 debian.master/abi/5.3.0-16.17/arm64/snapdragon.ignore
>  create mode 100644 debian.master/abi/5.3.0-16.17/arm64/snapdragon.ignore.modules
>  create mode 100644 debian.master/abi/5.3.0-16.17/arm64/snapdragon.ignore.retpoline
>  create mode 100644 debian.master/config/arm64/config.flavour.snapdragon
>  create mode 100644 debian.master/control.d/vars.snapdragon
> -- 
> bye,
> p.
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Seth Forshee Oct. 7, 2019, 3:55 p.m. UTC | #3
On Fri, Oct 04, 2019 at 03:30:56PM +0200, Paolo Pisati wrote:
> BugLink: https://bugs.launchpad.net/bugs/1846704
> 
> [Impact]
> 
> Upstream has good support for Qcom Snapdragon SOCs, so enable the Dragonboards
> out of it, isolating all the changes in a 'snapdragon' flavour.
> 
> [Fix]
> 
> Apply the packaging and config changes in the pull request below.
> 
> [How to test]
> 
> Boot the resulting kernel on the db410c / db820c boards.
> 
> [Regression potential]
> 
> No code changes are involved: it's all config work and everything has been
> isolated into its own 'snapdragon' flavour.
> 
> Proposing for Eoan/master.

Applied to eoan/master-next, thanks!