mbox series

[SRU,B/snapdragon] Initial support for Qualcomm Snapdragon 820 chipset

Message ID 20190607152130.GA10832@harukaze
State New
Headers show
Series [SRU,B/snapdragon] Initial support for Qualcomm Snapdragon 820 chipset | expand

Pull-request

git://git.launchpad.net/~p-pisati/ubuntu/+source/linux ec0044f21579ebd0f28031fae8a79028e4a2337c

Message

Paolo Pisati June 7, 2019, 3:21 p.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1832012

Impact:

Although the Bionic/snapdragon kernel contains the BSP from the Qualcomm landing
tree kernel[1], it didn't work on Snapdragon 820 based board (e.g.  Qualcomm
DB820C APQ8096).

Fix:

Import the necessary patches to make it boot on such a board (and clones).

How to test:

1) put the board in fastboot mode[2]
2) generate a compatible boot.img:

$ cat linux/arch/arm64/boot/Image.gz linux/arch/arm64/boot/dts/qcom/apq8096-db820c.dtb > Image.gz+dtb
$ touch ramdisk
$ python android/system/core/mkbootimg/mkbootimg.py --kernel Image.gz+dtb --ramdisk ramdisk --pagesize 4096 --base 0x80000000 --kernel_offset 0x8000 --ramdisk_offset 0x1000000 --tags_offset 0x100 --cmdline 'console=ttyMSM0,115200n8 root=/dev/sda1 net.ifnames=0 init=/lib/systemd/systemd ro rootwait rng_core.default_quality=700 panic=-1 fixrtc earlyprintk earlycon=msm_serial_dm,0x75b0000' --output bionic-snapdragon-db820c-boot.img

3) boot the board using the generated boot.img:

$ fastboot boot bionic-snapdragon-db820c-boot.img

Regression potential:

With new code there's always a degree of regression potential, but all patches
(but one) came from Linus's upstream tree, and the only external one, came
direclty from the qcom-lt 4.14 tree.

1: https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/log/?h=release/qcomlt-4.14
2: https://www.96boards.org/documentation/consumer/dragonboard/dragonboard820c/installation/board-recovery.md.html
--


The following changes since commit 09fbd9934542f562fb7dd18c23f137288f85b14b:

  UBUNTU: Ubuntu-snapdragon-4.15.0-1054.58 (2019-05-16 16:25:23 +0200)

are available in the git repository at:

  git://git.launchpad.net/~p-pisati/ubuntu/+source/linux ec0044f21579ebd0f28031fae8a79028e4a2337c

for you to fetch changes up to ec0044f21579ebd0f28031fae8a79028e4a2337c:

  UBUNTU: fix missing modules (2019-06-07 16:48:33 +0200)

----------------------------------------------------------------
Bjorn Andersson (4):
      scsi: ufs: Extract devfreq registration
      scsi: ufs: Use freq table with devfreq
      PCI: qcom: Fix error handling in runtime PM support
      PCI: qcom: Don't deassert reset GPIO during probe

Paolo Pisati (18):
      UBUNTU: [Config] MSM_GCC_8996=y
      UBUNTU: [Config] MSM_MMCC_8996=y
      UBUNTU: [Config] PHY_QCOM_UFS=y
      UBUNTU: [Config] PINCTRL_MSM8996=y
      UBUNTU: [Config] RPMSG_QCOM_GLINK_RPM=y
      UBUNTU: [Config] SCSI_UFSHCD=y
      UBUNTU: [Config] SCSI_UFSHCD_PLATFORM=y
      UBUNTU: [Config] SCSI_UFS_QCOM=y
      UBUNTU: [Config] USB_DWC3=y
      UBUNTU: [Config] USB_DWC3_QCOM=y
      UBUNTU: [Config] PHY_QCOM_QMP=y
      UBUNTU: [Config] PHY_QCOM_QUSB2=y
      UBUNTU: [Config] PHY_QCOM_USB_HSIC=y
      UBUNTU: [Config] EXTCON_USB_GPIO=y
      UBUNTU: [Config] CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
      UBUNTU: [Config] ATL1C=y
      Revert "PCI: qcom: add runtime pm support to pcie_port"
      UBUNTU: fix missing modules

Rajendra Nayak (1):
      clk: qcom: Register the gdscs before the clocks

Srinivas Kandagatla (1):
      PCI: qcom: add runtime pm support to pcie_port

Vivek Gautam (1):
      scsi: ufshcd: Fix NULL pointer dereference for in ufshcd_init

 .../abi/4.15.0-1053.57/arm64/snapdragon.modules    |  19 ---
 debian.snapdragon/config/config.common.ubuntu      |  42 ++++---
 drivers/clk/qcom/common.c                          |  32 +++---
 drivers/pci/dwc/pcie-qcom.c                        |  68 +++++++----
 drivers/scsi/ufs/ufshcd.c                          | 127 +++++++++++++++------
 5 files changed, 175 insertions(+), 113 deletions(-)

Comments

Paolo Pisati June 17, 2019, 3:29 p.m. UTC | #1
On Fri, Jun 07, 2019 at 05:21:30PM +0200, Paolo Pisati wrote:
> BugLink: https://bugs.launchpad.net/bugs/1832012
...

Ignore this pull request, i'm working on a V2.