Commit graph

876,549 commits

Author SHA1 Message Date
Can Guo
2785ed4f7f arm64: defconfig: Enable SG support in Lahaina GKI
Enable SG driver to enable IOCTL access through sg devices.

Change-Id: I16a6b31ea9534ff7eec3df9ccc47f914603ecf05
Signed-off-by: Can Guo <cang@codeaurora.org>
2020-01-23 00:05:37 -08:00
qctecmdr
9bbfc83048 Merge "cnss2: NULL terminate FW build ID string" 2020-01-22 11:55:37 -08:00
qctecmdr
9cf1fba397 Merge "input: touchscreen: Enable FTS Touch driver" 2020-01-22 11:55:36 -08:00
qctecmdr
58b8b1c859 Merge "soc: qcom: Add module dependence for spss_utils" 2020-01-22 11:55:36 -08:00
qctecmdr
0fdf10b672 Merge "Revert "cnss2: Add support to monitor PM QOS votes"" 2020-01-22 11:55:36 -08:00
qctecmdr
cbcb40d51d Merge "qcom: soc_sleep_stats: Correctly read accumulated sleep length" 2020-01-22 11:55:34 -08:00
qctecmdr
543ab4a62b Merge "soc: qcom: pmic_glink: add support for multiple pmic_glink devices" 2020-01-22 11:55:34 -08:00
qctecmdr
c8de901940 Merge "ion: Make MSM pool auto refill built-in only" 2020-01-22 11:55:34 -08:00
qctecmdr
4d9b0e873d Merge "clk: qcom: Fix accessing of clks element during the probe" 2020-01-22 11:55:34 -08:00
qctecmdr
026ff13b2f Merge "NFC: Add support to get NFC interface type" 2020-01-22 11:55:33 -08:00
qctecmdr
aa3ad04eac Merge "msm: ipa: clear the ipa pipeline before any ep config" 2020-01-22 11:55:33 -08:00
qctecmdr
3a4e5978ef Merge "iommu/arm-smmu: Replace while loop with for_each_set_bit" 2020-01-21 08:48:18 -08:00
qctecmdr
94e0b5746e Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-21 08:48:17 -08:00
qctecmdr
e5d3e34590 Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-21 08:48:16 -08:00
Michael Adisumarta
2515833a73 msm: ipa: clear the ipa pipeline before any ep config
The packets on IPA RX pipe 0 are route back to IPA TX pipe 0
which is causing the IPA stall. This fix allows to clear ipa
pipeline for ep config such as set/reset DMA mode
for rmnet tethering config.

Change-Id: Idd923f67bebfbc0aed8afcd0ea94a175ff691395
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-01-20 13:54:58 -08:00
Manikandan Mohan
6db3fa0974 Revert "cnss2: Add support to monitor PM QOS votes"
This reverts commit Ida5128ae0ed9335be17ea220d6d26a386d35ac02.
PM QOS feature is moved to qcacld driver.

Change-Id: Ia6181b90b462ce1e1dd02e3f9e01746e566c88af
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-01-20 12:29:52 -08:00
qctecmdr
6da1fc6d98 Merge "interconnect: qcom: Change bcm voter initlevel" 2020-01-20 07:23:37 -08:00
qctecmdr
496291b53a Merge "arm64: defconfig: Enable CMA debug configs on Lahaina" 2020-01-20 07:23:37 -08:00
Karthik Poosa
af944fff10 NFC: Add support to get NFC interface type
Add new ioctl NFC_GET_PLATFORM_TYPE to get the NFC
interface type. This is used by the NFC HAL to 
do the firmware download according to the interface
type.

Change-Id: I45e8c4814e04348daa88c8b7a026bd44fa84163a
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-01-20 15:05:45 +05:30
qctecmdr
f22a034b4c Merge "cpufreq: schedutil: fix CPU util when WALT is enabled" 2020-01-19 23:48:12 -08:00
qctecmdr
fa10563f7d Merge "interconnect: qcom: Add sync_state for Lahaina QNOC" 2020-01-19 23:48:12 -08:00
qctecmdr
c0dac684fd Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-19 23:48:12 -08:00
qctecmdr
131058b76a Merge "uapi: sound: remove redundant QGKI config check" 2020-01-19 23:48:11 -08:00
Meng Wang
3ea63ceb53 uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

CRs-Fixed: 2603947
Change-Id: I712525434311c48d4046cb7fa1aca2add89eb23e
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
2020-01-17 16:46:31 -08:00
Maulik Shah
bb396fa20a qcom: soc_sleep_stats: Correctly read accumulated sleep length
Correct the offset to read accumulated sleep length.

Change-Id: I7b05c85cb1664762781dfd6bd1917708e276f429
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-01-17 12:18:21 +05:30
Chris Goldsworthy
240d6f5367 iommu/arm-smmu: Replace while loop with for_each_set_bit
Switch out a while loop that loops over the set bits in a bitmap with
for_each_set_bit.

Change-Id: I8843a0b36906979a09122a8ccb07c8081278bf3b
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2020-01-16 21:57:10 -08:00
Prakash Gupta
aa4926dd8d iommu/arm-smmu: enhance tlb sync timeout handler
Enhance TLB sync timeout handler. Parse debug registers to identify TBU/TCU
invalidation or SYNC pending state and dump appropriate TBU testbus data
accordingly.

Example output:
arm-smmu 15000000.apps-smmu: TLB sync timed out -- SMMU may be deadlocked
TBU ACK 0x3f0000 TBU PWR 0x3f TCU sync_inv 0x1000d5
arm-smmu 15000000.apps-smmu: TCU invalidation completed, TCU sync pending
arm-smmu 15000000.apps-smmu: TBU PWR status 0x3f
arm-smmu 15000000.apps-smmu: TBU sync ack pending for TBU
150d9000.adsp_tbu, check pending transactions on TBU.

Change-Id: If9ca9dcaf26f06ee9b4204771631425cec52f95b
Signed-off-by: Prakash Gupta <guptap@codeaurora.org>
Signed-off-by: Chris Goldsworthy <cgoldswo@codeaurora.org>
2020-01-16 19:42:12 -08:00
Xiaoyu Ye
f494801035 uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

Change-Id: I1d5167e482478e63381b7f36c3119558a466e5f7
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-01-16 19:34:58 -08:00
Subbaraman Narayanamurthy
154dc9d0de soc: qcom: pmic_glink: add support for multiple pmic_glink devices
Currently, pmic_glink driver supports a single Glink channel of
name PMIC_RTR_ADSP_APPS. Add support for another Glink channel of
name PMIC_LOGS_ADSP_APPS through which logs or debug information
can be shared to HLOS from the remote subsystem.

As of now, pmic_glink rpmsg driver is registered when pmic_glink
platform driver is probed. This doesn't work well when multiple
pmic_glink devices need to be supported because of the way that
kernel device framework thinks the same rpmsg device is being
registered again. Fix this by registering pmic_glink platform
and rpmsg drivers from module_init().

Change-Id: Ia3a7777d39e94557e6cdf2d72675614581e67572
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-01-16 18:46:15 -08:00
Yue Ma
543a8ac575 cnss2: NULL terminate FW build ID string
If FW build ID passed by QMI from firmware is a non-NULL terminated
string, it will result in a out-of-bounds read when driver populates
the QMI message using strlcpy where the src string must be NULL
terminated. Hence manually NULL terminate the string.

Change-Id: I8e27c01eae79e56afd1a706d071b4ccfa51d79e0
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-01-16 16:41:07 -08:00
Isaac J. Manjarres
103eb3b3d9 arm64: defconfig: Enable CMA debug configs on Lahaina
Enable CMA_DEBUGFS and CMA_DEBUG on Lahaina debug builds to collect
information about CMA statistics/allocation times through
DEBUGFS.

Change-Id: Iae10513210c85ad32101720b9ee57ac5fe49d6fb
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-16 13:16:38 -08:00
Isaac J. Manjarres
8d0b09d4f2 Revert "mm: cma: make writeable CMA debugfs optional"
This reverts commit 099c0c9a64.
CONFIG_CMA_DEBUGFS is only enabled in debug builds on 5.4+
and the purpose of this commit is to disallow CMA allocations
through debugfs on production builds. Since, this is no longer
possible, revert this change.

Change-Id: If1f322533660bfc7609fb09a5b13ff2ecbbe3135
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-16 13:16:30 -08:00
Jordan Crouse
01882490f0 ion: Make MSM pool auto refill built-in only
When built as a module, msm_ion_heaps.ko is missing the following
generic unexported symbols:

  ERROR: "__next_zones_zonelist" [drivers/staging/android/ion/heaps/msm_ion_heaps.ko] undefined!
  ERROR: "zone_watermark_ok_safe" [drivers/staging/android/ion/heaps/msm_ion_heaps.ko] undefined!

Make ION_POOL_AUTO_REFILL depend on ION_MSM_HEAPS=y which should make
sure that the symbols are only used when the driver is built in.

Change-Id: Ic0dedbadc048743b9f92070af97ef2656e78a0ab
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-16 13:48:12 -07:00
Konstantin Dorfman
39778e8bb7 soc: qcom: Add module dependence for spss_utils
The spss_utils driver has a functional dependence on subsys-pil-tz module.
When subsys-pil-tz module not yet registered into PIL framework, need to
defer spss_utils probe.

Also redundant input parameters sanity checks are removed.

Change-Id: I48a934b0477d5d781c041243cc8b28dacd343375
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
2020-01-16 21:22:35 +02:00
qctecmdr
059aa413d9 Merge "soc: pil: Disable error-ready timeout" 2020-01-16 10:53:39 -08:00
qctecmdr
bbf404ed4b Merge "defconfig: Enable DCC driver for GKI" 2020-01-16 10:53:39 -08:00
qctecmdr
3be4bf9d9b Merge "Revert "defconfig: lahaina: Enable QRNG driver"" 2020-01-16 10:53:38 -08:00
qctecmdr
ea08467f55 Merge "msm: cvp: Avoid overflowing the stack frame" 2020-01-16 09:15:14 -08:00
qctecmdr
f26239f965 Merge "msm: IPA: remove unsupport enum for uC debug stats" 2020-01-16 09:15:13 -08:00
qctecmdr
76fbbd8b26 Merge "devfreq: bwmon: Export symbols" 2020-01-16 07:50:02 -08:00
qctecmdr
6fe62bb042 Merge "drivers: lpm-levels: Use cpu_do_idle for shallower LPM entry" 2020-01-16 04:59:06 -08:00
Fei Mao
de0dffc367 input: touchscreen: Enable FTS Touch driver
Enable the FTS touch driver for Lahaina device.

Change-Id: Ia576ba69ebb45c5ae6cb087607026cc812cdc1ed
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-01-16 19:25:35 +08:00
chenx
1533b6cd8c input: touchscreen: Add STMicroelectronics Touchscreen driver
This is the reference source driver code from ST Microelectronics.

Change-Id: I7319385daedf19761428fbd5542069d63f7192d5
Signed-off-by: chenx <chenxiang0527@thundersoft.com>
Git-commit: 0f965cac4d6bf76bcd7b6221228b814532e59463
Git-repo: https://source.codeaurora.org/external/thundersoft/ihvjointlab/sensor-driver/log/?h=STMicroelectronics_ctp_V4.1.0_2019
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-01-16 19:00:26 +08:00
qctecmdr
81738d81be Merge "NFC: Made the QTI NFC drivers GKI compliant" 2020-01-16 02:43:27 -08:00
Raghavendra Kakarla
46a5d61d7c drivers: lpm-levels: Use cpu_do_idle for shallower LPM entry
dsb should be invoked before wfi instruction without which
core can get stuck or do not respond to IPIs. Use cpu_do_idle
that invokes both dsb and wfi instructions for shallower mode
entry.

Change-Id: I2e9d2317048781590a626a0b3d93f23bbf9eb496
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-01-16 02:31:29 -08:00
qctecmdr
4d796e7914 Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-15 23:34:33 -08:00
qctecmdr
0bf9058314 Merge "arm64: defconfig: Enable RTB driver" 2020-01-15 23:34:32 -08:00
qctecmdr
92e197aa3f Merge "uapi: sound: remove redundant QGKI config checks" 2020-01-15 23:34:32 -08:00
qctecmdr
bfb351e26d Merge "defconfig: Lahaina: update external display module config" 2020-01-15 23:34:32 -08:00
Karthik Poosa
5e2a9b4b62 NFC: Made the QTI NFC drivers GKI compliant
Removed circular dependency of nfc_common.c on NFC I2C and I3C drivers,
by setting interface specific API for nfc read,write,enable and disable
interrupts, in the interface drivers.

Change-Id: I66587d39ad92556d6e8fda3281e7bbcf1980683d
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-01-16 09:22:43 +05:30