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>
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>
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>
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>
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>
Userspace does not have access to QGKI configs,
so remove redundant QGKI config checks.
Change-Id: Ie07f430fc9a172e4388d0e475a21739671beb17a
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
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>
Enable the Register Trace Buffer driver for Lahaina platform
to trace the register reads and writes.
Change-Id: I13434a8884bd113aa188799929a36a41c3068173
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
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>
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>
Add <linux/clk-provider.h> to resolve a dependency for struct clk_hw.
Change-Id: Ic0dedbadbece86ff0a5349edec356f9b211c7989
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
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>
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>
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>