Commit graph

891,022 commits

Author SHA1 Message Date
Pavankumar Kondeti
ce9e2f4ffd sched/walt: Improve the scheduler
This change is for general scheduler improvement.

Change-Id: I7a9b4008cdf7082f8ce3645bf5459b4afff1ff8a
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2020-09-21 17:18:19 +05:30
qctecmdr
febeb7a60c Merge "cnss2: Remove 0 MSI data check" 2020-09-20 08:04:09 -07:00
qctecmdr
12ac06dbe2 Merge "usb: misc: nb7vpq904m: remove register read operation" 2020-09-20 08:04:08 -07:00
qctecmdr
fe8c0cb810 Merge "usb: dwc3-msm: Clean up gsi_prepare_trbs()" 2020-09-20 08:04:07 -07:00
qctecmdr
cc6e26a7fe Merge "defconfig: msm: Enable pinctrl-yupik driver" 2020-09-20 08:04:06 -07:00
qctecmdr
2395f4189c Merge "input: touchscreen: synaptics_dsx: Fix Propagation" 2020-09-20 02:12:31 -07:00
qctecmdr
662c5c0839 Merge "input: touchscreen: Enable Synaptics DSX touch driver" 2020-09-20 02:12:30 -07:00
qctecmdr
5ccc883e1d Merge "ANDROID: lkdtm/usercopy: Use __va_function to find proper vm_mmap address" 2020-09-20 02:12:30 -07:00
qctecmdr
c9e3e8d236 Merge "msm: kgsl: Fix DMA API warning while dma_buf_map_attachment()" 2020-09-20 02:12:30 -07:00
qctecmdr
94186423ce Merge "icnss2: Add vbatt feature code for holi" 2020-09-20 02:12:29 -07:00
qctecmdr
5e862167df Merge "cpuidle: lpm-levels: Core isolation check to get PM QoS latency" 2020-09-20 02:12:29 -07:00
qctecmdr
f2918b8a6e Merge "drivers: thermal: qmi_sensors: Add MSM_SKIN_THERM qmi sensors" 2020-09-20 02:12:29 -07:00
qctecmdr
bba4d8f645 Merge "msm: kgsl: Skip DTCM and NMI if SMMU is stalled" 2020-09-20 02:12:28 -07:00
qctecmdr
aab4a9f9c3 Merge "arm: defconfig: Enable RPMH clock driver for sdxlemur" 2020-09-19 23:25:49 -07:00
qctecmdr
8c40d56db2 Merge "msm: adsprpc: remove redundant check for static PDR handle" 2020-09-19 23:25:48 -07:00
qctecmdr
8290f255fc Merge "aarch64: defconfig: Cleanup the lahaina_GKI.config" 2020-09-19 23:25:48 -07:00
qctecmdr
e28ee47706 Merge "cnss2: Initialize params for error path" 2020-09-19 23:25:48 -07:00
qctecmdr
f81e2b21f7 Merge "kernel: time: Restore original wheel index calculation" 2020-09-19 23:25:48 -07:00
qctecmdr
1ba8da95ea Merge "soc: qcom: msm_glink_ssr: Notify on powerup failure" 2020-09-19 23:25:47 -07:00
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
Manikandan Mohan
d14fbadbf7 cnss2: Initialize params for error path
Update driver to initialize and do null checks for variables in
error path.

Change-Id: I4b012d856decd02dcc3e82d13213ddd529838e98
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-09-18 13:05:49 -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
Neeraja P
9c75620b1e msm: kgsl: Fix DMA API warning while dma_buf_map_attachment()
The dma_get_max_seg_size() returns a default value of 64k when dma_parms
are not allocated. When CONFIG_DMA_API_DEBUG_SG is enabled and the
requested size is more 64k, it triggers a warning as below.

[   25.468427] c6    754 kgsl kgsl-3d0: DMA-API: mapping sg segment longer than device claims to support [len=2097152] [max=65536]
[   25.480236] c6    754 WARNING: CPU: 6 PID: 754 at kernel/dma/debug.c:1302
[   25.497971] c6    754 Kernel panic - not syncing: panic_on_warn set ...
[   25.714532] c6    754 Call trace:
[   25.717938] c6    754  dump_backtrace+0x0/0x200
[   25.722598] c6    754  dump_stack+0xb8/0xf0
[   25.726897] c6    754  panic+0x160/0x44c
[   25.730934] c6    754  trace_raw_output_cpuhp_multi_enter+0x0/0xf4
[   25.737284] c6    754  report_bug+0x114/0x1b8
[   25.741756] c6    754  bug_handler+0x28/0xa0
[   25.746146] c6    754  brk_handler+0xac/0x1d0
[   25.750622] c6    754  do_debug_exception+0x88/0x188
[   25.755722] c6    754  el1_dbg+0x18/0xa8
[   25.759757] c6    754  debug_dma_map_sg+0x1e4/0x694
[   25.764768] c6    754  ion_map_dma_buf+0x318/0x428
[   25.769693] c6    754  dma_buf_map_attachment+0x68/0xbc
[   25.775063] c6    754  kgsl_setup_dma_buf+0xec/0x3b0
[   25.780160] c6    754  kgsl_ioctl_gpuobj_import+0x498/0x914
[   25.785879] c6    754  kgsl_ioctl_helper+0x11c/0x14c
[   25.790983] c6    754  kgsl_ioctl+0x30/0xa8
[   25.795283] c6    754  do_vfs_ioctl+0x66c/0xa14
[   25.799941] c6    754  __arm64_sys_ioctl+0x7c/0xb0
[   25.804865] c6    754  el0_svc_common+0x98/0x1d8
[   25.809609] c6    754  el0_svc_handler+0x5c/0x64
[   25.813205] c5      1 F2FS-fs (sda19): Start checkpoint disabled!
[   25.814359] c6    754  el0_svc+0x8/0xc

This warning can be fixed by allocating the dma_parms and setting the
max_segment_size.

Change-Id: I721858eadbe3588b4f5be0a0a73c428869c8e5de
Signed-off-by: Harshitha Sai Neelati <hsaine@codeaurora.org>
Signed-off-by: Neeraja P <neerp@codeaurora.org>
2020-09-18 11:42:18 +05:30
Linyu Yuan
49edb9f93d usb: misc: nb7vpq904m: remove register read operation
each register contain one parameter,
there is no need to read register before write,
it can improve time when change a mode.

Change-Id: Ifc9e7fd1f9bf9c6a048308dcc0cc2a476d1fc2d4
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2020-09-18 12:18:18 +08: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
Linyu Yuan
f03977713e usb: misc: nb7vpq904m: disable chip during probe
currently when power up with no usb cable, chip only disable
when system enter suspend state, disable chip during probe
will consume lower power early.
another fix is no need to disable chip again for suspend operation.

Change-Id: I182b8d96c45c0225fed2be6b35c0aba488c0589f
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2020-09-18 11:17:53 +08: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