Commit Graph

1020185 Commits

Author SHA1 Message Date
Zhenhua Huang
bb0e3c7b65 Revert "ravelin: Add gpucc-ravelin to modules.list.msm.parrot"
This reverts commit af1f9d665e.

Change-Id: I32ce70a2a6f20693778447c4c0c59084d2f74d6c
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
2023-02-23 20:45:26 +08:00
qctecmdr
f746cc33f6 Merge "msm: pcie: Fix for the type caste bugs in the driver" 2023-02-22 08:13:41 -08:00
qctecmdr
c2caeb5b16 Merge "icnss2: Disable APPS proxy votes before WLAN_EN" 2023-02-22 01:45:53 -08:00
qctecmdr
55c81bbc32 Merge "usb: dwc3: core: Add NULL checks for dwc3 before dereferencing it" 2023-02-21 03:06:53 -08:00
qctecmdr
900f82194d Merge "cnss2: Add NULL check for 'cfg_arr' pointer" 2023-02-21 01:12:55 -08:00
Paras Sharma
ba103384fe msm: pcie: Fix for the type caste bugs in the driver
Fix for the type caste bugs in the driver

Change-Id: I22db9d483e1ad3ce12f633fe208f3382777d3283
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2023-02-21 14:18:34 +05:30
qctecmdr
543c1182c4 Merge "cnss2: Enhance debugging information" 2023-02-20 23:15:36 -08:00
qctecmdr
5417667988 Merge "msm: mhi_dev: Add tx_rx_reqs DT property parsing" 2023-02-20 08:47:28 -08:00
Sandeep Singh
303db02441 icnss2: Disable APPS proxy votes before WLAN_EN
WCN6450 has strict power on sequence where WLAN_EN needs
to be enable first followed by regulators. To achieve
this remove Host Proxy votes before sending TARGET_CAP
and MODE_ON QMI request in which FW is suppose to do
WLAN_EN high.

Change-Id: I315269048c6499153d4d2daf6ee6a829f6fd2ccc
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2023-02-20 19:36:29 +05:30
qctecmdr
9be2a7c9a0 Merge "i2c: i2c-msm-geni: Do not add reg68 WAR unless stretch bit set" 2023-02-20 04:28:33 -08:00
Sai Kumar Kunchala
1bbbb1312e cnss2: Add NULL check for 'cfg_arr' pointer
Add NULL check for 'cfg_arr' pointer before passing to
'of_property_read_string_array' function.

Change-Id: Ief30b57145af5842cfd8e9533fcc5d15ab5ea0f1
CRs-Fixed: 3409579
Signed-off-by: Sai Kumar Kunchala <quic_kunchala@quicinc.com>
2023-02-20 17:50:28 +05:30
Sandeep Singh
f3715a6bf6 cnss2: Enhance debugging information
Add change to print file type which is getting
downloaded from cnss2 platform driver to wlan fw.

Change-Id: I737c9c04bc02a3cd320362f230a0862321ec312c
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2023-02-20 02:37:32 -08:00
qctecmdr
42daa5213c Merge "msm: adsprpc: Revert for buffer memset after ramdump collection" 2023-02-20 02:06:26 -08:00
qctecmdr
b62d04bb02 Merge "icnss2: Add support for WLAN WCN6450 device" 2023-02-19 23:42:00 -08:00
qctecmdr
053abd0a71 Merge "soc: qcom: llcc_perfmon: Add fix for ADDR_MASK and WAY_ID filter" 2023-02-19 23:42:00 -08:00
Mukesh Kumar Savaliya
e9fb6442b2 i2c: i2c-msm-geni: Do not add reg68 WAR unless stretch bit set
This change removes applied reg68 war from pending cancel operation
function and keep it in place only for stretch bit case. Since pending
cancel operation recovers the IOS line state with force default, we
don't need to run reg68 WAR.
As per the original stretch bit time issue, we should get ARB lost
error and hence execute the WAR only that time.

Change-Id: I5d6e40efd112a9ab416f08bf0cc3f697bee1e1a4
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
2023-02-17 20:48:17 +05:30
qctecmdr
155c0ea6c0 Merge "clk: qcom: gcc-anorak: Add support for TBU and TCU clocks" 2023-02-17 03:35:57 -08:00
Uttkarsh Aggarwal
87a7595cc6 usb: dwc3: core: Add NULL checks for dwc3 before dereferencing it
Currently in dwc3_msm_suspend there is no check for dwc if it is
NULL or not.

Adding dwc check as well while we check for mdwc3->in_host
so that pm_request_resume will not be call if dwc is NULL.

Change-Id: I24fafd895cdd6055fc88495ed7c9fb66459fd68c
Signed-off-by: Uttkarsh Aggarwal <quic_uaggarwa@quicinc.com>
2023-02-17 13:45:56 +05:30
Vamsi Krishna Gattupalli
b38a5f1922 msm: adsprpc: Revert for buffer memset after ramdump collection
Revert for buffer memset after ramdump collection
as removing ramdump collection node from list after
use removes the previous ramdump data from elf,
resetting buffer is not needed.

Change-Id: I71dfd5750c20bbfe36771482e215fe675fd6a722
Acked-by: Ansa Ahmed <ansaahme@qti.qualcomm.com>
Signed-off-by: Vamsi Krishna Gattupalli <quic_vgattupa@quicinc.com>
2023-02-17 11:59:47 +05:30
qctecmdr
8f762f1016 Merge "um: Increase stack frame size threshold for signal.c" 2023-02-16 20:51:20 -08:00
qctecmdr
2ebf1cf923 Merge "i2c: i2c-msm-geni: add changes for multi-ee unlock" 2023-02-16 13:59:26 -08:00
Aman Kanwar
d0f20d0884 soc: qcom: llcc_perfmon: Add fix for ADDR_MASK and WAY_ID filter
Add multifilter changes for ADDR_MASK filter. Also fixed mask/match bits
for WAY_ID filter in TRP.

Change-Id: I8b92d949f87bb4a8fa11bf905570ffa3a8ac7791
Signed-off-by: Aman Kanwar <quic_akanwar@quicinc.com>
2023-02-16 23:40:13 +05:30
Sandeep Singh
aa719dfa98 icnss2: Add support for WLAN WCN6450 device
Add corresponding driver support for WCN6450 device.
This change adds compatible dtsi entry, msi config,
v3 shadow register config and vreg regulator details
along with enabling bootup sequence for WCN6450 device.

Change-Id: I406c92cdc2815ffd1108331d382c4972befad998
Signed-off-by: Sandeep Singh <quic_sandsing@quicinc.com>
2023-02-16 23:11:34 +05:30
qctecmdr
c4fea6aa29 Merge "msm: kgsl: Correct arm smmu module name in MODULE_SOFTDEP" 2023-02-16 00:23:50 -08:00
Nitesh Gupta
682cdc975b msm: mhi_dev: Add tx_rx_reqs DT property parsing
In high throughput cases over MHI netdev we need to
control the number of RX and TX reqs for netdev driver.
This change adds "qcom,tx_rx_reqs" property to control
the number of reqs in DT rather than hard coding in driver.

Change-Id: Id7bee666b4d23dbb54cfe4680e6bab7f79c46870
Signed-off-by: Nitesh Gupta <quic_nitegupt@quicinc.com>
2023-02-15 23:19:58 -08:00
Andy Shevchenko
79d3c2a8ed um: Increase stack frame size threshold for signal.c
The signal.c can't use heap for bit data located on stack. However,
by default a compiler warns us about overstepping stack frame size
threshold:

arch/um/os-Linux/signal.c: In function ‘sig_handler_common’:
arch/um/os-Linux/signal.c:51:1: warning: the frame size of 2960 bytes is larger than 2048 bytes [-Wframe-larger-than=]
   51 | }
      | ^
arch/um/os-Linux/signal.c: In function ‘timer_real_alarm_handler’:
arch/um/os-Linux/signal.c:95:1: warning: the frame size of 2960 bytes is larger than 2048 bytes [-Wframe-larger-than=]
    95 | }
       | ^

Due to above increase stack frame size threshold explicitly for signal.c
to avoid unnecessary warning.

Change-Id: I325a14ea58645bf3188f2d30e5340d53769b6a21
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: David Gow <davidgow@google.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Git-commit: 517f60206ee5d5f75c44bd9c8b1683d1d18a616a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2023-02-15 17:49:41 +05:30
qctecmdr
c77462834f Merge "msm: mhi_dev: Remove the second redundant unlock" 2023-02-15 04:07:38 -08:00
qctecmdr
07b29d2cc0 Merge "firmware: qcom_scm: Reduce prints around qcom_scm_halt_spmi_pmic_arbiter" 2023-02-14 13:09:38 -08:00
Paras Sharma
55c4d004aa msm: mhi_dev: Remove the second redundant unlock
Remove the second redundant mutex unlock as its not really needed.

Change-Id: I7b92fb58ee86a7fae5c20dac8ae1cb3ac03fc311
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2023-02-13 14:06:21 +05:30
qctecmdr
2843b468db Merge "pci: msm: Remove qcom_clk_dump calls from interrupt context" 2023-02-10 17:20:36 -08:00
qctecmdr
6092af7ad8 Merge "pci: msm: Update the icc bw voting based up on link speed and width" 2023-02-10 08:17:53 -08:00
qctecmdr
8e609062c1 Merge "dmaengine: msm_gpi: add gsi enhancement changes" 2023-02-10 08:17:52 -08:00
qctecmdr
ba732ae131 Merge "Revert "msm: kgsl: Enable ACD feature for A621 GPU"" 2023-02-10 05:12:11 -08:00
qctecmdr
2e038f4456 Merge "msm: kgsl: Check user generated timestamp before queuing drawobjs" 2023-02-10 05:12:11 -08:00
qctecmdr
1ab5bdcfba Merge "modules.blocklist: Add limits_stress driver to block list for parrot" 2023-02-10 05:12:10 -08:00
qctecmdr
8c0479b5bc Merge "msm: kgsl: Update gmu fw version compatibility check for gen7" 2023-02-10 05:12:10 -08:00
qctecmdr
5ac1ecef8a Merge "net: qrtr: Add irqsave/irqrestore spin locks" 2023-02-10 05:12:09 -08:00
qctecmdr
61eb18de0c Merge "dma-buf: return success for cmo of dummy clients" 2023-02-10 05:12:09 -08:00
qctecmdr
fdfe5b928f Merge "usb: redriver: nb7vpq904m: safely disable regulator" 2023-02-10 05:12:09 -08:00
qctecmdr
fb2fd0a32a Merge "misc: Add Nordic driver sleep mode support" 2023-02-10 05:12:07 -08:00
Prudhvi Yarlagadda
662669a86f pci: msm: Remove qcom_clk_dump calls from interrupt context
qcom_clk_dump function internally has sleeping calls like
mutext locks. We should not use this function in interrupt/
atomic context.

Change-Id: Ic10db12ec79158ea5a532a0de5a66a2c4a49a703
Signed-off-by: Prudhvi Yarlagadda <quic_pyarlaga@quicinc.com>
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
2023-02-10 12:30:41 +05:30
Anil Veshala Veshala
a386a76c3c i2c: i2c-msm-geni: add changes for multi-ee unlock
For multi ee usecase doing unlock during the xfer itself,
suspecting this may cause race conditions b/w modem and
apps, to avoid this doing unlock at the end of xfer.

Change-Id: If7c5c52cbc8f1a071ea14c9cc352624e81a5a79b
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
2023-02-09 21:46:52 -08:00
Anil Veshala Veshala
fb2107d59c dmaengine: msm_gpi: add gsi enhancement changes
From spi/i2c drivers we do gpi pause and resume for
both tx and rx channels, if we pass tx handle to gsi
driver it will take care for both tx and rx channels,
no need to do for rx channel again in client drivers.
So removed gpi_pause for rx channel in client drivers.
Also updated changes as per hpg sequence.

For levm we are not doing gpi_terminate properly,
this is causing GPII in stuck state, we are doing only
RESET and START.
we should do below sequence. CH-STOP. CH-RESET. CH-START.

Change-Id: Id3b9ad951575e973c5452e14e0ace28294685c10
Signed-off-by: Anil Veshala Veshala <quic_aveshala@quicinc.com>
Signed-off-by: Vaishnavi AVS <quic_vavs@quicinc.com>
2023-02-09 08:28:09 -08:00
Krishna chaitanya chundru
d196ceb7fd pci: msm: Update the icc bw voting based up on link speed and width
Update icc bw voting after the link is up based upon link speed and
width if there is no client based bw voting.

If there is already client based voting, vote for minimal bandwidth
which is needed to bring the PCIe link up. As client is already voting
based up on their requirement, if we vote based upon speed and width
we may end up voting for more bandwidth which may result in high power
consumption.

Change-Id: Ie0647530dddbe7493dc0e6d854d553c0b5c536ac
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
2023-02-09 03:58:30 -08:00
Sarannya S
4c3847f184 net: qrtr: Add irqsave/irqrestore spin locks
Add back the irq save and restore spin locks to qrtr_port_lookup,
qrtr_port_remove and __qrtr_bind, to avoid any potential
race condition, or use-after-free scenarios.

Change-Id: I09e70dc70c6daac515a2fc04800a2f28582ebc20
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
2023-02-09 14:38:25 +05:30
Priyansh Jain
03ae656f6c firmware: scm: Add support for lmh scm for changing lmh profile
Add new api's to change lmh profile.This is needed to modify
the lmh threshold.

Change-Id: I8c8d0fd7257995daf46853eb8032fa4a81175b2d
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2023-02-08 22:56:46 -08:00
Wei Tan
7b48962e48 misc: Add Nordic driver sleep mode support
Add HMD nordic driver to enter sleep;
It could save power after HMD is bonded
with controllers when idle.

Change-Id: I37060e5183090fe0529d193a98164a5ae57a5512
Signed-off-by: Wei Tan <quic_weitan@quicinc.com>
2023-02-08 18:38:02 -08:00
qctecmdr
53eecc83d6 Merge "msm-5.10: debug: config: le: enabling LKDTM" 2023-02-08 11:48:19 -08:00
Srinivasarao Pathipati
5eb7909028 Merge keystone/android12-5.10-keystone-qcom-release.149+ (f29e4ad) into msm-5.10
* refs/heads/tmp-f29e4ad:
  ANDROID: cpu: correct dl_cpu_busy() calls
  BACKPORT: ext4: fix use-after-free in ext4_rename_dir_prepare
  ANDROID: GKI: rockchip: Update symbols
  BACKPORT: f2fs: let's avoid panic if extent_tree is not created
  BACKPORT: f2fs: should use a temp extent_info for lookup
  BACKPORT: f2fs: don't mix to use union values in extent_info
  BACKPORT: f2fs: initialize extent_cache parameter
  BACKPORT: f2fs: add block_age-based extent cache
  BACKPORT: f2fs: allocate the extent_cache by default
  BACKPORT: f2fs: refactor extent_cache to support for read and more
  BACKPORT: f2fs: remove unnecessary __init_extent_tree
  BACKPORT: f2fs: move internal functions into extent_cache.c
  BACKPORT: f2fs: specify extent cache for read explicitly
  BACKPORT: f2fs: add "c_len" into trace_f2fs_update_extent_tree_range for compressed file
  BACKPORT: f2fs: fix race condition on setting FI_NO_EXTENT flag
  BACKPORT: f2fs: extent cache: support unaligned extent
  UPSTREAM: io_uring: kill goto error handling in io_sqpoll_wait_sq()
  ANDROID: allmodconfig: disable WERROR
  UPSTREAM: Enable '-Werror' by default for all kernel builds
  ANDROID: GKI: VIVO: Add a symbol to symbol list
  ANDROID: fips140: add crypto_memneq() back to the module
  ANDROID: GKI: rockchip: Update module fragment and symbol list
  ANDROID: GKI: rockchip: Enable symbols for HDMIRX
  ANDROID: GKI: rockchip: Enable symbols for Ethernet
  ANDROID: Re-enable fast mremap and fix UAF with SPF
  Revert "ANDROID: Make SPF aware of fast mremaps"
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: fips140: add dump_jitterentropy command to fips140_lab_util
  UPSTREAM: io_uring: add missing item types for splice request
  ANDROID: GKI: update xiaomi symbol list
  Revert "Revert "ANDROID: vendor_hooks:vendor hook for mmput""
  Revert "Revert "ANDROID: vendor_hooks:vendor hook for __alloc_pages_slowpath.""
  ANDROID: GKI: rockchip: Add symbol clk_hw_set_parent
  UPSTREAM: usb: dwc3: core: Add error log when core soft reset failed
  FROMLIST: fuse: give wakeup hints to the scheduler
  ANDROID: Make SPF aware of fast mremaps
  ANDROID: GKI: enable mulitcolor-led
  UPSTREAM: HID: playstation: support updated DualSense rumble mode.
  UPSTREAM: HID: playstation: add initial DualSense Edge controller support
  UPSTREAM: HID: playstation: stop DualSense output work on remove.
  UPSTREAM: HID: playstation: convert to use dev_groups
  UPSTREAM: HID: playstation: fix return from dualsense_player_led_set_brightness()
  UPSTREAM: HID: playstation: expose DualSense player LEDs through LED class.
  UPSTREAM: leds: add new LED_FUNCTION_PLAYER for player LEDs for game controllers.
  UPSTREAM: HID: playstation: expose DualSense lightbar through a multi-color LED.
  UPSTREAM: Documentation: leds: standartizing LED names
  ANDROID: usb: gadget: uvc: remove duplicate code in unbind
  ANDROID: dma-buf: Fix build breakage with !CONFIG_DMABUF_SYSFS_STATS
  ANDROID: dma-buf: don't re-purpose kobject as work_struct
  UPSTREAM: drm/amdgpu: temporarily disable broken Clang builds due to blown stack-frame
  BACKPORT: Kconfig.debug: provide a little extra FRAME_WARN leeway when KASAN is enabled

Change-Id: Ie1154752931ac285427f153f71d861387628b321
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
2023-02-08 16:05:35 +05:30
Sasi Kumar Maddineni
4949d0bad7 msm-5.10: debug: config: le: enabling LKDTM
Enabled linux kernel dump test tool module.

Change-Id: I76b6d3316807edfdc62352dd137c1c5476eddf93
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>
2023-02-08 02:15:38 -08:00