Add gpucc-ravelin to modules.list.msm.parrot, to enable
it to load during first stage initialization.
Change-Id: Ic29d21a725aefc076d94c0eb066de5b1fba18edc
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
Restricted vendor hook can not be unregistered. In this case, the risk
disclosed when doing rmmod. Fix it by making the module permanent.
Change-Id: Ie252a3461050e87ce958f9c9997a10e88b67ec15
Signed-off-by: Zhenhua Huang <quic_zhenhuah@quicinc.com>
This change adds bus recovery mechansim to recover slave when slave
device went bad. This is an attempt from master SE to send recovery
command to slave.
As of now only FIFO/DMA mode supported, GSI mode can be added later.
To enable this mechanism, client must define the flag qcom,slave_recovery
in the client DTSI node.
Change-Id: I51e896c84ddc97960eedbd2f828293a6d45a2604
Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@quicinc.com>
BUG_ON due to force panic is triggered in worker thread. To keep the
driver state intact in dumps, don't proceed further and collect the
IB data inline if force panic is enabled.
Change-Id: Ib4f9c3fadb1859965b181d513ab11f80932f8bb8
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
In FT8726 touch controller, separate regulators are not needed. But
regulator voting and pinctrl suspend / normal calls are done together.
This leads to wrong pinctrl state during suspend leading to leakage.
Change-Id: Ia9fe89db1c0c87fd02ee4a7cf6f5a485cb7e23d4
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
Enable SCHGM_FLASH module under charger and AW2016i RGB LED
module for ravelin.
Change-Id: Ifae15a66d384dfb4abb3934bc44237a3538a4993
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
Add support for setting the FLASH_ACTIVE property for targets
with PMI632 where charging firmware runs on a remote processor.
Change-Id: I21459b324cb9993d9a59654520fad9abe0ea7c3b
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
Add support for SCHGM_FLASH module under charger.
SCHGM_FLASH module handles flash failure, de-rating and
allows configuration for different flash features.
Change-Id: Ie957459a5e71c4fa223f1c71dd3f37ed97105873
Signed-off-by: Rakesh Kota <quic_kotarake@quicinc.com>
Add support for FLASH_ACTIVE property, which is used to notify the charger
when flash or torch are in use.
Change-Id: I429f8b5fb15ff206cf75b536a03c463d8668a652
Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
* refs/heads/tmp-897411a:
ANDROID: dma-buf: don't re-purpose kobject as work_struct
ANDROID: dma-buf: Fix build breakage with !CONFIG_DMABUF_SYSFS_STATS
ANDROID: usb: gadget: uvc: remove duplicate code in unbind
FROMGIT: mm/madvise: fix madvise_pageout for private file mappings
ANDROID: arm64: mm: perform clean & invalidation in __dma_map_area
BACKPORT: mm/page_alloc: always initialize memory map for the holes
ANDROID: dma-buf: Add vendor hook for deferred dmabuf sysfs stats release
ANDROID: dm-user: Remove bio recount in I/O path
ANDROID: abi_gki_aarch64_qcom: Add wait_on_page_bit
UPSTREAM: drm/meson: Fix overflow implicit truncation warnings
UPSTREAM: irqchip/tegra: Fix overflow implicit truncation warnings
UPSTREAM: video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
UPSTREAM: irqchip/gic-v4: Wait for GICR_VPENDBASER.Dirty to clear before descheduling
UPSTREAM: mm: kfence: fix missing objcg housekeeping for SLAB
UPSTREAM: clk: Fix clk_hw_get_clk() when dev is NULL
UPSTREAM: arm64: kasan: fix include error in MTE functions
UPSTREAM: arm64: prevent instrumentation of bp hardening callbacks
UPSTREAM: PM: domains: Fix sleep-in-atomic bug caused by genpd_debug_remove()
UPSTREAM: mm: fix use-after-free bug when mm->mmap is reused after being freed
BACKPORT: vsprintf: Fix %pK with kptr_restrict == 0
UPSTREAM: net: preserve skb_end_offset() in skb_unclone_keeptruesize()
BACKPORT: net: add skb_set_end_offset() helper
UPSTREAM: arm64: Correct wrong label in macro __init_el2_gicv3
UPSTREAM: KVM: arm64: Stop handle_exit() from handling HVC twice when an SError occurs
UPSTREAM: KVM: arm64: Avoid consuming a stale esr value when SError occur
BACKPORT: arm64: Enable Cortex-A510 erratum 2051678 by default
UPSTREAM: usb: typec: tcpm: Do not disconnect when receiving VSAFE0V
UPSTREAM: usb: typec: tcpci: don't touch CC line if it's Vconn source
UPSTREAM: dt-bindings: memory: mtk-smi: Correct minItems to 2 for the gals clocks
BACKPORT: dt-bindings: memory: mtk-smi: No need mediatek,larb-id for mt8167
BACKPORT: dt-bindings: memory: mtk-smi: Rename clock to clocks
UPSTREAM: KVM: arm64: Use shadow SPSR_EL1 when injecting exceptions on !VHE
UPSTREAM: block: fix async_depth sysfs interface for mq-deadline
UPSTREAM: dma-buf: cma_heap: Fix mutex locking section
UPSTREAM: scsi: ufs: ufs-mediatek: Fix error checking in ufs_mtk_init_va09_pwr_ctrl()
UPSTREAM: f2fs: include non-compressed blocks in compr_written_block
UPSTREAM: kasan: fix Kconfig check of CC_HAS_WORKING_NOSANITIZE_ADDRESS
UPSTREAM: dma-buf: DMABUF_SYSFS_STATS should depend on DMA_SHARED_BUFFER
UPSTREAM: mmflags.h: add missing __GFP_ZEROTAGS and __GFP_SKIP_KASAN_POISON names
BACKPORT: scsi: ufs: Optimize serialization of setup_xfer_req() calls
UPSTREAM: Kbuild: lto: fix module versionings mismatch in GNU make 3.X
UPSTREAM: clk: versatile: Depend on HAS_IOMEM
BACKPORT: arm64: meson: select COMMON_CLK
UPSTREAM: kbuild: do not include include/config/auto.conf from adjust_autoksyms.sh
UPSTREAM: inet: fully convert sk->sk_rx_dst to RCU rules
ANDROID: Update symbol list for mtk
FROMLIST: binder: fix UAF of alloc->vma in race with munmap()
ANDROID: GKI: Update symbol list for mtk tablet projects
UPSTREAM: af_key: Do not call xfrm_probe_algs in parallel
UPSTREAM: mm: Fix TLB flush for not-first PFNMAP mappings in unmap_region()
UPSTREAM: mm: Force TLB flush for PFNMAP mappings before unlink_file_vma()
FROMGIT: f2fs: let's avoid to get cp_rwsem twice by f2fs_evict_inode by d_invalidate
ANDROID: abi_gki_aarch64_qcom: whitelist some vm symbols
ANDROID: vendor_hook: skip trace_android_vh_page_trylock_set when ignore_references is true
BACKPORT: ANDROID: dma-buf: Move sysfs work out of DMA-BUF export path
UPSTREAM: wifi: mac80211: fix MBSSID parsing use-after-free
UPSTREAM: wifi: mac80211: don't parse mbssid in assoc response
UPSTREAM: mac80211: mlme: find auth challenge directly
UPSTREAM: wifi: cfg80211: update hidden BSSes to avoid WARN_ON
UPSTREAM: wifi: mac80211: fix crash in beacon protection for P2P-device
UPSTREAM: wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
UPSTREAM: wifi: cfg80211: avoid nontransmitted BSS list corruption
UPSTREAM: wifi: cfg80211: fix BSS refcounting bugs
UPSTREAM: wifi: cfg80211: ensure length byte is present before access
UPSTREAM: wifi: cfg80211/mac80211: reject bad MBSSID elements
UPSTREAM: wifi: cfg80211: fix u8 overflow in cfg80211_update_notlisted_nontrans()
ANDROID: GKI: Update symbols to symbol list
ANDROID: sched: add restricted hooks to replace the former hooks
ANDROID: GKI: Add symbol snd_pcm_stop_xrun
ANDROID: ABI: update allowed list for galaxy
ANDROID: GKI: Update symbols to symbol list
UPSTREAM: dma-buf: ensure unique directory name for dmabuf stats
UPSTREAM: dma-buf: call dma_buf_stats_setup after dmabuf is in valid list
Conflicts:
Documentation/devicetree/bindings
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml
Documentation/devicetree/bindings/memory-controllers/mediatek,smi-larb.yaml
Change-Id: If8181c06536ceb430cde0826f557298b4ab648e7
Signed-off-by: Srinivasarao Pathipati <quic_c_spathi@quicinc.com>
Enable QoS for the master ports on ravelin with
predefined values for priority and urgency.
Change-Id: I85051ecb1a66d4106f85491fc9eff6f22cd9c4dc
Signed-off-by: Raviteja Laggyshetty <quic_rlaggysh@quicinc.com>
Some targets need to support dynamic qos control per ringbuffer
for time sensitive tasks. Add support to update the qos value
based on the active ringbuffer for HWSCHED targets. To enable
this feature, specify qos_value array in adreno gpu list.
Update minimum required firmware version for gen7_6_0. GMU FW
4.01.09 adds support for dynamic QOS HFI message.
Also, disable dynamic QOS control setting if preemption is disabled.
Change-Id: I9d95da3ab73a516276b1cfbe0970fdb4c6d5ed3c
Signed-off-by: Kamal Agrawal <quic_kamaagra@quicinc.com>
Add NULL check for 'dev' pointer before passing to
cnss_bus_dev_to_plat_priv function.
Add NULL check for 'plat_priv' pointer before use.
Change-Id: I334504be6cf2de0a086628568a3cdee98894f423
CRs-Fixed: 3364740
Signed-off-by: Sai Kumar Kunchala <quic_kunchala@quicinc.com>
This change adds drv names to get stats information.
Change-Id: I36c32f8ca0fca6647c32e1790a481aa4b177fcb1
Signed-off-by: Raghavendra Kakarla <quic_rkakarla@quicinc.com>
Add a data length validation check in fw response message in
qdss_data_send_sync().
Change-Id: I197b8d52c06e35f5fcf0f8fee94429fdcf500fcb
CRs-Fixed: 3359589
Signed-off-by: Alan Chen <quic_alache@quicinc.com>
In some cases, we see continuous AER's after link up and also EP
config space is not accessible at that point. So the driver is releasing
all the resources. At the time of releasing we are still getting AER's
resulting in un-clocked access to registers which is resulting in NOC
error.
This issue is seen with quick hotplug of SDXC (when system in suspended)
scenario and AER errors could be due to SDXC is not contacted properly
with connector due to quick insertion/removal.
So masking the interrupts before releasing resources and also added a
check in the AER irq handler to read error registers only after link is
up.
Change-Id: Ic027b2f83483a2d7b5d28e623dfb58bae0e091ea
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
For WIN use case maximum number of memory segments requested
by FW is increased to 52 in QMI layer. Since CNSS2 driver uses
same QMI header files and message structures the same maximum
number of segment is applicable for CNSS2. It means for memory
allocation, FW can request 52 memory segments to CNSS2 via QMI
indication but local CNSS2 variable which get segment info from
indication supports maximum 32 segments.
To fix it, change CNSS2 array variable size to same as number of
maximum segment supported in QMI layer.
Change-Id: I661b55b53cb31327da12f064d0a516884159eb5b
Signed-off-by: Naman Padhiar <quic_npadhiar@quicinc.com>
When the QTEE is busy with a high concurrency, the objects and shared
memory bridge will not be released and deleted in time, this will lead
to memory leakage issues in the QTEE. To avoid the memory leakage in case
of EBUSY, we add 2 exclusive worker threads to postprocess the object
release and shmbridge deletion separately.
When there is a large shambridge memory which is not deleted in time,
the shambridge in QTEE might be out of memory.We met this issue in the
TVM TUI unit test. To avoid being out of shambridge memory, we should
postpone the deletion of shambridge created by smcinvoke itself.
Change-Id: I620f27cc129255abbe0c3b33c9999dd2a252dd42
Signed-off-by: Divisha Bisht <quic_divibish@quicinc.com>
Enable power management wakeup mode, which is disabled by default.
Wakeup mode lets the IRQ wake the system from sleep states.
Without this change, the card detect irq might not fires during
system supend. As a result, this not let to call pcie deenumerate
function and makes the pcie/nvme nodes remains unremoved.
So, in it's next re-insert, as the nodes are not removed, pcie
assumes that RC2 node is already present and skip to call enumeration.
This leaves it in non-functional state.
So, add wake capability support for sdexpress card detect irq.
Change-Id: Icad4bcaf7159f709f1f2dbbca2726f121881cff9
Signed-off-by: Pradeep P V K <quic_pragalla@quicinc.com>
Add missing kobject_put() in the error path to create sysfs entries.
Change-Id: I6457d3e603c5f3462184423779997f47879bc4a8
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
Add NULL check for 'dev' pointer before passing to
cnss_bus_dev_to_plat_priv function.
Add NULL check for 'plat_priv' pointer before using in
cnss_wlan_enable function.
Change-Id: Ifef34b01da7de22be2b3c6043277d2ee74c344c6
CRs-Fixed: 3360223
Signed-off-by: Sai Kumar Kunchala <quic_kunchala@quicinc.com>