Commit Graph

876508 Commits

Author SHA1 Message Date
Justin DeMartino
32c1088cce Example kernel headers header_lib package
This change is foundational for converting many modules that depend on kernel
headers built via the platform build system.

Bug: 143567008
Change-Id: I8c2e33aa0b28e2ec54d924b9650c302691f9c8e8
[rishabhb@codeaurora.org: add logic to iterate over mandatory headers
 and only generate these headers if not already present in
 usr/include/asm. Also export techpack uapi headers.]
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2020-01-18 13:31:06 -08: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
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