Commit graph

877,373 commits

Author SHA1 Message Date
Mao Jinlong
dc5dfae44f coresight-etm4x: Don't set LPOVERRIDE bit when tupwr-disable is true
Don't set LPOVERRIDE bit when tupwr-disable is true to avoid the cpu hang
issue.

Change-Id: Ie12b6faa3a39e35fac1566690771321a79e99bae
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-02-10 00:50:09 -08:00
qctecmdr
c5d20367bc Merge "ion: msm: Add support for addition/removal of memory to ION heaps" 2020-02-09 14:36:35 -08:00
qctecmdr
d54f34fc01 Merge "input: qcom-hv-haptics: correct pattern source checking logic" 2020-02-09 09:08:49 -08:00
qctecmdr
495a16b463 Merge "leds: qti-flash: Fix updating flags when disabling flash/torch device" 2020-02-09 09:08:49 -08:00
Maya Erez
ae1b591161 wil6210: prevent ioctl access while in reset or suspend
Accessing some of the memory of the device while the device is
resetting or suspending may cause unexpected error as the HW is still
not in a stable state. Prevent this access to guarantee successful
read/write memory operations.

Change-Id: Idbf046e21726ec8d074161f75643f34137d6ec24
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Lior David <liord@codeaurora.org>
2020-02-09 01:34:32 -08:00
qctecmdr
3fb337ee18 Merge "power: reset: use nvmem restart_reason" 2020-02-08 06:26:43 -08:00
qctecmdr
6b53de76bd Merge "linux: scm: Update the API for assign memory to subsys" 2020-02-08 06:26:43 -08:00
qctecmdr
40becc1936 Merge "soc: qcom: glink_pkt: Fix minor version in device creation" 2020-02-08 06:26:43 -08:00
qctecmdr
4adec99e93 Merge "wil6210: add ioctl interface" 2020-02-08 06:26:42 -08:00
qctecmdr
08b5802cf3 Merge "ion: msm: Add support for mapping VMIDs to ION flags" 2020-02-08 06:26:42 -08:00
qctecmdr
bac1da57bd Merge "HID: Trace events for external sensor driver" 2020-02-08 00:48:03 -08:00
qctecmdr
18fc76a46e Merge "Bluetooth: Remove unused regulator entries" 2020-02-08 00:48:03 -08:00
qctecmdr
088760b3a7 Merge "msm: cvp: Enable CVP power collapse and LLC" 2020-02-08 00:48:03 -08:00
qctecmdr
6ddbe715d4 Merge "soc: qcom: ipcc: Do not reset the device during probe" 2020-02-07 18:53:35 -08:00
qctecmdr
5e2f8c3236 Merge "devfreq: memlat: Add CPU Hotplug and Idle awareness in memlat" 2020-02-07 18:53:35 -08:00
qctecmdr
ed8e9ec37e Merge "include/linux: add HDCP QSEECOM header file" 2020-02-07 18:53:35 -08:00
qctecmdr
2648fff13a Merge "qseecom: add compat_qseecom to support 32bit process" 2020-02-07 18:53:34 -08:00
Fenglin Wu
885fb73a42 input: qcom-hv-haptics: correct pattern source checking logic
The pattern source check before loading predefined effect is incorrect.
Correct it.

Change-Id: I8026f6ee24ce17dfe43bc514eeb526300af99746
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
2020-02-08 09:50:08 +08:00
Shyam Kumar Thella
d06911ff63 leds: qti-flash: Fix updating flags when disabling flash/torch device
Currently when brightness is zeroed-out for a flash/torch device its
"configured" flag is set to false. Hence the flash/torch device is
ignored when its switch is disabled. This leads to the corresponding
LED channel left enabled. Fix this by setting "configured" flag to
false only when led strobe is de-asserted.

Change-Id: I46c640d3e0db8611343e2e67321db820161dd144
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2020-02-07 23:30:49 +05:30
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
0cfe100396 Merge "arm64: defconfig: Enable USB Mass Storage drivers on Lahaina" 2020-02-06 18:37:45 -08:00
qctecmdr
5ecbe390cb Merge "drivers: cpuidle: lpm-levels: Move local_irq_enable" 2020-02-06 18:37:45 -08:00
qctecmdr
668565e9c7 Merge "soc: qcom: rpmh: Correct rpm_msg pointer offset and add list_del" 2020-02-06 18:37:44 -08:00
qctecmdr
392966878a Merge "coresight: csr: read MSR start address and size from dt" 2020-02-06 18:37:44 -08:00
qctecmdr
912bc8da6c Merge "extcon: usb-gpio: Add support for optional VBUS output enable GPIO" 2020-02-06 18:37:43 -08:00
Mahesh kumar Sharma
a2826133ef Bluetooth: Remove unused regulator entries
Remove unused regulator entries from vreg table.

Change-Id: I6373d0ce67f770a77fdec4bea85a62b98a1f9edb
Signed-off-by: Mahesh kumar sharma <smahesh@codeaurora.org>
2020-02-06 17:31:02 -08:00
Zhen Kong
ee11cdb777 qseecom: add compat_qseecom to support 32bit process
add compat_qseecom to support 32bit process to call ioctl on a
64-bit system.

Change-Id: I7e9b1c3d0cc34e3794265aa21db69e346f40833c
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2020-02-06 15:46:55 -08:00
George Shen
0040f4d045 msm: cvp: Enable CVP power collapse and LLC
Dependencies are available in build. Time to enable remaining
CVP features.

Change-Id: If34945f5d7ec1ad51d9b22c4c6cda37f65de84f1
Signed-off-by: George Shen <sqiao@codeaurora.org>
2020-02-06 14:37:52 -08:00
Raghavendra Rao Ananta
04a30d517b soc: qcom: ipcc: Do not reset the device during probe
There are potential scenarios where the IPCC interrupts would have
been raised (and pending) during the bootloader stage. As a result,
the driver shouldn't be performing a reset as it would clear all the
pending interrupts. Hence, do not perform an explicit reset in the
driver's probe.

Change-Id: I1d45b20d539524900516532d968172d6b2c10b27
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-02-06 13:19:39 -08:00
Elliot Berman
1030d4e111 power: reset: use nvmem restart_reason
Lahaina uses SDAM to store restart reason instead of PMIC PON register.
This change uses nvmem consumer framework to store restart reason.

Change-Id: Ib5d4406b7204b0c24992bd026f0f1a71f8b1e6fe
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-02-06 12:17:57 -08:00
Rama Aparna Mallavarapu
791a09d445 devfreq: memlat: Add CPU Hotplug and Idle awareness in memlat
Register with CPU Hotplug and Idle notifiers so that memlat
gets notified when CPU is being hotplugged in/out or when CPU
enters Idle state. The perf events should be recreated when the
cpu is brought back online. Also do not update the counts when
the cpu is hotplugged out or when it enters Idle state.

Change-Id: I35a05be0a43a4519282d5787e6c87d92e5bec1de
Signed-off-by: Rama Aparna Mallavarapu <aparnam@codeaurora.org>
2020-02-06 10:39:22 -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
Maulik Shah
077ededea5 soc: qcom: rpmh: Correct rpm_msg pointer offset and add list_del
rpm_msgs address is calculated from memory allocated during write_batch.
Correct the offset from where rpm_msgs actually starts and assign req
pointer to point to correct address.

Also add list_del before freeing memory in invalidate_batch.

Change-Id: Idca43fe73bd238e90911158b08b3889c001e1123
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-02-06 12:43:35 +05:30
Maulik Shah
8b9699ddee drivers: cpuidle: lpm-levels: Move local_irq_enable
Cancelling histtimer after enabling local irqs can cause
low sleep length to get calculated during next low power mode
entry.

Enable local irqs after cancelling histtimer.
Use hrtimer_get_remaining before cancelling timer.

Change-Id: I735770f779c5760acc6b62cb65811b21244d0e99
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-02-05 21:05:31 -08:00
Maulik Shah
800b8a605c drivers: soc: qcom: rpmh: Correctly set dirty flag
Currently rpmh dirty flag is set for all cases regardless of
data is really updated or not. Correct it to update for
only those cases where data is updated.

Change-Id: I2c87ffbf1bae23ddd4b4cb7dced213cac267df59
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
2020-02-06 10:09:16 +05:30
Tatenda Chipeperekwa
78b83fb907 include/linux: add HDCP QSEECOM header file
Add the HDCP QSEECOM header file as it contains definitions used
in client drivers such as the DisplayPort driver.

This implementation is based on a snapshot of the HDCP QSEECOM
module as of this commit 86411ada84786796 ("drm/msm/hdcp: Update
HDCP QSEECOM to start auth on user command") on kernel-4.19.

Change-Id: I6481e189dcedace9a571ce06db079c63fab1ef01
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2020-02-05 18:47:55 -08:00
Mayank Rana
4e25e53308 arm64: defconfig: Enable USB Mass Storage drivers on Lahaina
This change enables USB Mass Storage class driver and gadget function
driver to have USB mass storage functionality in host and device mode.

Change-Id: Ie9d8c3ca30f68ce75909eae16897b39c2a24374f
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-02-05 15:50:18 -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