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>
Remove a unused header from gpu_bwmon to avoid a compile error.
Change-Id: Ic0dedbad123f5b847e97660159c982c59f42a899
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
This change adds ipc logging ability to spcom driver.
Change-Id: I431a88719c95da1f4ceaf2b655ffc905de1be267
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
Userspace has no accss to QGKI config and remove
redundant QGKI config check.
Change-Id: I156a48ff0b99615b3712d20e0630894d44eb3492
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Remove unsupport enum for uC debug stats to prevent the iomap
leak.
Change-Id: I78a685d6e1d74d724ae75a5839fe7655f21732be
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Enable CVP driver and its clients on DSP for Lahaina.
Change-Id: I128cd923acc5acd7fe499d802718fcf1f8076df7
Signed-off-by: George Shen <sqiao@codeaurora.org>
Current default governor is schedutil, make performance default instead.
Change-Id: I4c889d49187df12985e1f367e4330c2070d7cb74
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>