Commit graph

877,330 commits

Author SHA1 Message Date
Isaac J. Manjarres
0585fb4452 ion: msm: Add support for addition/removal of memory to ION heaps
There is currently no interface for adding/removing memory to an
ION heap, so add one.

Change-Id: I68061feca3c29cd8f2370665f40f8005fb8765ff
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-06 22:54:49 -08:00
Isaac J. Manjarres
878cf94a7a ion: msm: Add support for querying the security state of heaps
ION clients may want to know about the security state of a heap
prior to allocating from it, so expose an interface for querying
the security state of a heap.

Change-Id: Ibf832792ffbc81b5b96b8ddbc507db5418a47928
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-06 22:54:49 -08:00
Isaac J. Manjarres
f1efdc30c2 ion: msm: Add support for mapping VMIDs to ION flags
Add support for mapping VMID values to their corresponding
ION flags.

Change-Id: I827c4e7c4a1761fcc6c6b08f2855f490243d8ea5
Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
2020-02-06 22:54:48 -08:00
qctecmdr
cc72a30d25 Merge "eud: Set pdev->id value to 0 and add set_mctrl() API" 2020-02-06 01:26:17 -08:00
qctecmdr
1910984371 Merge "arm64: defconfig: Enable extcon USB GPIO driver on Lahaina" 2020-02-06 01:26:16 -08:00
qctecmdr
0043880dde Merge "msm: kgsl: Make the scratch privileged" 2020-02-06 01:26:16 -08:00
qctecmdr
31c757c7dc Merge "ufs: ufs-qcom: Clean up UFS PHY mode and submode selection" 2020-02-06 01:26:16 -08:00
qctecmdr
5f3dfa81e9 Merge "defconfig: lahaina: enable QTI battery debug driver" 2020-02-05 05:46:25 -08:00
qctecmdr
0359297736 Merge "msm: kgsl: Handle error from nvmem_cell_read while reading speed_bin fuse" 2020-02-05 05:46:24 -08:00
qctecmdr
11c3e87d32 Merge "regulator: Add snapshot of qpnp-amoled regulator driver" 2020-02-05 05:46:24 -08:00
qctecmdr
ca2f6a0273 Merge "msm: kgsl: Set busmon driver data" 2020-02-05 05:46:24 -08:00
qctecmdr
b83af1e33d Merge "clk: qcom: clk-alpha-pll: Fix zonda set_rate failure when PLL is disabled" 2020-02-05 05:46:23 -08:00
qctecmdr
0390237bf3 Merge "haven: Add Haven Message Queue driver" 2020-02-05 01:00:31 -08:00
qctecmdr
7f4a58ae93 Merge "pwm: pwm-qti-lpg: Refactor qpnp_lpg_parse_dt() for readability" 2020-02-05 01:00:30 -08:00
qctecmdr
16f01462b8 Merge "soc: qcom: add initial version of qti_battery_debug driver" 2020-02-05 01:00:30 -08:00
qctecmdr
80315609a1 Merge "drivers: thermal: Avoid trip evaluation for disabled thermal zone" 2020-02-04 20:17:08 -08:00
qctecmdr
1ac8a0b191 Merge "arm64: Call idle notifiers in CPU idle" 2020-02-04 20:17:08 -08:00
qctecmdr
d9393f0de2 Merge "power: reset: Add qcom_dload command to poweroff driver" 2020-02-04 20:17:08 -08:00
Mayank Rana
c5829d5e2d arm64: defconfig: Enable extcon USB GPIO driver on Lahaina
extcon USB gpio driver is used to start USB host/device mode
based on vbus/ID status for USB secondary port. Hence enable
extcon USB GPIO driver on Lahaina.

Change-Id: Ia39822f29e9c1387df1827eef89c56d29df2554a
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-02-04 16:37:12 -08:00
qctecmdr
158a6ac631 Merge "msm: kgsl: Dump maximum possible IB1 size in snapshot" 2020-02-04 15:25:03 -08:00
qctecmdr
0d234d7b41 Merge "msm: adsprpc: detect privileged processes based on group ID" 2020-02-04 15:25:03 -08:00
qctecmdr
ff2b18c98e Merge "msm: ipa4: debug patch gsi interrupt issue" 2020-02-04 15:25:02 -08:00
qctecmdr
0233b8a105 Merge "msm: pcie: always enable BDF to SID for PCIe RC mode" 2020-02-04 15:25:02 -08:00
qctecmdr
72947404b1 Merge "clk: qcom: gpucc: Enable cx_gmu, hub_cx_int_clk always" 2020-02-04 15:25:02 -08:00
Nitheesh Muthuraj
644c2e4777 msm: kgsl: Make the scratch privileged
The flag to make the scratch privileged
was correctly set but not used.

Change-Id: Ie015dd3008803d6a98156f9d2ad049b3cdb86a33
Signed-off-by: Nitheesh Muthuraj <nmuthuraj@codeaurora.org>
2020-02-04 14:41:10 -08:00
Harshdeep Dhatt
5d8bb9574f msm: kgsl: Set busmon driver data
This links the busmon devfreq device to kgsl device
which is de-referenced in kgsl_busmon_target() in
order to propagate bus votes.

Change-Id: I1ac3f81e546e3fd6be6051a202e0d49db07978ee
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-02-04 13:15:32 -08:00
Harshdeep Dhatt
4310e6ac82 msm: kgsl: Do not call dispatcher functions directly
With eCP, we will have a different dispatcher and hence a different
function to queue the commands to the eCP dispatcher. Instead of
adding the eCP check in kgsl.c, do it in adreno_queue_cmds. On the
same lines, we will do eCP check in adreno_drawctxt_sched() to queue
the context to the respective dispatcher. Also, move
adreno_drawctxt_sched() from adreno_drawctct.c to adreno.c so that we
have one less function to export.

Change-Id: Ibd6325131ed38b9527cdda084ca37d6c6ceee3bd
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-02-04 13:15:30 -08:00
Ram Chandrasekar
7c99000a5a drivers: thermal: Avoid trip evaluation for disabled thermal zone
Avoid trip evaluation for disabled thermal zone, as the temperature
reading will be invalid and using the same to evaluate the trips will
lead to undefined behavior.

Change-Id: I5ea744d36875a425b0c3ed07c3ab45c94f9b59ca
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2020-02-04 13:09:09 -07:00
Raghavendra Rao Ananta
0ae181fd30 haven: Add Haven Message Queue driver
Add Haven message queue driver provides an interface to the client
drivers running on the virtual machines to communicate with the clients
running on other virtual machines. The services offered by the driver is
simply to send and receive messages.

Change-Id: I1685109f579eaf7fa039225dd60a42adae7de00a
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-04 11:35:52 -08:00
Elliot Berman
51c05c9940 arch: arm64: hh: Add Haven arm64 hypercall interface
Add Haven hypercall interface conforming to its arm64 ABI.

Change-Id: I959e6a24c0b3dca5182b70b95d6bee3a51e9f6c4
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-04 11:35:37 -08:00
Elliot Berman
eff7e54127 haven: hcall: Add Haven hypercall interface
Add common Haven hypercall interface implementing all of the doorbell
APIs and required message queue APIs for an initial message queue
driver.

Change-Id: I2f4cbe99b76d115a42e86d1a43f361e4793a9723
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-04 11:35:13 -08:00
Elliot Berman
77c2c03606 haven: Add common Haven types and macros
Add common Haven API types and return values.

Change-Id: I89de261dbb090ee54f0b943bf34cca782a24ce1e
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-02-04 11:34:57 -08:00
Rajesh Kemisetti
fd5a1a5711 msm: kgsl: Dump maximum possible IB1 size in snapshot
Currently adreno_snapshot() tries to dump remaining IB1 size
if the active IB1 base address is not present in ringbuffer
which is not enough to debug GPU hang.

So, try to calculate the maximum possible size that it can
dump from IB1 base address and add it to snapshot dump.

Change-Id: I029fb8cddab7999001a2934ce49cb5ff884c21bf
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2020-02-04 18:11:17 +05:30
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
Can Guo
278cc639d5 ufs: ufs-qcom: Clean up UFS PHY mode and submode selection
In hba power up sequence, phy_set_mode_ext() is used to pass UFS PHY mode
and HS gear as the submode to UFS PHY driver. UFS PHY mode is decided by
limit_rate, which is Rate-B by default. While, UFS PHY submode is dediced
by limit_phy_submode, 1 stands for G4, 0 stands for non-G4.

Change-Id: I54fc377abd42290e76094125b446d24ef1478124
Signed-off-by: Can Guo <cang@codeaurora.org>
2020-02-04 03:31:45 -08:00
Deepak Kumar
70f3a6ad3a msm: kgsl: Handle error from nvmem_cell_read while reading speed_bin fuse
nvmem_cell_read can return ERR_PTR in case of failure. Current code is not
handling the error case. This would result in using default clock plan as
speed_bin value is zero. This can be fatal in case fuse was blown to a
lower frequency then the default clock plan. Handle this error to avoid
this issue.

Change-Id: Ic128265fdd1adefbbc0d7f733ef3e9b2f6fcb31a
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
2020-02-04 16:49:55 +05:30
Shyam Kumar Thella
0254c79d33 regulator: Add snapshot of qpnp-amoled regulator driver
Add QPNP AMOLED regulator driver to configure triple power supply
(OLED, AB & IBB) that is used in AMOLED panels.

This is a snapshot of the driver taken from msm-4.19 as of
'commit <18fb0f227fcdcd3i92a380533b454fdc629625327> ("Merge power:
supply: qcom: Initial version driver for SMB1398 charger")'.

Change-Id: Iefa5d27f781af36d42e0a14ac77b2537a19ea596
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-02-04 09:39:13 +05:30
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
Bojun Pan
577585f312 msm: ipa4: debug patch gsi interrupt issue
Debug patch for GSI interrupt issue.

Change-Id: I705cd893233e1afcaeed6fedb424830e39621114
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
2020-02-03 14:13:45 -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