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>
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>
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>
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>
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>
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>
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>
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>
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>
Remove the second redundant mutex unlock as its not really needed.
Change-Id: I7b92fb58ee86a7fae5c20dac8ae1cb3ac03fc311
Signed-off-by: Paras Sharma <quic_parass@quicinc.com>
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>
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>
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>
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>
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>
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>
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>
* 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>
Enabled linux kernel dump test tool module.
Change-Id: I76b6d3316807edfdc62352dd137c1c5476eddf93
Signed-off-by: Sasi Kumar Maddineni <quic_sasikuma@quicinc.com>