Commit graph

890,981 commits

Author SHA1 Message Date
qctecmdr
a88dee55bd Merge "Revert "iommu/arm-smmu: Add support to disable page-table coherency"" 2020-09-19 23:25:47 -07:00
qctecmdr
7d2d40a830 Merge "defconfig: lahaina-gki: disable the fixed regulator driver" 2020-09-19 20:35:23 -07:00
qctecmdr
d8a075511d Merge "iio: qcom-spmi-adc5: Handle EOC properly" 2020-09-19 20:35:23 -07:00
qctecmdr
e7d08db3d3 Merge "power: supply: qti_battery_charger: Handle probe failure gracefully" 2020-09-19 20:35:23 -07:00
qctecmdr
df9d0dbc9a Merge "leds: qti-flash: Enable zero brightness symmetry distribution" 2020-09-19 20:35:22 -07:00
qctecmdr
498879b848 Merge "cnss2: Avoid dereferencing pointer before NULL check" 2020-09-19 20:35:22 -07:00
qctecmdr
185f5e9c52 Merge "defconfig: Disable USB_CONFIGFS_RNDIS for Lahaina/Holi QGKI" 2020-09-19 20:35:22 -07:00
qctecmdr
29a9d28c82 Merge "FROMGIT: mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary" 2020-09-19 17:55:21 -07:00
qctecmdr
5f6aa13587 Merge "iio: adc: Add support to read parallel charger current channel" 2020-09-19 15:11:25 -07:00
qctecmdr
32113d11a3 Merge "i2c-msm-geni: Register suspend_late instead of suspend_noirq" 2020-09-19 09:09:16 -07:00
qctecmdr
d09483fe6c Merge "soc: qcom: spss_utils: IAR 3rd party uefi app" 2020-09-19 09:09:16 -07:00
qctecmdr
9d79203950 Merge "defconfig: Enable Synaptics DSX Touch for holi target" 2020-09-19 09:09:15 -07:00
qctecmdr
8ccd500ed6 Merge "input: qpnp-power-on: Fix the argument data-type for regmap_bulk_read" 2020-09-19 09:09:15 -07:00
qctecmdr
5636c8bedc Merge "msm: kgsl: Add IOMMU clocks for SA8155" 2020-09-19 09:09:14 -07:00
qctecmdr
8c0cae110c Merge "mhi: core: Add checks for bhie offsets" 2020-09-19 09:09:14 -07:00
qctecmdr
a2998ad434 Merge "dt-bindings: clock: Add support for APSS clock ids for SDXLEMUR" 2020-09-19 09:09:14 -07:00
Vivek Pernamitta
e80749a2a5 mhi: core: Add checks for bhie offsets
Return immediately if device returns an invalid BHIE offsets.

Change-Id: I2fd8fe73e47b28b1b212284c02e5c9c857805461
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
2020-09-19 01:29:32 -07:00
Guru Das Srinagesh
635d29685d leds: qti-flash: Enable zero brightness symmetry distribution
Currently, when a single channel's brightness is set, and then cleared
to zero subsequently, the LED stays on instead of getting turned off
because symmetrical brightness distribution logic does not allow the
paired channel's brightness to be set to zero. Fix this.

It was also observed that the brightness of a channel that is getting
turned off doesn't show up as zero, so fix that as well.

In addition, strengthen error-checking of the "qcom,led-mask" device
tree property.

Change-Id: I245ec2177b2ebe0f567eb96397dd13a05a587d60
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-09-18 18:20:00 -07:00
Naveen Yadav
8d0cb02471 dt-bindings: clock: Add support for APSS clock ids for SDXLEMUR
Add clock IDs for APSSCC clients to be able to request for clocks
from these clock controllers.

Change-Id: I284beb3b62a4f5c4521c7e7e0f9d068c469a85bb
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-09-18 19:28:07 +05:30
Amir Samuelov
f19ffc2867 soc: qcom: spss_utils: IAR 3rd party uefi app
Set saved cmac on ioctl from user space.
Write saved cmac to shared memory on SSR.
Read calculated cmac from shared memory.
Provide calculated cmac to user space via sysfs.
Cleanup unused IAR-STATE fuses.
Cleanup unused IAR-FEATURE-ENABLED fuse.
Read actual PIL area size from register.
pbl_cmac_show() returns binary rather than string.
Change IOCTL to use variable-size-array.

Change-Id: Ic4ea38685f6b9d1100a28bd958e44f513373fea9
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2020-09-18 04:46:02 -07:00
Hui Li
9cdeebd042 msm: kgsl: Add IOMMU clocks for SA8155
To support SA8155, we need the following clocks:
GCC_GPU_CFG_AHB_CLK, GCC_DDRSS_GPU_AXI_CLK.

Change-Id: Ie2b4ec643136c11c1fa679a12f20b72ced3a6263
Signed-off-by: Hui Li <hul@codeaurora.org>
2020-09-17 21:09:13 -07:00
Kiran Gunda
653826192f power: supply: qti_battery_charger: Handle probe failure gracefully
Due to a race condition between the probe and glink message
callback, it is observed that the glink messages/notifications
can be handled even after the probe failure which leads to
an invalid memory access. Fix it by introducing "initialized"
flag. While at it, add few error logs to identify the exact
message failures.

Change-Id: I18e61dea734efde6a11ee072793da8eead269b12
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
2020-09-17 20:31:43 -07:00
Yue Ma
0bb0ef6ed8 cnss2: Avoid dereferencing pointer before NULL check
Only dereference pci_priv pointer after NULL check.

Change-Id: I773cb4ae07599b737391ced3e67e4b1ad177b4f1
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-09-17 18:29:48 -07:00
Guru Das Srinagesh
568fc7ac9b leds: qti-flash: Handle all-enabled led mask separately
In certain devices, LED channels are paired and connected to two
separate LEDs. Due to symmetrical configuration, a switch that controls
all four channels sets the same brightness value to both LEDs, which is
not the intended behaviour; hence, handle this case separately.

E.g. If flash0 (group 1) is set to 144 and flash1 (group 2) is set to
1056, current will be distributed evenly to all 4 channels like so: 300
mA would be set on all channels (as 144 + 1056 = 1200; 1200 / 4 = 300).

Change this to:
144 / 2 = 72 on channels 0 and 3   (group 1)
1056 / 2 = 528 on channels 1 and 2 (group 2).

Change-Id: Ie135811d59104cfa5551d17ebbb729a57c101099
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-09-17 16:55:05 -07:00
Subbaraman Narayanamurthy
35d006a926 power: supply: qti_battery_charger: Configure ICL and FCC post SSR/PDR
When the remote subsystem restarts (SSR) or the charger firmware
restarts (PDR), resend the ICL/FCC votes from clients like USB
driver, thermal SW once the subsystem is up.

Change-Id: Ia0da3747fdb98c7873b65c948b76f6b6a286e31c
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2020-09-17 15:26:54 -07:00
qctecmdr
ae23001f63 Merge "iio: qcom-spmi-adc5: add support to read current channels" 2020-09-17 15:21:27 -07:00
qctecmdr
82d3128cd5 Merge "arm64: smp: Undo flushing of caches from local_cpu_stop" 2020-09-17 15:21:27 -07:00
qctecmdr
1059cd9eac Merge "thermal: qcom-spmi-temp-alarm: align temp readings with over-temp stage" 2020-09-17 15:21:26 -07:00
qctecmdr
02a5c488da Merge "soc: qcom: hwkm: clear previous command errors correctly" 2020-09-17 15:21:26 -07:00
qctecmdr
7c7105f9f7 Merge "iommu: arm-smmu: update access to SMMU TCU testbus registers with scm call" 2020-09-17 15:21:26 -07:00
qctecmdr
b8e9c3491e Merge "memshare: Correct the usage of index and client_id" 2020-09-17 15:21:26 -07:00
qctecmdr
3a9d08b148 Merge "coresight: tmc-etf: Set reading status to False" 2020-09-17 15:21:25 -07:00
Jack Pham
bb0471d047 defconfig: Disable USB_CONFIGFS_RNDIS for Lahaina/Holi QGKI
USB_CONFIGFS_RNDIS is currently enabled by gki_defconfig.
Although the upstream F_RNDIS driver can coexist with the USB
GSI driver, currently there is a conflict in userspace that can
result in choosing the wrong one. Disable the SW-only F_RNDIS
driver to allow the GSI driver to be enabled exclusively.

Change-Id: I272b632dda1e792931102f94554cd26065389b34
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-09-17 13:56:33 -07:00
Liam Mark
48acf9e262 Revert "iommu/arm-smmu: Add support to disable page-table coherency"
This reverts commit f85843d3df ("iommu/arm-smmu: Add support to disable
page-table coherency")

This change was added in order to allow iommu clients to disable page
table coherency.
However when page table coherency is disabled using this property on an
SMMU which is configured to be IO-coherent the attempts by the page table
code to apply CMOs on page table entries will be ignored because the
device it is using to apply the CMOs, the SMMU device, is IO-coherent.
This can result in the SMMU seeing stale page table entries.

Since this feature doesn't work and no clients are using revert it.

Change-Id: If6881d24722dd7f1a7398caf6cd904cc7f792bde
Signed-off-by: Liam Mark <lmark@codeaurora.org>
2020-09-17 10:05:21 -07:00
qctecmdr
76a04e42a5 Merge "defconfig: msm: Enable minidump features" 2020-09-17 04:28:34 -07:00
qctecmdr
008510ccd4 Merge "defconfig: msm: Enable msm_performance driver for Holi" 2020-09-17 04:28:34 -07:00
qctecmdr
d9e7056e6c Merge "fsa4480: enable QGKI config for fsa4480 for holi" 2020-09-17 04:28:34 -07:00
qctecmdr
c468662028 Merge "iio: qcom-spmi-adc5: add CHG_TEMP channel for PMIC7" 2020-09-17 04:28:33 -07:00
qctecmdr
3f83363385 Merge "Bluetooth: Add support for Moselle chip" 2020-09-17 04:28:33 -07:00
qctecmdr
ebf187c5ef Merge "soc: mmrm: Adding domain info to identify the clients accurately" 2020-09-17 04:28:32 -07:00
Manoj Prabhu B
1ad024c390 memshare: Correct the usage of index and client_id
Array index of memblock and the client_id of memshare clients
confused usage can cause issue. Correct the usage by properly
defining variable names.

Change-Id: I29a0c6a01d63e92774e11fd258d018c03769ca50
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
2020-09-17 10:46:56 +05:30
qctecmdr
1a49066119 Merge "usb: dwc3-msm: Add explicit out-of-bounds check before array access" 2020-09-16 21:04:12 -07:00
qctecmdr
461f66a474 Merge "defconfig: Enable configs for pil modem on sdxlemur" 2020-09-16 21:04:11 -07:00
qctecmdr
3199a268c1 Merge "msm: kgsl: Allow I/O coherency on imported buffers if we can" 2020-09-16 21:04:11 -07:00
qctecmdr
a8e7108d0d Merge "arch: arm: Enables HAVE_FUTEX_CMPXCHG if FUTEX is enabled" 2020-09-16 21:04:10 -07:00
qctecmdr
504a97b013 Merge "rtc: rtc-pm8xxx: Read ALARM_EN and update to alarm enabled status" 2020-09-16 21:04:09 -07:00
qctecmdr
a94047278c Merge "smcinvoke: populate result from correct returned variable" 2020-09-16 21:04:09 -07:00
qctecmdr
ce86c793e6 Merge "defconfig: msm: Enable Yupik platform" 2020-09-16 21:04:09 -07:00
qctecmdr
b7a9f3bf0f Merge "net: qrtr: hold ept sem lock before node lookup" 2020-09-16 21:04:08 -07:00
qctecmdr
ec57ea0659 Merge "cpufreq: qcom-cpufreq-hw: Fix possible NULL pointer dereferences" 2020-09-16 18:18:33 -07:00