Commit graph

877,281 commits

Author SHA1 Message Date
Vivek Aknurwar
361f9c82fe clk: qcom: Cache vdd vote if clk is unprepared
When set_rate is called on unprepared clocks new vdd_level
requirement is not cached, which leads to incorrect votes
when later clk_prepare is called. Clocks may not be prepared
when clk pre change rate is called for set_rate change request,
thus cache vdd level and only apply vote during clk prepare.

Change-Id: I54d9a3c75034cd9e67e683c3f71088f2c7cd3db1
Signed-off-by: Vivek Aknurwar <viveka@codeaurora.org>
2020-02-14 11:59:24 -08:00
qctecmdr
7af12e1129 Merge "input: qti-hv-haptics: Add debugfs parameters to configure effects" 2020-02-04 03:48:06 -08:00
qctecmdr
d872290713 Merge "sched/uclamp: Fix a bug in propagating uclamp value in new cgroups" 2020-02-04 03:48:06 -08:00
qctecmdr
26a964da26 Merge "kernel_headers: Add missing kernel headers to lahaina" 2020-02-04 03:48:05 -08:00
qctecmdr
8dd2ddd66a Merge "mhi: dev: uci: add support for DIAG and DCI clients" 2020-02-04 03:48:05 -08:00
qctecmdr
ba0579037e Merge "msm: cvp: Add debug node control power collapse" 2020-02-04 03:48:05 -08:00
qctecmdr
190224d2fb Merge "usb: gadget: configfs: Add max_speed setting" 2020-02-03 14:44:48 -08:00
qctecmdr
787bd5a481 Merge "usb: dwc3: Remove extra format specifier" 2020-02-03 14:44:47 -08:00
Bhaumik Bhatt
f505870cba mhi: dev: uci: add support for DIAG and DCI clients
Add support for DIAG and DCI MHI clients moving to userspace.

Change-Id: I2ee30fedfb50644f7bcc7eac41d08e37ca71805a
Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org>
2020-02-03 10:47:47 -08:00
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
George Shen
9e469d7887 msm: cvp: Add debug node control power collapse
Add debug node to control power collapse on/off and timeout value.
Remove unused traces that caused linker error due to this change.

Change-Id: I7860cda4e2febee85a54884f9e26ae7a512afbb2
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-02-03 09:47:37 -08:00
Sriharsha Allenki
ad4fda502b usb: dwc3: Remove extra format specifier
Correct number of arguments are not passed to the dev_dbg
call here. This is leading to access of garbage value.
Fix this by removing the extra format specifier in the
string.

Change-Id: Id64a00c1ca44c5ee2014fd806c234f702a7941f6
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-02-03 08:55:42 -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
Qais Yousef
8bcb7b20b2 sched/uclamp: Fix a bug in propagating uclamp value in new cgroups
When a new cgroup is created, the effective uclamp value wasn't updated
with a call to cpu_util_update_eff() that looks at the hierarchy and
update to the most restrictive values.

Fix it by ensuring to call cpu_util_update_eff() when a new cgroup
becomes online.

Without this change, the newly created cgroup uses the default
root_task_group uclamp values, which is 1024 for both uclamp_{min, max},
which will cause the rq to to be clamped to max, hence cause the
system to run at max frequency.

The problem was observed on Ubuntu server and was reproduced on Debian
and Buildroot rootfs.

By default, Ubuntu and Debian create a cpu controller cgroup hierarchy
and add all tasks to it - which creates enough noise to keep the rq
uclamp value at max most of the time. Imitating this behavior makes the
problem visible in Buildroot too which otherwise looks fine since it's a
minimal userspace.

Change-Id: Id2500fe901759d7251eff241ec09ecdee812f6ef
Reported-by: Doug Smythies <dsmythies@telus.net>
Tested-by: Doug Smythies <dsmythies@telus.net>
Fixes: 0b60ba2dd3 ("sched/uclamp: Propagate parent clamps")
Link: https://lore.kernel.org/lkml/000701d5b965$361b6c60$a2524520$@net/
Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Git-commit: 7226017ad37a888915628e59a84a2d1e57b40707
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-02-03 15:26:32 +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
Fenglin Wu
003090a7a0 input: qti-hv-haptics: Add debugfs parameters to configure effects
Add debugfs parameters to configure different settings per haptics
effect which is useful for testing.

Change-Id: Iace6dab1ca11cad20d5b44eaf81e704053bc3e0b
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-02-01 18:39:57 -08:00
Fenglin Wu
6938b38af0 input: qcom,hv-haptics: Add DT definitions
Add DT definitions for a few properties that are used to specify
haptics hardware configuration and vibration effect settings.

Change-Id: Icd9da49e87eca9c865e7f6add5638842c20a3bd6
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-02-01 18:39:35 -08:00
Fenglin Wu
333712430b input: misc: Add initial driver to support QTI HV haptics
QTI HV (High Voltage) haptics is a module which can play haptics
effects for LRA or ERM with drive voltage up to 10 V. It has
several pattern sources built inside and each pattern source can
be used for playing different vibration effects.

Add the driver to support QTI HV haptics module, which will be
registered as an input FF device and can be controlled by calling
read/write/ ioctl APIs on the input device node.

Change-Id: I8323bdf3f7a631570604577719d5b7876fc65ef1
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-02-01 18:39:16 -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
Rishabh Bhatnagar
7099af6487 kernel_headers: Add missing kernel headers to lahaina
Add missing headers to gen_headers_*.bp files for lahaina.

Change-Id: Ifea80a88f418f99be0ea44f59b4a9d77cc80d7be
Signed-off-by: Rishabh Bhatnagar <rishabhb@codeaurora.org>
2020-01-31 15:49:58 -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