Commit graph

877,558 commits

Author SHA1 Message Date
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
Meng Wang
eaf6f3eb23 uapi: sound: remove redundant QGKI config check
Userspace has no accss to QGKI config and remove
redundant QGKI config check.

Change-Id: I156a48ff0b99615b3712d20e0630894d44eb3492
Signed-off-by: Meng Wang <mengw@codeaurora.org>
2020-01-15 11:23:38 +08:00
Bojun Pan
7d7d8c67b5 msm: IPA: remove unsupport enum for uC debug stats
Remove unsupport enum for uC debug stats to prevent the iomap
leak.

Change-Id: I78a685d6e1d74d724ae75a5839fe7655f21732be
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2020-01-14 18:04:35 -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
Prasad Sodagudi
dbb563fda1 clk: qcom: Fix accessing of clks element during the probe
There is access to platform descriptor clks init.name without
checking, whether clks is present or not. This is leading to
kernel crash during the device bootup. Move the init.name
access after checking whether clks is valid or not.

Change-Id: I7b27e5103822d6b2f499fb5f5e94ae9f9d4af34a
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
2020-01-14 16:07: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
Satya Durga Srinivasu Prabhala
8f8f9811c9 cpufreq: schedutil: fix CPU util when WALT is enabled
Right now, when WALT is enabled, we always end up using utilization
from WALT which is broken as we need to consider uclamp as well.
Fix the issue by taking uclamp into account.

Change-Id: Ie1a06d270a176771fc1c9a2474a27327637fa782
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2020-01-14 12:46:31 -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
qctecmdr
0d4393117c Merge "msm: kgsl: Disable GBIF_CLIENT_QOS on a660v1" 2020-01-14 09:12:00 -08:00
qctecmdr
7d14c95dd6 Merge "msm: kgsl: Skip the intersecting vma" 2020-01-14 08:32:57 -08:00
qctecmdr
90ec49c65d Merge "msm: pcie: correct error check of wakeup source registration" 2020-01-14 07:56:49 -08:00
qctecmdr
4e06ea3fa9 Merge "arm64: defconfig: Enable SMCInvoke driver for Lahaina" 2020-01-14 06:47:48 -08:00
qctecmdr
cf3834f06a Merge "SMCInvoke: Add SMCInvoke driver snapshot for Lahaina" 2020-01-14 06:12:38 -08:00
qctecmdr
8e6ab5e712 Merge "defconfig: change default governor to performance on lahaina" 2020-01-14 05:02:29 -08:00
qctecmdr
fa73190391 Merge "socinfo: Avoid sysfs entry name changes between kernel versions" 2020-01-14 04:27:39 -08:00
qctecmdr
537557d634 Merge "qseecom: update interface as per new scm driver" 2020-01-14 03:52:45 -08:00
qctecmdr
83f329f7a1 Merge "cpufreq: qcom-cpufreq-hw: Initialize the data type for offsets to u16" 2020-01-14 03:14:47 -08:00
qctecmdr
42a64d3afb Merge "clk: qcom: debug: Remove use of hw init" 2020-01-14 02:03:27 -08:00
qctecmdr
3436cc26a2 Merge "clk: qcom: Add debug cc clk measure nodes for Lahaina" 2020-01-14 01:28:06 -08:00
qctecmdr
9e6b76505b Merge "arm64: defconfig: Enable poweroff driver for Lahaina GKI" 2020-01-13 23:22:51 -08:00
qctecmdr
cc79110ab0 Merge "power: reset: Add snapshot of msm-poweroff" 2020-01-13 22:19:13 -08:00
qctecmdr
9281a8d0bd Merge "fs/buffer.c: Revoke LRU when trying to drop buffers" 2020-01-13 21:37:59 -08:00
qctecmdr
3f84a5f0f3 Merge "arm64: defconfig: Remove CONFIG_SPS from lahaina_debug.config" 2020-01-13 20:28:28 -08:00
Isaac J. Manjarres
a31c95b2c6 arm64: defconfig: Enable CONFIG_BALANCE_ANON_FILE_RECLAIM on Lahaina
Enable CONFIG_BALANCE_ANON_FILE_RECLAIM on Lahaina so that
anonymous pages and file backed pages are treated the same
during memory reclaim.

Change-Id: Id0b1657391ea610ea675cb8f8c15e14efa357875
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-13 18:33:08 -08:00
Isaac J. Manjarres
1b7137bae4 arm64: defconfig: Enable clean page reclaim tracking on Lahaina
Enable CONFIG_VM_EVENT_COUNT_CLEAN_PAGE_RECLAIM on Lahaina
to add clean page reclaim to the set of VM events that the
kernel tracks.

Change-Id: I3531024b2d09264bb6032aa55d8c4cd511289d35
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-13 18:32:08 -08:00
Isaac J. Manjarres
c7e9571e87 iommu/arm-smmu: Fix memory leak with respect to TBU data structures
When the TBU devices unbind from the TBU driver, all of the
resources acquired through the devm_* functions are released.
However, the interconnect resources are not acquired through the
devm_* APIs.

Since the TBU driver does not have a remove() call to release the
interconnect resources, this results in a memory leak. Fix this by
adding a remove() call to release the interconnect resources on
device and driver unbind.

Change-Id: Iac6b5a6b1da7ff989ae36775b39c5fa61294270a
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-13 17:19:19 -08:00
qctecmdr
f880aa4bff Merge "mm: vmstat: add pageoutclean" 2020-01-13 17:08:53 -08:00
George Shen
03d9874a04 msm: cvp: Enable CVP driver on DSP
Enable CVP driver and its clients on DSP for Lahaina.

Change-Id: I128cd923acc5acd7fe499d802718fcf1f8076df7
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-01-13 16:39:42 -08:00
Shaleen Agrawal
0d33854700 defconfig: change default governor to performance on lahaina
Current default governor is schedutil, make performance default instead.

Change-Id: I4c889d49187df12985e1f367e4330c2070d7cb74
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
2020-01-13 14:56:00 -08:00
Zhen Kong
2d52f1c52a hwrng: update qrng driver copyright and license marking
update qrng driver copyright and license marking.

Change-Id: Id03224edee06808b2322276bd1141f56f12c5eb4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-01-13 14:50:59 -08:00