Commit graph

899,157 commits

Author SHA1 Message Date
Naman Padhiar
4ea8e1b341 cnss2: Assert on FW mem allocation failure
Add code to assert if FW requested memory allocation fails.
This helps to collect logs at the time of failure.

Change-Id: I8d3ff82eee545510318e0a9a2a128a71dc8a9fb3
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-06-08 21:33:09 -07:00
qctecmdr
ee8d6eaeda Merge "Merge android11-5.4.86+ (48ffcbf) into msm-5.4" 2021-06-08 09:07:19 -07:00
qctecmdr
a93a7abbe2 Merge "mtd: msm_qpic_nand: Enable one code word read along with PS read" 2021-06-08 06:24:58 -07:00
qctecmdr
24803b2fdf Merge "Revert "aio: only use blk plugs for > 2 depth submissions"" 2021-06-08 06:24:58 -07:00
qctecmdr
3d48e39e08 Merge "clk: qcom: debugcc: Update the CPU mux offset for BLAIR" 2021-06-08 06:24:58 -07:00
Pradeep P V K
afa85aa291 mtd: msm_qpic_nand: Enable one code word read along with PS read
Enable one code word read support along with pagescope read feature
support.

Change-Id: Ib99a37140ec1bd929be34ebf21cd177df6493257
Signed-off-by: Pradeep P V K <pragalla@codeaurora.org>
2021-06-07 21:15:17 -07:00
qctecmdr
e319415478 Merge "mmc: sdhci-msm: Reset SDIO cards during probe by toggling wlan_en pin" 2021-06-07 21:07:30 -07:00
Sahitya Tummala
c039a777cc Revert "aio: only use blk plugs for > 2 depth submissions"
This reverts commit a79d40e9b0.
This is to fix the performance regression of storage tests
observed with fio benchmark.

Change-Id: I914bae800d6c7483639551d0ed7f6094b866fa12
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2021-06-07 20:02:39 -07:00
qctecmdr
20fbe1a9a1 Merge "cnss2: Properly send adsp power collapse enable/disable cmds" 2021-06-07 10:41:39 -07:00
qctecmdr
c71f313e9e Merge "defconfig: sdxnightjar: Enable Panic on for scheduler and RT throttling" 2021-06-07 01:36:41 -07:00
qctecmdr
026fabaf91 Merge "defconfig: sdxnightjar: disable unnecessary network driver" 2021-06-07 01:36:41 -07:00
qctecmdr
6cc30c6a26 Merge "dt-bindings: msm: Add bindings for flash type" 2021-06-07 01:36:40 -07:00
qctecmdr
e4bbc98133 Merge "spi: spi-msm-geni: Put device to suspend if PM status is active" 2021-06-07 01:36:40 -07:00
qctecmdr
fb3f9fc37c Merge "soc: qcom: mem-offline: online only valid memory blocks" 2021-06-07 01:36:39 -07:00
Madhuri Medasani
4f93b5add4 clk: qcom: debugcc: Update the CPU mux offset for BLAIR
Correct the mux offset for CPU debug mux to be
able to measure the CPU frequencies.

Change-Id: I042d36cc94c08b80142c86f545102c24b00ea7e5
Signed-off-by: Madhuri Medasani <mmedasan@codeaurora.org>
2021-06-07 00:12:18 -07:00
qctecmdr
c0f0ff8789 Merge "msm: kgsl: Allow access to QDSS only when coresight is enabled" 2021-06-06 22:46:11 -07:00
shiwgupt
235463e65a dt-bindings: msm: Add bindings for flash type
Add binding support for flash type.

CRs-Fixed: 2938804
Change-Id: Ie4c7978d9baf34456300f39cd1d607c693420862
Signed-off-by: shiwgupt <shiwgupt@codeaurora.org>
2021-06-06 22:45:28 -07:00
Mukesh Kumar Savaliya
a332b9453b spi: spi-msm-geni: Put device to suspend if PM status is active
This change is to keep the device to autosuspend only if runtime PM
status is not suspended. SPI driver resumes only if runtime PM is
active, if framework calls unprepare_message/unprepare_hardware and
if we try to keep driver to autosuspend, it may result into negative
usage count.

Also ensure for the PM calls, runtime is always enabled and if not, do
not call PM.

Change-Id: I8cf3f6deb776e282edce4b488e80c639d697374e
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
2021-06-06 22:32:59 -07:00
Mohammed Siddiq
a2261d88ba cnss2: Properly send adsp power collapse enable/disable cmds
Add code to properly handle sending adsp power collapse enable
& disable cmds.

Change-Id: I405b302180c0a6598592bf3dbad92976549d6d4b
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-06-06 22:02:01 -07:00
lijuang
162bae29c8 defconfig: sdxnightjar: disable unnecessary network driver
Disable unused ethernet driver for sdxnightjar.

Change-Id: Iabf645ec131e9c9c4a64cd93ad09d8c4e788a9a7
Signed-off-by: lijuang <lijuang@codeaurora.org>
2021-06-06 19:37:05 -07:00
Lijuan Gao
9aa8900a4c defconfig: sdxnightjar: Enable Panic on for scheduler and RT throttling
Enable Panic on for scheduler and RT throttling for sdxnightjar.

Change-Id: Ie958aac9c329e2d8761a120349652e882cdb72ed
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
2021-06-06 19:36:51 -07:00
Harshitha Sai Neelati
5c364b0daf msm: kgsl: Allow access to QDSS only when coresight is enabled
Allocate and map QDSS region only when coresight is enabled.
Remove apb_pclk from the clock list when coresight is disabled.

Change-Id: I9be6e1abeab26af3abe9196b87368ceba9a98d01
Signed-off-by: Harshitha Sai Neelati <hsaineel@codeaurora.org>
2021-06-04 14:35:21 +05:30
Zhenhua Huang
df12e38f23 soc: qcom: mem-offline: online only valid memory blocks
mem-offline driver onlines blocks between memory_limit to end of DDR,
but for some cases when using large ram size, the range may not be
contiguous. We online un-existed memory blocks in this case. Example
-
RAM Entry 0 : Base 0x0080000000  Size 0x0033E00000
RAM Entry 1 : Base 0x0200000000  Size 0x0200000000
RAM Entry 2 : Base 0x0800000000  Size 0x0100000000
RAM Entry 3 : Base 0x00C0000000  Size 0x0140000000
if offline-size is 5GB and total memory size is 18GB, we onlined
also un-existed range [0x400000000,0x800000000] in
mem_online_remaining_blocks(). To fix this, Do parsing the DT tree
again and updated bitmap accordingly. Use this bitmap to online memory
blocks.

Change-Id: I5ea94a0ea9dca10e3a3311d6ea53a14302a41ae5
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
2021-06-04 01:30:31 -07:00
Sarthak Garg
8546510ffe mmc: sdhci-msm: Reset SDIO cards during probe by toggling wlan_en pin
Wlan cards are powered by external supply so mmc_power_cycle won't
reset the card.
The only way to reset the wlan cards is by toggling wlan_en pin.
Moreover pinctrl sleep configuration don't get applied during reboot
by default leading to wlan cards in some unknown state post reboot.

Toggle wlan_en pin during probe to reset the card to proper state.

Change-Id: I3065a9d3bf6cddd9f34adb51dd20932df4125f86
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2021-06-03 22:52:10 -07:00
Srinivasarao P
f65f082550 Merge android11-5.4.86+ (48ffcbf) into msm-5.4
* refs/heads/tmp-48ffcbf:
  FROMGIT: kbuild: update config_data.gz only when the content of .config is changed
  ANDROID: ABI: add pm_system_cancel_wakeup symbol
  ANDROID: power: export pm_system_cancel_wakeup
  ANDROID: ABI: Update allowed list for QCOM
  ANDROID: Incremental fs: Set credentials before reading/writing
  Revert "ANDROID: Incremental fs: Fix memory leak on closing file"
  Revert "ANDROID: Incremental fs: Set credentials before reading/writing"
  Revert "ANDROID: Incremental fs: Fix selinux issues"
  ANDROID: ABI: update allowed list for QCOM

Change-Id: I8a3170ad830b20cd7503d73c4377b83f29085566
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2021-06-03 14:17:31 +05:30
Ahmad Masri
1fc0fad0d9 wil6210: Drop unicast sub frame if part of a multicast amsdu
Check that for a given multicast amsdu frame, all its sub frames are
multicast also, if not, means if found a unicast sub frame, drop it
and all the next sub frames for the same multicast amsdu.

Change-Id: Ib9bcc45d9fcafec11c9c2a786fcabf278a666cb4
Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
2021-06-01 05:25:25 -07:00
qctecmdr
e18073515c Merge "msm: kgsl: Update A635 GPU revision number" 2021-05-31 07:48:35 -07:00
qctecmdr
76c9e8d270 Merge "ARM: asm: Add etmv4x.h and debugv8.h to support etmv4 in arm32" 2021-05-31 07:48:34 -07:00
qctecmdr
0b0207bec8 Merge "mtd: msm_qpic_nand: Fix trival compilation errors" 2021-05-31 07:48:34 -07:00
qctecmdr
5143c1b90c Merge "leds: add initial driver for AW2016 LED device" 2021-05-31 07:48:34 -07:00
qctecmdr
96e2bf5666 Merge "icnss2: Avoid assert on QMI send failure" 2021-05-31 07:48:33 -07:00
qctecmdr
497d060f57 Merge "cpufreq: qcom: cpufreq-hw: Initialize sysfs attribute before usage" 2021-05-31 07:48:33 -07:00
qctecmdr
d0caa94887 Merge "arm: defconfig: Add video h/w accelerators support for MONACO" 2021-05-31 07:48:33 -07:00
qctecmdr
3c4e375b0a Merge "msm: kgsl: Enable ACD feature support for A635 GPU" 2021-05-31 07:48:32 -07:00
qctecmdr
4d5d6b55b8 Merge "clk: qcom: Update the clk structure parameters for GPUCC/DISPCC clks" 2021-05-31 07:48:32 -07:00
qctecmdr
5a1afe9087 Merge "arm64: defconfig: Enable v4 phy driver for blair" 2021-05-31 07:48:32 -07:00
Saurabh Sahu
1fdcce591e clk: qcom: Update the clk structure parameters for GPUCC/DISPCC clks
Update the halt check for gpu clocks and remove the enable_safe_config
for dispcc for MONACO.

Change-Id: I97f6a1b7b5d7f8aef862455f0bbf23f9b8612d79
Signed-off-by: Saurabh Sahu <sausah@codeaurora.org>
2021-05-31 16:33:03 +05:30
Hui Liu
817923dccf leds: add initial driver for AW2016 LED device
Add initial driver for AW2016 LED device
which can support up to 3 LED channels.

Signed-off-by: liweilei <liweilei@awinic.com>
Git-commit: ed6556f262cf7e2086d7728c2f752be4cf94b4d1
Git-repo: https://github.com/awinic-driver/aw2016.git
[huliu@codeaurora.org: move the driver to leds folder
 and make corresponding changes in Kconfig and Makefile,
 also remove the dtsi config file and modify the code
 style.]
Signed-off-by: Hui Liu <huliu@codeaurora.org>
Change-Id: I252ca2710d393ff6dcbb691a2a530433ffbd21e3
2021-05-31 14:09:26 +08:00
qctecmdr
9dd081c344 Merge "char: virtio_fastrpc: add interruptible invoke support" 2021-05-30 22:09:30 -07:00
Sachin Kumar Garg
8e0fd6fee5 arm: defconfig: Add video h/w accelerators support for MONACO
Moved the changes from monaco-debug.config to monaco.config

Change-Id: Ic9444738656249e75aff2de60865c170436b1fbc
Signed-off-by: Sachin Kumar Garg <sachinku@codeaurora.org>
2021-05-30 23:20:53 +05:30
Naman Padhiar
df36746b6c icnss2: Avoid assert on QMI send failure
There is possibility that ICNSS asserts on QMI send failure
even after receiving FW down indication. To avoid such scenario
check for FW down before ASSERT.

Change-Id: I68981879601e6fba459e9b48405eed370e00e6c6
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-05-30 18:15:50 +05:30
Sharath Chandra Vurukala
dc9b3b95f1 net: config: remove USB_BAM unset from config
When enabling the VLAN configs USB_BAM config got
unset, correcting the change.

Change-Id: I40c3645b82051c890cacfc0144433d0e487ab6a3
Signed-off-by: Sharath Chandra Vurukala <sharathv@codeaurora.org>
2021-05-30 12:42:15 +05:30
qctecmdr
b8ce8e7c77 Merge "iio: qcom-spmi-adc5-gen3 : Update conversion and IRQ handling logic" 2021-05-29 20:04:04 -07:00
qctecmdr
37e7d96e56 Merge "defconfig: sdmsteppe: Enable CONFIG_QMP_DEBUGFS_CLIENT support" 2021-05-28 16:17:17 -07:00
qctecmdr
144af1f023 Merge "defconfig: gen3auto: Enable CONFIG_QMP_DEBUGFS_CLIENT support" 2021-05-28 16:17:16 -07:00
qctecmdr
54c6f0df18 Merge "arm64: defconfig: Enable MPM driver for SA2150P" 2021-05-28 16:17:16 -07:00
qctecmdr
4a81cc4587 Merge "drivers: rename-block: support DP and No DP configuration" 2021-05-28 16:17:14 -07:00
qctecmdr
ffc7cc1520 Merge "defconfig: Enable USB_BAM config for monaco" 2021-05-28 07:39:57 -07:00
qctecmdr
67951e4d8e Merge "qseecom: retry scm call if app is busy" 2021-05-28 07:39:57 -07:00
Jishnu Prakash
76e8f7ff93 iio: qcom-spmi-adc5-gen3 : Update conversion and IRQ handling logic
Fix timer value for immediate conversion to the right constant
to avoid TM conversions for immediate conversion requests.
Correct TM channel offsets checked from status and data registers
in TM interrupt handler.

Change-Id: I43a9a5cf33d31029fe306e61c4bf2e80966b9b7e
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-05-28 19:53:59 +05:30