Commit graph

876,486 commits

Author SHA1 Message Date
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
qctecmdr
f8eb824d11 Merge "soc: spcom: Add ipc logging engine" 2020-01-15 19:51:21 -08:00
qctecmdr
ef80a603f4 Merge "defconfig: lahaina: enable QTI crypto driver" 2020-01-15 19:51:21 -08:00
qctecmdr
18eb929395 Merge "arm64: defconfig: Enable CONFIG_MODULE_SIG to allow module signing" 2020-01-15 19:51:20 -08:00
qctecmdr
6dc1af0dbe Merge "driver: soc: qcom: Fix function prototype" 2020-01-15 19:51:19 -08:00
Tatenda Chipeperekwa
88b8d8a90d defconfig: Lahaina: update external display module config
Enable the external display module for both production and debug
level builds. This module is a utility to manage display interface
and audio codec interactions associated with the cable connect
and disconnect events of the display interfaces.

Change-Id: If4458132955f56aa3809c3fc11d72b3f5fde1a32
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2020-01-15 16:20:55 -08:00
qctecmdr
09294e8e73 Merge "PM / devfreq: Add MODULE_LICENSE for arm-memlat-mon" 2020-01-15 15:14:11 -08:00
Xiaoyu Ye
0c82845119 uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

Change-Id: Iedb5c3d37cd5d59cc5bf6177a7e6448628350fbf
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-01-15 14:38:28 -08:00
Xiaoyu Ye
0d06400c7b uapi: sound: remove redundant QGKI config checks
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.

Change-Id: Ifa4792d581d916b71bb25c9ba5119d1d18a7e4b2
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2020-01-15 14:31:50 -08:00
qctecmdr
028926558f Merge "arm64: defconfig: Enable USB role switch driver on lahaina" 2020-01-15 13:50:29 -08:00
qctecmdr
3db6466154 Merge "msm: cvp: CVP DSP driver restructure for Lahaina" 2020-01-15 13:50:28 -08:00
qctecmdr
ea7552ea1a Merge "clk: qcom: rcg: update the DFS macro for RCG" 2020-01-15 12:26:12 -08:00
qctecmdr
773a2ba763 Merge "msm: cvp: FD support in fence path" 2020-01-15 12:26:11 -08:00
qctecmdr
7adaf062b8 Merge "usb: gadget: Don't perform start xfer with USB BAM endpoint" 2020-01-15 12:26:11 -08:00
Prakruthi Deepak Heragu
1a448d4f1f arm64: defconfig: Enable CONFIG_MODULE_SIG to allow module signing
Enable the config CONFIG_MODULE_SIG to help generate a key to do
module signing.

Change-Id: I8ffebe2ca15a9ad0b1ad7644cd264149dc2653ee
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-01-15 10:44:12 -08:00
Zhen Kong
5b67710ac3 defconfig: lahaina: enable QTI crypto driver
enable QTI crypto and QCEDEV drivers on lahaina.

Change-Id: I4d8d3abcd9c7131aee194ccdc61f963384a195a4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-01-15 10:21:13 -08:00
qctecmdr
2fdd353efb Merge "msm: cvp: Enable CVP driver on DSP" 2020-01-15 09:19:32 -08:00
qctecmdr
1612400ef8 Merge "arm64: defconfig: Enable debug cc clock driver for Lahaina" 2020-01-15 09:19:32 -08:00
qctecmdr
60cf653523 Merge "drivers: thermal: Add support to change thermal zone configuration" 2020-01-15 09:19:32 -08:00
qctecmdr
bbdf78dca9 Merge "dma-mapping-fast: Remap contiguous pages only when needed" 2020-01-15 09:19:31 -08:00
Jordan Crouse
ea2e374e45 driver: soc: qcom: Fix function prototype
Replace a #ifdef with a IS_ENABLED() to allow rpmh master stat to be built
as a module.

Fixes: 6d5e000 ("drivers: soc: qcom: snapshot of sleep drivers for Lahaina")
Change-Id: Ic0dedbad11812a0bd932a9c0099dfb4632842177
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:16 -07:00
Jordan Crouse
646129c1f1 drivers: qcom: Fix a parameter for sysfs_attr_init()
Add back a missing pointer reference.

Fixes: 89f1fad ("drivers: qcom: Add SoC sleep stats driver")
Change-Id: Ic0dedbad6eb8554f34ee366c68092b623f776714
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:15 -07:00
Jordan Crouse
2e840e1daf PM / devfreq: Fix CONFIG check for cache HW monitor prototype
Commit 2094bed752 ("PM / devfreq: Add cache HW monitor governor") brought
in the cache HW monitor with an incorrect check for
CONFIG_DEVFREQ_GOV_QCOM_CACHE_HWMON that fails when the governor is
built as a module.

Change-Id: Ic0dedbadefc4885486660d32226e6dd89e006a11
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:15 -07:00
Jordan Crouse
d54e1fcbed clocks: Add a missing header to clk/qcom/common.h
Add <linux/clk-provider.h> to resolve a dependency for struct clk_hw.

Change-Id: Ic0dedbadbece86ff0a5349edec356f9b211c7989
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:14 -07:00
Jordan Crouse
38a628d44f PM /devfreq: Fix function prototype
Replace #ifdef with IS_ENABLED to make sure that the memlat prototypes
are available for a module build.

Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbade40e23bb148bbb9117c4a9b63e419111
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:14 -07:00
Jordan Crouse
655e48c303 PM / devfreq: memlat: Use the cpumask_pr_args macros
When using the %*pbl printk format a special macro is needed to decode
the cpu mask and format it correctly.

Fixes: 74b58a6 ("PM / devfreq: memlat: Aggregate memlat mons under a controller")
Change-Id: Ic0dedbada86cf9cec02b1a5292aaf05f50c0c42f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:13 -07:00
Jordan Crouse
9b5fe09496 msm: kgsl: Remove unused header from gpu_bwmon
Remove a unused header from gpu_bwmon to avoid a compile error.

Change-Id: Ic0dedbad123f5b847e97660159c982c59f42a899
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:13 -07:00
Jordan Crouse
c226b6e617 thermal: Fix trace_thermal_zone_trip
Commit 50dc9bdad7 ("drivers: thermal: Add a snapshot of thermal
framework") changed the API for trace_thermal_zone_trip but didn't
update all the callers.

Change-Id: Ic0dedbade25d8c1250d389daa3d035dd3522028d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:12 -07:00
Jordan Crouse
fd7a8f7648 dma-buf: Export missing dma_buf_ref_mod symbol
Export dma_buf_ref_mod to avoid the following errors:

  ERROR: "dma_buf_ref_mod" [drivers/gpu/drm/drm.ko] undefined!
  ERROR: "dma_buf_ref_mod" [drivers/gpu/drm/udl/udl.ko] undefined!
  ERROR: "dma_buf_ref_mod" [drivers/gpu/drm/tegra/tegra-drm.ko] undefined!
  ERROR: "dma_buf_ref_mod" [drivers/media/platform/msm/cvp/msm-cvp.ko] undefined!

Change-Id: Ic0dedbadd41dbd537198ec22326494d0a3906f52
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:12 -07:00
Jordan Crouse
4a8505270f iommu: dma-mapping-fast: Export symbols
Export symbols to avoid the following errors:

  ERROR: "fast_smmu_init_mapping" [drivers/iommu/arm-smmu-mod.ko] undefined!
  ERROR: "fast_smmu_put_dma_cookie" [drivers/iommu/arm-smmu-mod.ko] undefined!

Change-Id: Ic0dedbad2b4f1179ea35d87e8189b316a176d3f2
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:11 -07:00
Jordan Crouse
aa46100ccb drivers: pinctrl: Export msm_qup_write
Commit 9c0e5c7054 ("drivers: pinctrl: Add support for read/write of QUP
registers") added msm_qup_write but didn't export it resulting in the
following error:

  ERROR: "msm_qup_write" [drivers/i3c/master/i3c-master-msm-geni.ko] undefined!

Change-Id: Ic0dedbadc6822cc2a8afe69ff71a9cd95e7c8665
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:11 -07:00
Jordan Crouse
5d54b04f0c PM / devfreq: Add MODULE_LICENSE for arm-memlat-mon
Fix the following warning from modpost:

   WARNING: modpost: missing MODULE_LICENSE() in drivers/devfreq/arm-memlat-mon.o

Fixes: a4e0d26 ("PM / devfreq: Introduce a memory-latency governor")
Change-Id: Ic0dedbad2d3462ee407e5f2d5bcb9ded6e6ac83f
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:10 -07:00
Jordan Crouse
1ce2b0454d PM / devfreq: Export tracepoint symbols
The following tracepoints were added to include/trace/events/power.h
but not exported:

  ERROR: "__tracepoint_memlat_dev_update" [drivers/devfreq/governor_memlat.ko]
  ERROR: "__tracepoint_memlat_dev_meas" [drivers/devfreq/governor_memlat.ko]
  ERROR: "__tracepoint_cache_hwmon_update" [drivers/devfreq/governor_cache_hwmon.ko]
  ERROR: "__tracepoint_cache_hwmon_meas" [drivers/devfreq/governor_cache_hwmon.ko]
  ERROR: "__tracepoint_bw_hwmon_update" [drivers/devfreq/governor_bw_hwmon.ko]
  ERROR: "__tracepoint_bw_hwmon_meas" [drivers/devfreq/governor_bw_hwmon.ko]

Change-Id: Ic0dedbadbee6533cba9ae312ab764873ab72a342
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:10 -07:00
Jordan Crouse
dc88f358c8 firmware: qcom-scm: Force built in drivers to depend on QCOM SCM
Some always built-in drivers have a dependency on QCOM SCM so don't enable
them if QCOM SCM is built as a module.

Change-Id: Ic0dedbad472d2a36220126db86d3fcbf817ce53d
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:09 -07:00
Jordan Crouse
137084f0c5 coresight: Remove duplicate Kconfig entries
Commit c69961762f ("coresight: Add snapshot of Coresight cti driver")
accidently added some duplicate Kconfig entries that had been previously
added by commit a47c331396 ("coresight: Add snapshot of Coresight TPDM
and TPDA driver").

Change-Id: Ic0dedbadef390fea5302a46bd64b94f2e1b185f3
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:09 -07:00
Jordan Crouse
c7f16608d4 include: Fixup headers to pass KERNEL_HEADER_TEST
Fix up a bunch of headers so that they pass KERNEL_HEADER_TEST to ensure
that they are self-contained.

Change-Id: Ic0dedbad91f70263452c9a809333fe93c8ee2266
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:08 -07:00
Konstantin Dorfman
5de6d9d39c soc: spcom: Add ipc logging engine
This change adds ipc logging ability to spcom driver.

Change-Id: I431a88719c95da1f4ceaf2b655ffc905de1be267
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
2020-01-15 16:01:03 +02:00
qctecmdr
9195ca3327 Merge "drivers: thermal: Add config sysfs entry support for thermal zones" 2020-01-14 22:59:14 -08:00
qctecmdr
32b02a7652 Merge "hwrng: update qrng driver copyright and license marking" 2020-01-14 21:27:12 -08:00
qctecmdr
7b4f8e2518 Merge "arm64: defconfig: Enable CONFIG_BALANCE_ANON_FILE_RECLAIM on Lahaina" 2020-01-14 17:07:21 -08:00
Ruofei Ma
ae7f592cfc msm: cvp: CVP DSP driver restructure for Lahaina
Restructure CVP DSP driver to enhance error handling path
and accommodate features for future needs.

Change-Id: Icae8110241fa9598a8d570cc1148a00834cda779
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-01-14 17:03:11 -08:00
Mayank Rana
0e99baa56a arm64: defconfig: Enable USB role switch driver on lahaina
USB role switch driver provides framework to allow select USB
device or host mode stack based on detected USB device with
USB port.

Change-Id: Ie3c5886b55d1fd02076ff5b3051d864f80de62f1
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-01-14 16:51:13 -08:00
qctecmdr
9ecc641dee Merge "arm64: defconfig: Enable clean page reclaim tracking on Lahaina" 2020-01-14 15:45:10 -08:00
Mayank Rana
d03e5bc2c1 usb: gadget: Don't perform start xfer with USB BAM endpoint
usb_ep_enable() API performs start xfer command in addition to setting
endpoint configuration. USB BAM endpoint is reconfigured with endless
data transfer with msm_ep_queue() API which performs USB start xfer
command. This command fails as already start xfer command is invoked
previously. With this USB BAM related endpoint won't be configured as
endless. Fix this issue by adding endless flag with USB BAM endpoint.

Change-Id: Ib6ceead6d7e8e49e95ef2953e9140a43adffc0cf
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-01-14 14:54:10 -08:00
Ruofei Ma
8d87d2f22b msm: cvp: FD support in fence path
Add FD support in fench path for Lahaina.

Change-Id: I0f69e286bb54758e255b91b8b6f5fc6e9fa831bc
Signed-off-by: Ruofei Ma <ruofeim@codeaurora.org>
2020-01-14 14:43:27 -08:00
Ram Chandrasekar
e0cb6023dc drivers: thermal: Add support to change thermal zone configuration
Add debug file system node to configure the thermal zone parameters
dynamically. This node will use the same format that is used to print
the configuration of the thermal zone.

Change-Id: I4fd8cdafcb689f4d986738864e31177401f9bc47
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-01-14 13:13:42 -07:00
Vivek Aknurwar
710ec651d6 arm64: defconfig: Enable debug cc clock driver for Lahaina
Enable debug cc clock driver to support clk measure nodes.

Change-Id: I1dfe3959228d2b78e435ab09665ab6d69393839b
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2020-01-14 11:42:05 -08:00
qctecmdr
59d3346dd2 Merge "msm: ipa4: Fix using of tag_desc" 2020-01-14 10:26:58 -08:00
qctecmdr
a446d3a25c Merge "msm:ipa: Address the -Wmisleading-indentation warning" 2020-01-14 09:53:10 -08:00