Commit Graph

1073482 Commits

Author SHA1 Message Date
Xubin Bai
ed6717bcb8 clk: qcom: videocc-pineapple: Add support for video clock driver
Add support for video clock controller for peripheral clock
clients to be able to request for video cc clocks.

Change-Id: I8f9e5ab16d18600c59605550a59228abbda11b3f
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-05-06 01:34:36 -07:00
qctecmdr
301f2078bd Merge "mem-buf: Take a snapshot of mem-buf-exporter.h from msm-5.15" 2022-05-04 19:03:45 -07:00
qctecmdr
6631289b86 Merge "arm64: defconfig: Add support for QCOM USB subsystem" 2022-05-04 12:47:13 -07:00
qctecmdr
6b1d10529a Merge "soc: qcom: smem: validate fields of shared structures" 2022-05-04 10:30:20 -07:00
Wesley Cheng
97c04070f3 arm64: defconfig: Add support for QCOM USB subsystem
Enable configurations for DWC3 MSM and EMU USB PHY drivers.

Change-Id: If725c0a2627c34bb2ee6305f88412c6caffc31be
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-05-04 10:00:48 -07:00
qctecmdr
816396e98a Merge "soc: qcom: smem: map only partitions used by local HOST" 2022-05-03 14:14:55 -07:00
Guru Das Srinagesh
3465d8be3c abi_gki_aarch64_qcom: Update list of symbols
Add symbols currently present on kalama as of msm-5.15
'commit 1701298d2205 ("Merge "defconfig:kalama_consolidate: Enable
CONFIG_UFS_DBG"").

Change-Id: Ie9570f48bbcef1c32e49f629e079cf7af0f572a9
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-05-02 12:18:07 -07:00
qctecmdr
907c83ab56 Merge "android: abi_gki_aarch64_qcom: Add USB driver symbols to ABI" 2022-04-29 20:41:38 -07:00
qctecmdr
aec4ceae3c Merge "modules.list.msm.pineapple: Add gcc clock module" 2022-04-29 12:52:56 -07:00
Wesley Cheng
407422ffae android: abi_gki_aarch64_qcom: Add USB driver symbols to ABI
Add the required APIs utilized by the USB drivers to the ABI symbol list.

Change-Id: I9797ab4e71438c4ddbb9f06fc3c2e3dbb91acb5e
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-04-29 11:18:43 -07:00
qctecmdr
ce693c08de Merge "build.config.msm.gki: Add sanity_check_abi()" 2022-04-28 21:00:17 -07:00
Chris Goldsworthy
e117a3efa4 mem-buf: Take a snapshot of mem-buf-exporter.h from msm-5.15
Take a snapshot of the qcom-dma-mapping.h header as of commit
f843a80d2c45 ("Merge "defconfig: gen3auto: Separated if_changed"") on
msm-5.15, excluding any Gunyah references (as the Gunyah driver has
yet to be ported).

Change-Id: I0549feb28eedb80668f1233576c365aefc3a8e6e
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-04-28 20:36:58 -07:00
Guru Das Srinagesh
104be1a452 build.config.msm.gki: Add sanity_check_abi()
When running build_abi.sh, mixed build is explicitly disabled. In that
case, turn on some options for trimming and strict mode which would
normally be disabled because they conflict with mixed build.

Change-Id: I545705e14c2f55b72986e579724713de95e08dfd
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
2022-04-28 20:07:40 -07:00
qctecmdr
94d5b2aa9c Merge "abi_gki_aarch64_qcom: Add necessary symbols for SCM driver" 2022-04-28 18:37:11 -07:00
qctecmdr
82665d760a Merge "pineapple: Add USB modules to modules.list.msm.pineapple" 2022-04-28 16:21:11 -07:00
Xubin Bai
98850227ae modules.list.msm.pineapple: Add gcc clock module
Add gcc-pineapple.ko in modules.list.msm.pineapple, this ensures
that the gcc-pineapple module is loaded automatically from the
first stage RAM disk image during Linux kernel boot up.

Change-Id: I3a177eeaf625f5cd8d2c27b43b501534dc09c695
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-04-28 09:15:28 -07:00
Xubin Bai
c7bcb7855b defconfig: pineapple-gki: Enable gcc clock driver
Enable gcc clock driver to support global clock for peripherals.

Change-Id: Iae1f28515d80e7dafb99f59e8b22cece7b1a7847
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-04-28 09:15:18 -07:00
Xubin Bai
bbf27d45d3 clk: qcom: vdd-level: Add required vdd level 'TURBO_L1'
Add required vdd level 'TURBO_L1' for Pineapple gcc.

Change-Id: Ib7b4cd22b0e90ca4729a739273ca5d62a6695f63
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-04-28 09:14:59 -07:00
Xubin Bai
7c9525c6b6 clk: qcom: gcc-pineapple: Add initial GCC clock driver
Add support for global clock controller for peripheral clock
clients to be able to request clocks for Pineapple.

Change-Id: I9548e8bc0e87d9fbb9abfdcc333af8576081c453
Signed-off-by: Xubin Bai <quic_xubibai@quicinc.com>
2022-04-28 07:01:31 -07:00
Huang Yiwei
b91a83b811 soc: qcom: socinfo: Add PINEAPPLE soc id
Add PINEAPPLE mapping from SOC ID -> name.

Change-Id: I5616f82d2645ae1890557293c17cb0c806b6c1c5
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-28 10:34:08 +08:00
Chris Goldsworthy
f79070bcf8 qcom-dma-mapping: Take a snapshot of qcom-dma-mapping.h from msm-5.15
Take a snapshot of the qcom-dma-mapping.h header as of commit
f843a80d2c45 ("Merge "defconfig: gen3auto: Separated if_changed"") on
msm-5.15.  Additionally, add the stubbed versions of the
DMA_ATTR_SYS_CACHE_ONLY and DMA_ATTR_SYS_CACHE_ONLY_NWA attributes, as
these are yet to be merged upstream.

Change-Id: I3267f809622239ff13f0599d3a32c00b1dbf9f30
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-04-27 19:26:47 -07:00
Wesley Cheng
7d254d8653 pineapple: Add USB modules to modules.list.msm.pineapple
Add DWC3 and EMU PHY related modules to the module list.

Change-Id: If0836806531d3964172efffbba5abc838337677c
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-04-27 17:02:42 -07:00
Wesley Cheng
3e7e062372 usb: dwc3: Add snapshot of DWC3 drivers
Snapshot of the downstream DWC3 drivers based on msm-5.15.
commit 4c957648c2ae ("Merge "usb: dwc3-msm-core: Remove
redundant dwc3_msm_set_clk_sel calls"").

Change-Id: Ifad5bc07dec41ba1edd32322940e171f198f2508
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-04-27 17:02:42 -07:00
Wesley Cheng
a5f8942a16 usb: phy: Add snapshot of USB PHY drivers
Snapshot of the downstream USB PHY drivers based on msm-5.15.
commit 00801f75c3b8 ("Merge "msm: Add initial support for
Khaje in Kconfig platform"").

Change-Id: If7560e3f279d6d14e7356dd911a69cec3165ae05
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
2022-04-27 16:59:45 -07:00
Deepak Kumar Singh
ab4c01c731 soc: qcom: smem: validate fields of shared structures
Structures in shared memory that can be modified by remote
processors may have untrusted values, they should be validated
before use.

Adding proper validation before using fields of shared
structures.

Change-Id: I0004490b55595b112bb5a6bfb02c0999ea76e175
Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1646147913-15791-2-git-send-email-quic_deesin@quicinc.com
Git-commit: f1383348ad
Git-repo: https://github.com/andersson/kernel.git
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-04-27 14:34:50 -07:00
Deepak Kumar Singh
75fc4e4b87 soc: qcom: smem: map only partitions used by local HOST
SMEM driver is IO mapping complete region and CPU is doing a speculative
read into a partition where local HOST does not have permission resulting
in a NOC error.

Map only those partitions which are accessibly to local HOST.

Change-Id: I30dca55c52d439ac9b54449b6a35b86ca6ac35fb
Signed-off-by: Deepak Kumar Singh <quic_deesin@quicinc.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1646147913-15791-1-git-send-email-quic_deesin@quicinc.com
Git-commit: 20bb6c9de1
Git-Repo: https://github.com/andersson/kernel.git
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-04-27 14:34:35 -07:00
qctecmdr
0a2f06a0a3 Merge "soc: qcom: Add snapshot of minidump driver" 2022-04-27 12:12:28 -07:00
qctecmdr
d39513b72f Merge "soc: qcom: Add snapshot of watchdog driver" 2022-04-27 12:12:27 -07:00
Huang Yiwei
fafe592c8d abi_gki_aarch64_qcom: Add necessary symbols for SCM driver
Add necessary symbols for SCM driver.

Change-Id: I18b4cffe26d0852eaf46f844388619b08a9dd4ea
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-27 19:47:43 +08:00
qctecmdr
fd253fa298 Merge "secure_buffer: Port a snapshot of the secure-buffer driver" 2022-04-22 15:33:36 -07:00
qctecmdr
4325803d1c Merge "soc: qcom: Add snapshot of memory dump driver" 2022-04-22 12:20:07 -07:00
qctecmdr
1c7cf63f87 Merge "secure_buffer: Add the secure_buffer.h header file" 2022-04-21 16:30:53 -07:00
Chris Goldsworthy
69b737bb70 secure_buffer: Port a snapshot of the secure-buffer driver
Take a snapshot of the secure-buffer driver as of commit f843a80d2c45
("Merge "defconfig: gen3auto: Separated if_changed"") on msm-5.15.
secure_buffer.h is already merged.

Change-Id: I98cfe097d6b3b332a8a1a6ab2e42f090308585d3
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-04-21 13:33:38 -07:00
Chris Goldsworthy
9b3ea8593a secure_buffer: Add the secure_buffer.h header file
Take a snapshot of the secure_buffer.h file as of commit f843a80d2c45
("Merge "defconfig: gen3auto: Separated if_changed"") on msm-5.15.

Change-Id: Ic6f1b59ead3bb2947d05ed3d2ea0eecf70597fe7
Signed-off-by: Chris Goldsworthy <quic_cgoldswo@quicinc.com>
2022-04-21 13:33:38 -07:00
qctecmdr
4726ba2157 Merge "defconfig:pineapple_consolidate: Enable CONFIG_UFS_DBG" 2022-04-21 06:05:43 -07:00
Huang Yiwei
1ce2d41f84 soc: qcom: Add snapshot of minidump driver
This is a snapshot of the minidump driver as of msm-5.15
commit <908a517b050d> ("Merge "sched/walt: remove duplicate
definitions of rt_task_arrival_time"").

Change-Id: I47eba0f9aedb1732724b94f567404287378c6189
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-21 18:55:13 +08:00
Can Guo
2fe724d3cc defconfig:pineapple_consolidate: Enable CONFIG_UFS_DBG
Enable UFS debug features for consolidate build.

Change-Id: Iad925570af96eb1490010c8582ad12f1215d23c3
Signed-off-by: Can Guo <quic_cang@quicinc.com>
2022-04-21 01:07:36 -07:00
Bao D. Nguyen
c905f4e5f4 scsi: ufs: Add configuration option for UFS debug support
Add CONFIG_UFS_DBG option to support UFS debug features.

Change-Id: I98fb46223b74da587f265d96abd51526f0b488fd
Signed-off-by: Bao D. Nguyen <quic_nguyenb@quicinc.com>
Signed-off-by: Can Guo <quic_cang@quicinc.com>
2022-04-21 00:54:14 -07:00
Huang Yiwei
c06fec2f03 soc: qcom: Add snapshot of watchdog driver
This is a snapshot of the soc watchdog, gunyah
watchdog and watchdog core driver as of msm-5.15
commit <908a517b050d> ("Merge "sched/walt: remove
duplicate definitions of rt_task_arrival_time"").

Change-Id: I78134e1b42e0abd74c3b4630c135715ee959afa1
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-21 14:06:26 +08:00
qctecmdr
686aa245d9 Merge "soc: qcom: Add snapshot of cpu vendor hooks driver" 2022-04-20 19:12:34 -07:00
qctecmdr
490cb81275 Merge "power: reset: Add snapshot of qcom-dload-mode driver" 2022-04-20 12:25:15 -07:00
qctecmdr
e05c2a8819 Merge "soc: qcom: Add snapshot of socinfo driver" 2022-04-20 10:04:09 -07:00
qctecmdr
8f3a41f605 Merge "build.config.msm.gki: Enable downstream symbol trimming" 2022-04-20 10:04:08 -07:00
Huang Yiwei
80fc3aba43 power: reset: Add snapshot of qcom-dload-mode driver
This is a snapshot of the qcom-dload-mode driver as of msm-5.15
commit <908a517b050d> ("Merge "sched/walt: remove duplicate
definitions of rt_task_arrival_time"").

Change-Id: I267e2ef3d4d86aba285e38d8b03ce5f3037d3c13
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-20 20:18:31 +08:00
Huang Yiwei
8979557e1e soc: qcom: Add snapshot of memory dump driver
This is a snapshot of the memory dump driver as of msm-5.15
commit <908a517b050d> ("Merge "sched/walt: remove duplicate
definitions of rt_task_arrival_time"").

Change-Id: If6fd016ee13340ec90cdd6f34bbc87293f5a39ee
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-20 19:52:07 +08:00
Huang Yiwei
15d0a17a18 soc: qcom: Add snapshot of socinfo driver
This is a snapshot of the socinfo driver as of msm-5.15
commit <908a517b050d> ("Merge "sched/walt: remove duplicate
definitions of rt_task_arrival_time"").

Change-Id: Ib969b851ccbfc5651259aba5872575d0fa3994db
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-20 19:26:28 +08:00
Huang Yiwei
d4a31c35fb soc: qcom: Add snapshot of cpu vendor hooks driver
This is a snapshot of the cpu vendor hooks driver as of
msm-5.15 commit <908a517b050d> ("Merge "sched/walt: remove
duplicate definitions of rt_task_arrival_time"").

Change-Id: Ia878a0e8ac111bd6247382539a159f16f641de0a
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-20 18:20:14 +08:00
Huang Yiwei
afb375e663 soc: qcom: Add snapshot of qcom_logbuf_vendor_hooks
This is a snapshot of the qcom_logbuf_vendor_hooks as of
msm-5.15 commit <908a517b050d> ("Merge "sched/walt: remove
duplicate definitions of rt_task_arrival_time"").

Change-Id: I4e409c56acc59c38fcd7fdc10e03c3edb81ee1a3
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-04-20 17:09:33 +08:00
qctecmdr
e80d68e98c Merge "soc: qcom: Add snapshot of Core Hang Detection driver" 2022-04-19 23:10:45 -07:00
qctecmdr
75f80cd65e Merge "soc: qcom: Add snapshot of reboot reason driver" 2022-04-19 20:45:40 -07:00