Commit Graph

1013011 Commits

Author SHA1 Message Date
Yue Liu
4585ad002f pinctrl: qcom: Add support for Ravelin SoC pin control
Add support for Ravelin pin configuration and control
via pinctrl framework.

Change-Id: I83f911e359a0c63d7010273355fbb24301507564
Signed-off-by: Yue Liu <quic_yueliu@quicinc.com>
2022-06-07 17:47:25 +08:00
Konstantin Dorfman
cf8533e8ed soc: qcom: spcom: spcom_ioctl_handle_get_message fix NULL pointer channel
This change fixes NULL pointer dereference for the cases when channel name
invalid is invalid: wrong channel name or usage control channel device as
spcom channel to receive message.

Change-Id: I7bce7dd7da1d7c3984d49a042661b199babf5145
Signed-off-by: Konstantin Dorfman <quic_kdorfman@quicinc.com>
2022-06-07 02:32:55 -07:00
Shivnandan Kumar
9585cb3b6a drivers: dcvs: memlat: reset enable_spm_voting to 0
Make enable_spm_voting as 0, when user space
set spm_thres to default values.
Initially enable_spm_voting is 0, it is enabled
when spm_thres is changed to a value less than
MAX_SPM_THRES.
But it is never disabled once it is enabled,
which have some overhead.

Change-Id: I54d38b1ac8bea4a7360945d9f7ac23e98bd2a6de
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2022-06-07 12:31:27 +05:30
Yuanfang Zhang
53b032a54e coresight-tmc: fix etr enable fail issue
When call __tmc_etr_enable_hw fail in tmc_etr_enable_hw, need set
drvdata->etr_buf = NULL, Otherwise, the later call tmc_etr_enable_hw
will fail.

Change-Id: I3078ba15997ea1a21e3bea231c5c27b730d389ac
Signed-off-by: Yuanfang Zhang <quic_yuanfang@quicinc.com>
2022-06-07 14:42:52 +08:00
Tao Zhang
60e099974d net: vmw_vsock: gunyah: Add bounds check
Validate the incoming packet size when trying to process the message
received on the transport.

Change-Id: If7ea95180a2b04be4832e771013b9e4342118b4c
Signed-off-by: Tao Zhang <quic_taozhan@quicinc.com>
2022-06-06 23:16:56 -07:00
Pratyush Brahma
bb0c9decec iommu/arm-smmu-qcom: Increase timeout for qtb500 halt
qtb500 needs additional timeout to acknowledge halt in rumi
environment. Increase the timeout for qtb500 halt
acknowledgment to cater to rumi environment. This
will likely have minimal impact in production as well.

Change-Id: I911f192c22bdfad1592d1ad1e80edb73a7f8f5d4
Signed-off-by: Pratyush Brahma <quic_pbrahma@quicinc.com>
2022-06-07 10:35:30 +05:30
Mariam Elia
787c08215d remoteproc: qcom_spss: Retry if SPSS early boot crash seen
Retry if SPSS early boot crash seen.

Change-Id: I1b5dd1b16b698e078c69073c3c95ee26b9196dd0
Signed-off-by: Mariam Elia <quic_melia@quicinc.com>
2022-06-06 16:01:17 -07:00
Mukesh Ojha
9cdb3f5818 remoteproc: qcom: pas: Rename subsystem minidump elf name
Currently, the name of ELF remain same whether it is subsystem's
minidump or full dump and it was difficult for parsing tool to
identify the elf's between them.

As previous patch adds the support of creation of ramdump device
with a given name, now we would be creating separate dummy
minidump device for a subsystem with a name appended by _md.
which will help us in creating different name for subsystem's
minidump e.g remoteproc-adsp-md_2022-05-08_18-19-32.elf .

Change-Id: I6b49532b425b480e7351b7d1c86bb0ce29b09e1a
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2022-06-06 20:46:48 +05:30
Mukesh Ojha
7b92fc2502 soc: qcom: ramdump: Add support to create/destroy ramdump device
There was a requirement from client drivers to create ramdump
device with a given name so that they control the name of the elf.

This change adds the support to create/destroy ramdump device.

Change-Id: I411cc92a1b41d44e8b6fef95d383613280dae0c2
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2022-06-06 20:31:58 +05:30
qctecmdr
46a9c0fcd9 Merge "msm: qcom: Add hwspinlock, socinfo support anorak" 2022-06-06 06:33:08 -07:00
qctecmdr
b53e547f5a Merge "soc: qcom: rpmh-rsc: Handle spurious completion IRQ" 2022-06-06 06:33:08 -07:00
Shivnandan Kumar
4e5921758d drivers: dcvs: pmu_lib: fix cpu_hotplug_lock recursive lock
Possible unsafe locking scenario:
init/1 is trying to acquire lock:
cpu_hotplug_lock){++++}-{0:0}, at: __cpuhp_setup_state+0x38/0x7c

but task is already holding lock:
(cpu_hotplug_lock){++++}-{0:0}, at: setup_events+0x68/0x3e4 [qcom_pmu_lib]

other info that might help us debug this:
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(cpu_hotplug_lock);
  lock(cpu_hotplug_lock);

 *** DEADLOCK ***
get_online_cpus() acquires cpu_hotplug_lock.
Then qcom_pmu_cpu_hp_init() -> __cpuhp_setup_state() tries
to acquire the same lock again.
Use cpuslocked version of __cpuhp_setup_state() to avoid this warning.

Change-Id: I107c47d739b62f112074890d2bf758489d4dc454
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2022-06-06 16:48:14 +05:30
qctecmdr
97af83d137 Merge "btpower: Use icnss API to power on/of Yoda" 2022-06-06 03:50:37 -07:00
qctecmdr
be07732c4b Merge "serial: msm_geni_serial: Add support to indicate manual flow state" 2022-06-06 03:50:37 -07:00
Maulik Shah
bddd0149ff soc: qcom: rpmh-rsc: Handle spurious completion IRQ
On certain targets after wake up from cxsd the completion IRQ is
spuriously sent. Add a check if no TCS were in use then log the
spurious IRQ and clear the irq status.

This reverts commit 7efbef7302.

Change-Id: Ia27ff0f9d102ee70f7f070bc89ed855630181f13
Signed-off-by: Maulik Shah <quic_mkshah@quicinc.com>
2022-06-06 14:58:39 +05:30
qctecmdr
916821b027 Merge "msm: kgsl: Fix compilation errors in KGSL driver" 2022-06-06 01:16:57 -07:00
qctecmdr
c4e3af02fd Merge "soc: qcom: helioscom: Power state configuration for remote SS" 2022-06-06 01:16:56 -07:00
qctecmdr
74e985c5ea Merge "soc: qcom: helioscom: Disable power functionality from driver" 2022-06-06 01:16:54 -07:00
Visweswara Tanuku
75161d3b50 serial: msm_geni_serial: Add support to indicate manual flow state
BT host is unaware when manual flow is turned on by
serial core driver. Due to this BT host is expecting
response for Tx and timing out.

As part of get_mctrl use TIOCM_RTS to indicate if
flow is on/off.

Introduced new error code UART_ERROR_FLOW_OFF to
indicate BT host if manual flow was turned on.

Change-Id: Ibcc0ef6a2c69b3df6507a06cbb4770e32c41c0c0
Signed-off-by: Visweswara Tanuku <quic_vtanuku@quicinc.com>
2022-06-06 00:49:41 -07:00
Satish Kumar Kodishala
fbffc4fd17 btpower: Use icnss API to power on/of Yoda
icnss APIs are used to power on/off Yoda.
This will enable concurrent BT/WLAN operations.

Change-Id: I5afcea1a68bac0913b31b300360d784bb42cad08
Signed-off-by: Madhvapathi Sriram <quic_msriram@quicinc.com>
Signed-off-by: Satish Kumar Kodishala <quic_skodisha@quicinc.com>
2022-06-05 23:39:20 -07:00
qctecmdr
8fea84ec65 Merge "drivers: qcom: llcc: Update SCT table for neo" 2022-06-05 22:37:14 -07:00
qctecmdr
7c3072cc75 Merge "icnss2: Support for PMIC GPIO control for WLAN" 2022-06-05 20:03:44 -07:00
qctecmdr
30e3cb831c Merge "spi: spi-msm-geni: Change logging to log for IPC and ftrace" 2022-06-05 13:26:09 -07:00
qctecmdr
fff97d6ba7 Merge "spi: spi-msm-geni: Check NULL value to tx/rx buf" 2022-06-05 10:55:42 -07:00
Pranav Patel
b3ffcef2da msm: kgsl: Ignore pending_free flag for process reclaim
We check pending_free flag when pages are reclaimed and
when they restored. This is problematic because, it is
possible to set pending_free flag after reclaim but before
restore. This will result in reclaimed page not being
restored. This will cause page faults. Ignore pending_free
flag for process reclaim so that every page that is
reclaimed would be restored regardless of pending_free flag.

Change-Id: Icb61936ecd8b1b844fb65bf0ca5ecae731713238
Signed-off-by: Pranav Patel <quic_pranavp@quicinc.com>
2022-06-05 21:42:35 +05:30
qctecmdr
236d5c8100 Merge "net: qrtr: add resume tx logging" 2022-06-03 15:07:32 -07:00
qctecmdr
a92b212c06 Merge "defconfig: Enable CONFIG_QCOM_VA_MINIDUMP for neo" 2022-06-03 12:21:30 -07:00
Kamati Srinivas
35cf463b5d defconfig: Enable CONFIG_QCOM_VA_MINIDUMP for neo
Enable CONFIG_QCOM_VA_MINIDUMP config for neo.

Change-Id: I8929ead758414b30756764df6d18bd4b5ec2bfbe
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2022-06-03 20:18:43 +05:30
qctecmdr
5d29e84415 Merge "drivers: dcvs: pmu_lib: support pmu size 32 and 64 bit" 2022-06-03 07:00:24 -07:00
qctecmdr
0de29d7494 Merge "rpmsg: glink: avoid race for intent lock" 2022-06-03 07:00:24 -07:00
qctecmdr
ad3acaed67 Merge "NFC: Fix to resolve abnormal read thread exit" 2022-06-03 07:00:23 -07:00
qctecmdr
4c1f416059 Merge "dt-bindings: thermal: qmi_sensor: Add new sdr sensor placeholders" 2022-06-03 07:00:23 -07:00
Kamati Srinivas
5512a780e0 msm: qcom: Add hwspinlock, socinfo support anorak
Adding support for qcom_hwspinlock, socinfo driver
for Anorak.

Change-Id: I4183ef176a4213f2c07afc2e9e47f316b3b4309a
Signed-off-by: Kamati Srinivas <quic_kamasrin@quicinc.com>
2022-06-03 17:24:41 +05:30
Sivasri Kumar, Vanka
b3d2d42542 Merge keystone/android12-5.10-keystone-qcom-release.101+ (ac14ef0) into msm-5.10
* refs/heads/tmp-ac14ef0:
  BACKPORT: can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: oplus: Update the ABI xml and symbol list
  UPSTREAM: remoteproc: Fix count check in rproc_coredump_write()
  BACKPORT: esp: Fix possible buffer overflow in ESP transformation
  ANDROID: Fix the drain_all_pages default condition broken by a hook
  UPSTREAM: Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
  UPSTREAM: xfrm: fix MTU regression
  ANDROID: signal: Add vendor hook for memory reaping
  FROMGIT: usb: gadget: uvc: allow for application to cleanly shutdown
  FROMGIT: usb: dwc3: gadget: increase tx fifo size for ss isoc endpoints
  UPSTREAM: usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
  FROMGIT: usb: gadget: uvc: remove pause flag use
  FROMGIT: usb: gadget: uvc: allow changing interface name via configfs
  UPSTREAM: usb: gadget: uvc: Fix crash when encoding data for usb request
  UPSTREAM: usb: gadget: uvc: test if ep->desc is valid on ep_queue
  UPSTREAM: usb: gadget: uvc: only pump video data if necessary
  UPSTREAM: usb: gadget: uvc: only schedule stream in streaming state
  UPSTREAM: usb: dwc3: gadget: Give some time to schedule isoc
  UPSTREAM: usb: gadget: uvc: make uvc_num_requests depend on gadget speed
  UPSTREAM: usb: gadget: composite: Show warning if function driver's descriptors are incomplete.
  FROMLIST: kbuild: Add environment variables for userprogs flags
  ANDROID: dm-bow: Protect Ranges fetched and erased from the RB tree
  BACKPORT: staging: ion: Prevent incorrect reference counting behavour
  FROMGIT: net: fix wrong network header length
  UPSTREAM: mm: fix unexpected zeroed page mapping with zram swap
  ANDROID: vendor_hooks: Add hooks for mutex
  UPSTREAM: usb: dwc3: gadget: Replace list_for_each_entry_safe() if using giveback
  UPSTREAM: usb: dwc3: Issue core soft reset before enabling run/stop
  UPSTREAM: usb: dwc3: gadget: Wait for ep0 xfers to complete during dequeue
  ANDROID: Update QCOM symbol list for trace_map/unmap
  ANDROID: fix KCFLAGS override by __ANDROID_COMMON_KERNEL__
  ANDROID: vendor_hooks: tune reclaim scan type for specified mem_cgroup
  ANDROID: vendor_hooks: Add hooks for rwsem
  ANDROID: Add flag to indicate compiling against ACK
  ANDROID: GKI: build damon reclaim
  FROMLIST: mm/damon/reclaim: Fix the timer always stays active
  BACKPORT: treewide: Add missing includes masked by cgroup -> bpf dependency
  UPSTREAM: mm/damon: modify damon_rand() macro to static inline function
  UPSTREAM: mm/damon: add 'age' of region tracepoint support
  UPSTREAM: mm/damon: hide kernel pointer from tracepoint event
  UPSTREAM: mm/damon/vaddr: hide kernel pointer from damon_va_three_regions() failure log
  UPSTREAM: mm/damon/vaddr: use pr_debug() for damon_va_three_regions() failure logging
  UPSTREAM: mm/damon/dbgfs: remove an unnecessary variable
  UPSTREAM: mm/damon: move the implementation of damon_insert_region to damon.h
  UPSTREAM: mm/damon: add access checking for hugetlb pages
  UPSTREAM: mm/damon/dbgfs: support all DAMOS stats
  UPSTREAM: mm/damon/reclaim: provide reclamation statistics
  UPSTREAM: mm/damon/schemes: account how many times quota limit has exceeded
  UPSTREAM: mm/damon/schemes: account scheme actions that successfully applied
  UPSTREAM: mm/damon: convert macro functions to static inline functions
  UPSTREAM: mm/damon: move damon_rand() definition into damon.h
  UPSTREAM: mm/damon/schemes: add the validity judgment of thresholds
  UPSTREAM: mm/damon/vaddr: remove swap_ranges() and replace it with swap()
  UPSTREAM: mm/damon: remove some unneeded function definitions in damon.h
  UPSTREAM: mm/damon/core: use abs() instead of diff_of()
  UPSTREAM: mm/damon: unified access_check function naming rules
  UPSTREAM: mm/damon/dbgfs: fix 'struct pid' leaks in 'dbgfs_target_ids_write()'
  UPSTREAM: mm/damon/dbgfs: protect targets destructions with kdamond_lock
  UPSTREAM: mm/damon/vaddr-test: remove unnecessary variables
  UPSTREAM: mm/damon/vaddr-test: split a test function having >1024 bytes frame size
  UPSTREAM: mm/damon/vaddr: remove an unnecessary warning message
  UPSTREAM: mm/damon/core: remove unnecessary error messages
  UPSTREAM: mm/damon/dbgfs: remove an unnecessary error message
  UPSTREAM: mm/damon/core: use better timer mechanisms selection threshold
  UPSTREAM: mm/damon/core: fix fake load reports due to uninterruptible sleeps
  BACKPORT: timers: implement usleep_idle_range()
  UPSTREAM: mm/damon/dbgfs: fix missed use of damon_dbgfs_lock
  UPSTREAM: mm/damon/dbgfs: use '__GFP_NOWARN' for user-specified size buffer allocation
  UPSTREAM: mm/damon: remove return value from before_terminate callback
  UPSTREAM: mm/damon: fix a few spelling mistakes in comments and a pr_debug message
  UPSTREAM: mm/damon: simplify stop mechanism
  UPSTREAM: mm/damon/dbgfs: add adaptive_targets list check before enable monitor_on
  UPSTREAM: mm/damon: remove unnecessary variable initialization
  UPSTREAM: mm/damon: introduce DAMON-based Reclamation (DAMON_RECLAIM)
  UPSTREAM: selftests/damon: support watermarks
  UPSTREAM: mm/damon/dbgfs: support watermarks
  UPSTREAM: mm/damon/schemes: activate schemes based on a watermarks mechanism
  UPSTREAM: tools/selftests/damon: update for regions prioritization of schemes
  UPSTREAM: mm/damon/dbgfs: support prioritization weights
  UPSTREAM: mm/damon/vaddr,paddr: support pageout prioritization
  UPSTREAM: mm/damon/schemes: prioritize regions within the quotas
  UPSTREAM: mm/damon/selftests: support schemes quotas
  UPSTREAM: mm/damon/dbgfs: support quotas of schemes
  UPSTREAM: mm/damon/schemes: implement time quota
  UPSTREAM: mm/damon/schemes: skip already charged targets and regions
  UPSTREAM: mm/damon/schemes: implement size quota for schemes application speed control
  UPSTREAM: mm/damon/paddr: support the pageout scheme
  UPSTREAM: mm/damon/dbgfs: remove unnecessary variables
  UPSTREAM: mm/damon/vaddr: constify static mm_walk_ops
  UPSTREAM: mm/damon/dbgfs: support physical memory monitoring
  UPSTREAM: mm/damon: implement primitives for physical address space monitoring
  UPSTREAM: mm/damon/vaddr: separate commonly usable functions
  UPSTREAM: mm/damon/dbgfs-test: add a unit test case for 'init_regions'
  UPSTREAM: mm/damon/dbgfs: allow users to set initial monitoring target regions
  UPSTREAM: selftests/damon: add 'schemes' debugfs tests
  UPSTREAM: mm/damon/schemes: implement statistics feature
  UPSTREAM: mm/damon/dbgfs: support DAMON-based Operation Schemes
  UPSTREAM: mm/damon/vaddr: support DAMON-based Operation Schemes
  UPSTREAM: mm/damon/core: implement DAMON-based Operation Schemes (DAMOS)
  UPSTREAM: mm/damon/core: account age of target regions
  UPSTREAM: mm/damon/core: nullify pointer ctx->kdamond with a NULL
  UPSTREAM: mm/damon: needn't hold kdamond_lock to print pid of kdamond
  UPSTREAM: mm/damon: remove unnecessary do_exit() from kdamond
  UPSTREAM: mm/damon/core: print kdamond start log in debug mode only
  UPSTREAM: include/linux/damon.h: fix kernel-doc comments for 'damon_callback'
  UPSTREAM: mm/damon: grammar s/works/work/
  UPSTREAM: mm/damon/core-test: fix wrong expectations for 'damon_split_regions_of()'
  UPSTREAM: mm/damon: don't use strnlen() with known-bogus source length
  UPSTREAM: mm/damon: add kunit tests
  UPSTREAM: mm/damon: add user space selftests
  UPSTREAM: mm/damon/dbgfs: support multiple contexts
  UPSTREAM: mm/damon/dbgfs: export kdamond pid to the user space
  UPSTREAM: mm/damon: implement a debugfs-based user space interface
  UPSTREAM: mm/damon: add a tracepoint
  UPSTREAM: mm/damon: implement primitives for the virtual memory address spaces
  UPSTREAM: mm/idle_page_tracking: make PG_idle reusable
  UPSTREAM: mm/damon: adaptively adjust regions
  UPSTREAM: mm/damon/core: implement region-based sampling
  UPSTREAM: mm: introduce Data Access MONitor (DAMON)
  BACKPORT: net/packet: fix slab-out-of-bounds access in packet_recvmsg()
  BACKPORT: fuse: fix pipe buffer lifetime for direct_io
  BACKPORT: dm: fix NULL pointer issue when free bio
  UPSTREAM: kfence, x86: fix preemptible warning on KPTI-enabled systems
  ANDROID: ABI: Update allowed list for galaxy
  ANDROID: abi_gki_aarch64.xml: update based on proper LTO=full setting
  BACKPORT: virtio-blk: Use blk_validate_block_size() to validate block size
  ANDROID: add for tuning readahead size
  BACKPORT: media: v4l2-mem2mem: Apply DST_QUEUE_OFF_BASE on MMAP buffers across ioctls
  BACKPORT: nl80211: correctly check NL80211_ATTR_REG_ALPHA2 size
  BACKPORT: ext4: don't BUG if someone dirty pages without asking ext4 first
  ANDROID: GKI: Update symbols to abi_gki_aarch64_oplus
  BACKPORT: iommu: Extend mutex lock scope in iommu_probe_device()
  BACKPORT: iommu: Fix race condition during default domain allocation
  ANDROID: GKI: Update symbols to symbol list

 Conflicts:
	build.config.common

Change-Id: I30e0e3ce2527d66896add9fe45d71924557a46f2
Signed-off-by: Sivasri Kumar, Vanka <quic_svanka@quicinc.com>
2022-06-03 14:05:35 +05:30
Harshitha Sai Neelati
75936be36b msm: kgsl: Fix null pointer dereference in deferred_destroy
iommu->user_context can get detached in kgsl_iommu_close and later
get accessed in the deferred_destroy path. Flush the workqueue to
ensure pagetables are destroyed before proceeding for context detach.

Also handle set_ttbr0_cfg properly in the close path.

Change-Id: Idd936957e9c7617d978056604241e2e24dac8af4
Signed-off-by: Harshitha Sai Neelati <quic_hsaineel@quicinc.com>
2022-06-03 12:48:35 +05:30
Naina Mehta
e64bde0cdb soc: qcom: socinfo: Add soc information for ParrotP
Add SOC ID to support socinfo for ParrotP platform.

Change-Id: Ice1fe74d96440011d385ab4d575e0b0303e5f0e3
Signed-off-by: Naina Mehta <quic_nainmeht@quicinc.com>
2022-06-03 12:08:15 +05:30
qctecmdr
fb269a1272 Merge "arm64: defconfig: Enable panic for correctable error in LLCC" 2022-06-02 22:27:22 -07:00
Madhvapathi Sriram
b40d1b6b33 icnss2: Support for PMIC GPIO control for WLAN
Some platforms require PMIC GPIO control to trigger the
PON/POFF sequence of the WLAN chip.

Change-Id: I24023694ecb5579bc84cd897a99596fd57fa5eee
CRs-Fixed: 3209939
Signed-off-by: nakul kachhwaha <quic_nkachhwa@quicinc.com>
Signed-off-by: Madhvapathi Sriram <quic_msriram@quicinc.com>
2022-06-03 10:51:07 +05:30
Tapas Dey
1c1dafa108 NFC: Fix to resolve abnormal read thread exit
During hiberantion/suspend, freezer process sends
fake signals to all running processes to put the
device into system wide sleep, which leads to
ungraceful exit of I2c read thread leaving the
upper layer retry the I2C access & ends up with
excessive error logging on the console.

Modified code to set/unset the no-freeze flag to
ensure such freezer fake signals can be avoided
when NFC is enabled & vice versa.

Change-Id: I773fcc8e9fc145ce9e2e564982bd38cd1f5d6be7
Signed-off-by: Tapas Dey <quic_c_tdey@quicinc.com>
2022-06-03 10:31:43 +05:30
Priyansh Jain
1f31f470c8 dt-bindings: thermal: qmi_sensor: Add new sdr sensor placeholders
Add additional placeholder for sdr sensors to make common TS list
compatible with all the targets.

Change-Id: Ifbf1c18c821f176edbe2747e8b5ea31bd684e236
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2022-06-03 09:31:46 +05:30
Android Build Coastguard Worker
ac14ef0f9f Snap for 8677165 from 69a36e2dee to android12-5.10-keystone-qcom-release
Change-Id: If565776bf80a1a41311cf9e7df64b0afb89db5fc
2022-06-03 00:00:39 +00:00
Daniel Norman
69a36e2dee Merge remote-tracking branch into HEAD
* keystone/mirror-android12-5.10-2022-05: (135 commits)
  BACKPORT: can: usb_8dev: usb_8dev_start_xmit(): fix double dev_kfree_skb() in error path
  ANDROID: GKI: Update symbols to symbol list
  ANDROID: oplus: Update the ABI xml and symbol list
  UPSTREAM: remoteproc: Fix count check in rproc_coredump_write()
  BACKPORT: esp: Fix possible buffer overflow in ESP transformation
  ANDROID: Fix the drain_all_pages default condition broken by a hook
  UPSTREAM: Revert "xfrm: xfrm_state_mtu should return at least 1280 for ipv6"
  UPSTREAM: xfrm: fix MTU regression
  ANDROID: signal: Add vendor hook for memory reaping
  FROMGIT: usb: gadget: uvc: allow for application to cleanly shutdown
  FROMGIT: usb: dwc3: gadget: increase tx fifo size for ss isoc endpoints
  UPSTREAM: usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
  FROMGIT: usb: gadget: uvc: remove pause flag use
  FROMGIT: usb: gadget: uvc: allow changing interface name via configfs
  UPSTREAM: usb: gadget: uvc: Fix crash when encoding data for usb request
  UPSTREAM: usb: gadget: uvc: test if ep->desc is valid on ep_queue
  UPSTREAM: usb: gadget: uvc: only pump video data if necessary
  UPSTREAM: usb: gadget: uvc: only schedule stream in streaming state
  UPSTREAM: usb: dwc3: gadget: Give some time to schedule isoc
  UPSTREAM: usb: gadget: uvc: make uvc_num_requests depend on gadget speed
  ...

Change-Id: I438ffbf5441deb75dadf2150e235232bc53c37ea
2022-06-02 11:56:21 -07:00
qctecmdr
13d743654c Merge "arm64: defconfig: update isl97900 config for neo le platform" 2022-06-02 10:20:52 -07:00
Mukesh Ojha
ed336a1a35 arm64: defconfig: Enable panic for correctable error in LLCC
Enable panic on LLCC correctable error for Waipio and its
derivatives.

Change-Id: Ibfd942db65337f3f63a2cbb6e42ef5c5a916ef1f
Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
2022-06-02 19:35:50 +05:30
Sachin Gupta
8a719d56b4 mmc: sdhci-msm: Reset GCC_SDCC_BCR register for SDHC
Reset GCC_SDCC_BCR register before every fresh initilazation. This will
reset whole SDHC-msm controller, clears the previous power control
states and avoids, software reset timeout issues as below.

[ 5.458061][ T262] mmc1: Reset 0x1 never completed.
[ 5.462454][ T262] mmc1: sdhci: ============ SDHCI REGISTER DUMP ===========
[ 5.469065][ T262] mmc1: sdhci: Sys addr: 0x00000000 | Version:0x00007202
[ 5.475688][ T262] mmc1: sdhci: Blk size: 0x00000000 | Blk cnt:0x00000000
[ 5.482315][ T262] mmc1: sdhci: Argument: 0x00000000 | Trn mode:0x00000000
[ 5.488927][ T262] mmc1: sdhci: Present: 0x01f800f0 | Host ctl:0x00000000
[ 5.495539][ T262] mmc1: sdhci: Power: 0x00000000 | Blk gap: 0x00000000
[ 5.502162][ T262] mmc1: sdhci: Wake-up: 0x00000000 | Clock: 0x00000003
[ 5.508768][ T262] mmc1: sdhci: Timeout: 0x00000000 | Int stat:0x00000000
[ 5.515381][ T262] mmc1: sdhci: Int enab: 0x00000000 | Sig enab:0x00000000
[ 5.521996][ T262] mmc1: sdhci: ACmd stat: 0x00000000 | Slot int:0x00000000
[ 5.528607][ T262] mmc1: sdhci: Caps: 0x362dc8b2 | Caps_1: 0x0000808f
[ 5.535227][ T262] mmc1: sdhci: Cmd: 0x00000000 | Max curr: 0x00000000
[ 5.541841][ T262] mmc1: sdhci: Resp[0]: 0x00000000 | Resp[1]:0x00000000
[ 5.548454][ T262] mmc1: sdhci: Resp[2]: 0x00000000 | Resp[3]:0x00000000
[ 5.555079][ T262] mmc1: sdhci: Host ctl2: 0x00000000
[ 5.559651][ T262] mmc1: sdhci_msm: ----------- VENDOR REGISTER DUMP-----------
[ 5.566621][ T262] mmc1: sdhci_msm: DLL sts: 0x00000000 | DLL cfg:0x6000642c | DLL cfg2: 0x0020a000
[ 5.575465][ T262] mmc1: sdhci_msm: DLL cfg3: 0x00000000 | DLL usr ctl:0x00010800 | DDR cfg: 0x80040873
[ 5.584658][ T262] mmc1: sdhci_msm: Vndr func: 0x00018a9c | Vndr func2 :0xf88218a8 Vndr func3: 0x02626040.

Change-Id: I2c80dee959b26e4d31dd4268087fc3485ffd9d61
Signed-off-by: Sachin Gupta <quic_sachgupt@quicinc.com>
2022-06-02 17:11:17 +05:30
Shivnandan Kumar
96d7313b61 drivers: dcvs: pmu_lib: support pmu size 32 and 64 bit
Support pmu size 32 and 64 bit.

Change-Id: Ie627ba89a0f4ca36f2a063e9091326d721c03248
Signed-off-by: Shivnandan Kumar <quic_kshivnan@quicinc.com>
2022-06-02 13:44:11 +05:30
Sarannya S
7b35030a35 net: qrtr: Use xa_load in qrtr_get_service_id
In qrtr_get_service_id, use xa_load instead of node_get to check
if the node exists or not. Calling node_get from interrupt context
can cause potential deadlock since it calls into xa_store to
allocate the node if it does not exist.

Change-Id: Ida9f7a113417f0d184c0903004d94dd2eca6c472
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
2022-06-02 11:41:06 +05:30
qctecmdr
288db22e33 Merge "msm: kgsl: Add debugfs entry to configure uche client" 2022-06-01 21:11:02 -07:00
Sivaji Boddupilli
4f7bb0f17b net: qrtr: add resume tx logging
Add xarray database to log both skb allocation failed packets
and skb allocation success packets when cf flag bit is set in
the packet.

Change-Id: Iafc4c781e7fde37b8d19fc050dc9d769b31c306e
Signed-off-by: Sivaji Boddupilli <quic_boddupil@quicinc.com>
2022-06-02 00:05:16 +05:30
qctecmdr
5e0ea38cc2 Merge "msm: kgsl: Do not take snapshot during reset path" 2022-06-01 05:20:55 -07:00