Commit graph

877,264 commits

Author SHA1 Message Date
qctecmdr
9dbfc30013 Merge "msm: adsprpc: Separate header and non-ion copy buffer" 2020-02-03 10:02:58 -08:00
qctecmdr
bc32d2eae3 Merge "psi: print threshold time in decimal" 2020-02-03 10:02:58 -08:00
qctecmdr
c5a3cd9798 Merge "psi: Improve ftrace events" 2020-02-03 10:02:58 -08:00
qctecmdr
05aa0d2b11 Merge "Revert "devfreq: bimc_bwmon: Add support to enable BWMON clks"" 2020-02-03 10:02:57 -08:00
qctecmdr
d31d815440 Merge "defconfig: enable QSEECOM as a GKI module" 2020-02-03 10:02:57 -08:00
Patrick Daly
06c992a215 psi: Improve ftrace events
Improve readability of logs by converting hex values to decimal,
and printing memstall deltas instead of absolute values.

Change-Id: I43f21dd9817b540184ce05fd7151459d3502ea28
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-03 07:16:06 -08:00
Charan Teja Reddy
1cbe72d6d1 psi: print threshold time in decimal
Print the threshold registered for a trigger in decimal, which is
more readable.

Change-Id: Ia10bd233845446be62a4ea9d2232ff1ba638c50e
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-03 07:07:38 -08:00
Vinayak Menon
82d43a89ab psi: use proper accessor
Use proper accessor for high watermark access.

Change-Id: I381bc58455c55c33ebaf2e87dc5ad79131f2f5b5
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-03 07:05:39 -08:00
Merugu Tharun Kumar
d13d494e73 msm: adsprpc: Separate header and non-ion copy buffer
Separate header buffer and non-ion copy buffers allocation
to avoid virtual address over allocation and
some improvement in latency with non-ion buffers.

Change-Id: I9f5e3bbb974dc7b1db92e386b980fd2d8b4f08aa
Acked-by: Deepika Singh <dsi@qti.qualcomm.com>
Signed-off-by: Merugu Tharun Kumar <mtharu@codeaurora.org>
2020-02-03 15:35:49 +05:30
qctecmdr
43ee86678a Merge "kernel headers: Update comparison logic" 2020-02-02 22:53:45 -08:00
qctecmdr
26050e6298 Merge "iommu/arm-smmu: Use an atomic context when fastmap is set on GKI" 2020-02-02 22:53:45 -08:00
qctecmdr
ee8ffbd537 Merge "msm: pcie: remove PCI_MSM_MSI dependencies" 2020-02-02 22:53:44 -08:00
qctecmdr
468252545c Merge "qseecom: use of_reserved_mem_lookup to get heap base and size" 2020-02-02 22:53:44 -08:00
qctecmdr
a84f2264eb Merge "iommu: iommu-debug: Fix return code for iommu_debug_dma_unmap_write" 2020-02-02 22:53:44 -08:00
qctecmdr
8553d92931 Merge "iommu: io-pgtable-fast: Fix IOMMU configuration usage in self-tests" 2020-02-02 22:53:43 -08:00
qctecmdr
974660e6a5 Merge "soc: fsa4480-i2c: Register with UCSI for audio accessory notifications" 2020-02-02 17:26:40 -08:00
qctecmdr
9f8c643629 Merge "qseeecom: Fix possible unused function" 2020-02-02 02:46:22 -08:00
qctecmdr
e64e00a6da Merge "ANDROID: Re-use SUGOV_RT_MAX_FREQ to control uclamp rt behavior" 2020-02-01 21:26:28 -08:00
qctecmdr
7ea28f1f3e Merge "dt-bindings: clock: Add support for HLOS1_VOTE_SMMU_CLK" 2020-01-31 22:21:46 -08:00
qctecmdr
1a400ddd98 Merge "Add support BT/FM CHK 3.2 chip" 2020-01-31 22:21:46 -08:00
qctecmdr
2480b5f50f Merge "arm64: defconfig: enable flash LED driver on Lahaina" 2020-01-31 22:21:46 -08:00
qctecmdr
bdf10ecec5 Merge "defconfig: lahaina: remove disablement of SPMI temp alarm driver" 2020-01-31 22:21:45 -08:00
qctecmdr
b8d282e19f Merge "f_fs: Return correct USB endpoint descriptor to user space daemon" 2020-01-31 16:56:06 -08:00
qctecmdr
cbcb2fc981 Merge "hrtimer: fix issue during core isolation" 2020-01-31 16:56:06 -08:00
qctecmdr
65411a1bfd Merge "usb: dwc3-msm: Fix out-of-bounds access in bus voting" 2020-01-31 16:56:06 -08:00
Zhen Kong
e9465e8db0 defconfig: enable QSEECOM as a GKI module
enable QSEECOM as a GKI module.

Change-Id: Ib9585928fe4ae223158e3f1eba5959f70963013d
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-01-31 14:29:56 -08:00
Zhen Kong
e0a2c2d4d5 qseecom: use of_reserved_mem_lookup to get heap base and size
As cma_get_base and cma_get_size are not intended to be used by
leaf drivers on GKI enabled build, use of_reserved_mem_lookup to
get heap base and size.

Change-Id: I91194187c89ff8c7f7d445833afce1a4716f0ea4
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-01-31 14:29:38 -08:00
Liam Mark
1babe09d54 iommu/arm-smmu: Use an atomic context when fastmap is set on GKI
By default fastmap uses an atomic context.
On GKI builds fastmap is not supported, but we need to ensure that when
a client requests that fastmap be enabled on a GKI build that they still
use an atomic context.

Change-Id: I145e4679e973b10f666a0bef6ba104223fa5e7a9
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2020-01-31 14:21:05 -08:00
Tony Truong
a91dfbac8e msm: pcie: remove PCI_MSM_MSI dependencies
PCI_MSM_MSI is no longer its own config option. It is bounded
with PCI_MSM so remove any dependencies for it.

Change-Id: Ic417b5e063c268f1bda73e28ffe790c4da4698e8
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-01-31 14:06:40 -08:00
Tony Truong
ef3efce54d msm: pcie: add support to control pipe clk mux for LPM
PCIe driver needs to toggle between bi_tcxo and phy pipe
clock as part of its LPM sequence. This is done by setting
pipe_clk/ref_clk_src as parent of pipe_clk_src.

Change-Id: Ie634e6024fef3e5736793fc53d281be2d52bcbf7
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-01-31 14:06:40 -08:00
Tony Truong
1b9adac1ff msm: pcie: add support for gcc_aggre_noc_pcie_*_axi_clk
PCIe root complex driver needs to support enable/disable
gcc_aggre_noc_pcie*_axi_clk.

Change-Id: I044d5081692d50ae82d5ab29c4913359719e5031
Signed-off-by: Tony Truong <truong@codeaurora.org>
2020-01-31 14:06:40 -08:00
Jordan Crouse
65b841c39b qseeecom: Fix possible unused function
When building as a module, the __setup() macro is undefined and the
compiler will warn about the now unused setup function. Mark it as
__maybe_unused to avoid the compiler warning.

Change-Id: Ic0dedbad341aae7d83169517d94af3b0ea038ac9
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-01-31 12:11:49 -08:00
qctecmdr
e2cda63632 Merge "msm: kgsl: Move secvid programming to gpudev" 2020-01-31 10:27:18 -08:00
qctecmdr
e791172b7e Merge "arm64: defconfig: Enable QRTR MHI on lahaina_debug" 2020-01-31 10:27:18 -08:00
qctecmdr
f542d726be Merge "scsi: ufs: Make crypto updates on QTI ufs" 2020-01-31 10:27:17 -08:00
qctecmdr
d806fa1378 Merge "tracing: rework sched_preempt_disable trace point implementation" 2020-01-31 10:27:17 -08:00
Isaac J. Manjarres
d51f9057f8 iommu: iommu-debug: Fix return code for iommu_debug_dma_unmap_write
iommu_debug_dma_unmap_write() returns 0 instead of an error code
when the command passed to the dma_unmap debugfs node is not
in the expected format.

Change-Id: Ie4f5dfa4423edc539fec9c38554e97c79fccc6c3
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-01-31 09:07:03 -08:00
qctecmdr
0326bf0e0f Merge "msm: kgsl: Move APRIV config to a6xx start" 2020-01-31 04:38:34 -08:00
Satish Kodishala
a772144a04 Add support BT/FM CHK 3.2 chip
Added support for BT/FM CHK 3.2 chip. Also,
cleaned up unused chip ids.

CRs-Fixed: 2609077
Change-Id: I8a99113250bbe28fe2f10b17b90b5f00e40f852b
Signed-off-by: Satish Kodishala <skodisha@codeaurora.org>
2020-01-31 01:39:41 -08:00
qctecmdr
be8d5fe010 Merge "cpuidle: lpm-levels: update lpm_disallowed() with sched hints" 2020-01-30 23:05:04 -08:00
qctecmdr
44eb78d31e Merge "msm: cvp: Support releasing persistent buffer" 2020-01-30 23:05:03 -08:00
qctecmdr
88353cd04a Merge "arm64: defconfig: Enable MSM PCIe and MHI Host driver for lahaina" 2020-01-30 23:05:03 -08:00
qctecmdr
b74745b4f0 Merge "dwc3-msm: Add dwc3_msm_release_ss_lane() API" 2020-01-30 23:05:03 -08:00
Mayank Rana
4abb83b709 f_fs: Return correct USB endpoint descriptor to user space daemon
Some of user space daemon like ADB queries endpoint descriptor using
ioctl to know wMaxPacketSize value. Based on wMaxPacketSize value it
queues additional buffer to read zero length packet if expected read
buffer size is multiple of wMaxPacketSize. Currently driver is missing
handling for super speed plus case which results into sending full
speed related USB endpoint descriptor (i.e. wMaxPacketSize 64 bytes).
Hence when adbd is expecting 64 bytes packet from host, it queues one
more additional buffer. This results into mismatch of ADB command and
response when multiple ADB commands are used and causing different ADB
related stability issues. Fix this issue adding super speed plus check
with FUNCTIONFS_ENDPOINT_DESC ioctl command.

Change-Id: I9416295c07c2d98f9d32df43d7e506f975da15a2
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-01-30 18:15:37 -08:00
Mayank Rana
e501d1acc0 usb: gadget: Update functions for SSP descriptors
This change updates USB function drivers to assign SSP descriptors
using usb_assign_descriptors() API. USB SSP descriptors are needed
to enumerate these functions as different composite device in
super speed plus mode.

Change-Id: Iea4d623afb2bf572358d1cc1d0673f20f2d7d5aa
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-01-30 18:15:37 -08:00
David Collins
acbb167a16 defconfig: lahaina: remove disablement of SPMI temp alarm driver
CONFIG_QCOM_SPMI_TEMP_ALARM is incorrectly disabled in
lahaina_QGKI.config and lahaina_debug.config.  Remove this
disablement so that the SPMI temp alarm driver is compiled
in both GKI and QGKI builds.

Change-Id: I2f54dae62dabe50758974c70f39f713141d16d8f
Signed-off-by: David Collins <collinsd@codeaurora.org>
2020-01-30 16:38:46 -08:00
qctecmdr
23d132223b Merge "defconfig: lahaina-gki: enable various USB CONFIGFS functions" 2020-01-30 16:12:58 -08:00
qctecmdr
fb6e032b48 Merge "smp: Wake up all idle CPUs when suspending to idle" 2020-01-30 16:12:58 -08:00
qctecmdr
871c6683e3 Merge "msm: gsi: Fix the WARNING for gsi_write_channel_scratch" 2020-01-30 16:12:58 -08:00
Vivek Aknurwar
a267c2a3de dt-bindings: clock: Add support for HLOS1_VOTE_SMMU_CLK
The SMMU consumer requires to enable/disable the
GPU_CC_HLOS1_VOTE_SMMU_CLK, add support for same.

Change-Id: I1ef969bba510ea5354c213c99390a3754f0a0766
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2020-01-30 15:47:09 -08:00