Commit graph

876,510 commits

Author SHA1 Message Date
Harshdeep Dhatt
73db5bb07d msm: kgsl: Setup LPAC global pagetable
When we unhalt the GC SQE, the microcode also unhalts the
LPAC SQE. Therefore, we need to map the globals to LPAC context
bank as well.

Change-Id: I6749357036dd7bc90d6958a3f805943c8cae92c7
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-01-17 13:18:06 -07:00
Harshdeep Dhatt
d84815d98d msm: kgsl: Check snapshot status after snapshot
A660 gpu has a new register to track whether any interface
signals changed during snapshot capture.

Change-Id: I24ecc9e98c9c2a745518e95419d5b4cf13fe634c
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-01-17 13:18:05 -07:00
Harshdeep Dhatt
e688535a2f msm: kgsl: Update a660 CP indexed register ranges
A660 indexed register ranges have changed, so update snapshot
to dump the new ranges. It is safe to dump the entire range
across all a6x tiers. Also add the easier work around for
dumping mvc registers via mempool indexed registers.

Change-Id: I2491c35a43e6467240bab380136dc1a14f16cb27
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-01-17 13:15:21 -07: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
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
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
Vivekanand Tryambake
9324041614 Revert "defconfig: lahaina: Enable QRNG driver"
This reverts commit 271ad565aa.
Disable QRNG Driver to avoid bootup failure while QRNG generating
0 as handle value.

Change-Id: I1af855670ef56704e67e2948597f474d44b3da48
Signed-off-by: Vivekanand Tryambake <vtryamba@codeaurora.org>
2020-01-15 17:42:41 -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
Raghavendra Rao Ananta
4c592715af soc: pil: Disable error-ready timeout
Disable the timeout where PIL waits for an error-ready
interrupt from the subsystems. This is needed for emulation
platform where the time doesn't scale well with the actual
time.

Change-Id: I9d7bb40c6d490a439c76be116d5968ea43723650
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-01-15 14:47:51 -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
Xiaoyu Ye
6abe975234 uapi: sound: remove redundant QGKI config checks
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>
2020-01-15 11:49:09 -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
Jordan Crouse
e9594a695d msm: cvp: Avoid overflowing the stack frame
Building with llvm generates the following warning:

  drivers/media/platform/msm/cvp//msm_cvp_ioctl.c:611:13: warning: stack frame
  size of 2064 bytes in function 'cvp_ioctl' [-Wframe-larger-than=]

struct cvp_kmd_hfi_packet is 1880 bytes and is a member of a union inside
struct cvp_kmd_arg which eventually triggers the warning. Allocate the
struct from the heap instead.

Fixes: ffe925cbca ("msm: cvp: Port CVP driver to 5.x kernel")
Change-Id: Ic0dedbad82d36b7faade85c3428b1013b527b576
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 11:04:51 -07:00
Elliot Berman
700d4aaf04 arm64: defconfig: Enable RTB driver
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>
2020-01-15 09:44:22 -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
33ed58ae3c devfreq: bwmon: Export symbols
Export symbols to fix the following modpost errors:

  ERROR: "bw_hwmon_sample_end" [drivers/devfreq/bimc-bwmon.ko] undefined!
  ERROR: "register_bw_hwmon" [drivers/devfreq/bimc-bwmon.ko] undefined!
  ERROR: "update_bw_hwmon" [drivers/devfreq/bimc-bwmon.ko] undefined!

Change-Id: Ic0dedbad2f49e98b415a2ded471b2c35b97157a8
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-01-15 09:01:17 -07: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
075f8c3ddf PM / devfreq: memlat: Export symbols
Fix the following modpost errors:

  ERROR: "register_memlat" [drivers/devfreq/arm-memlat-mon.ko] undefined!
  ERROR: "register_compute" [drivers/devfreq/arm-memlat-mon.ko] undefined!

Change-Id: Ic0dedbadbcf146483ec6810e11b8a2e82e399ebd
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