Commit graph

886,629 commits

Author SHA1 Message Date
qctecmdr
d91cfbaf24 Merge "tmc-etr: Call usb_qdss_open after all etr settings are done" 2020-07-14 04:57:31 -07:00
qctecmdr
0c1f865571 Merge "power: supply: qti_battery_charger: Enable Ship mode shutdown" 2020-07-14 04:57:30 -07:00
qctecmdr
b271780bfd Merge "f2fs: fix use-after-free when accessing bio->bi_crypt_context" 2020-07-14 04:57:30 -07:00
qctecmdr
327630a533 Merge "sound: usb: Use IOMMU_CACHE mapping if USB controller is dma-coherent" 2020-07-14 04:57:30 -07:00
qctecmdr
75d3651842 Merge "msm:ipa3: removed duplicate entries in defconfig" 2020-07-14 04:57:29 -07:00
qctecmdr
ba6dd9aa87 Merge "cnss2: set rddm support boolean for MHI" 2020-07-14 02:04:24 -07:00
qctecmdr
ff34294560 Merge "defconfig: Enable USB related config flags on sdxlemur" 2020-07-14 02:04:24 -07:00
qctecmdr
59912b8be9 Merge "defconfig: Enable CPUFREQ HW module for cpu scaling" 2020-07-14 02:04:23 -07:00
qctecmdr
18f67937ca Merge "mhi: core: Use high priority workqueue for all MHI work" 2020-07-14 02:04:23 -07:00
qctecmdr
e9f0121b67 Merge "input: qcom-hv-haptics: clear HW faults before enabling play" 2020-07-14 02:04:22 -07:00
qctecmdr
09c5e37d74 Merge "drivers: pinctrl: Add gpio to mpm mapping for holi" 2020-07-13 22:34:39 -07:00
qctecmdr
c74230b2f8 Merge "soc: qcom: add VTCM debug test support" 2020-07-13 22:34:39 -07:00
qctecmdr
4575c8b1b9 Merge "mhi: core: Move to error state as soon as RDDM is detected" 2020-07-13 22:34:38 -07:00
qctecmdr
b71e7e2a4e Merge "usb: f_qdss: Fix race between qdss_alloc_req & qdss_close" 2020-07-13 22:34:37 -07:00
qctecmdr
096ce85950 Merge "usb: f_qdss: Setting channel to NULL in qdss_close" 2020-07-13 22:34:37 -07:00
Jack Pham
1071143571 sound: usb: Use IOMMU_CACHE mapping if USB controller is dma-coherent
If IO coherency for the USB controller is enabled, the shared buffers
need to be remapped with the cached attribute set so that the
controller HW can properly access the memory coherently. Otherwise,
the HW could end up reading stale data from cache.

While at it, remove the dma_sync_* calls, as they were previously
added with the misunderstanding that the APPS needs to force an
invalidation before passing it to the ADSP. This is not required
as long as the coherency settings are matched as there is no need
to manually perform cache maintenance when handing off the buffers.

Change-Id: I3a7ecbd7b7f1c264c64e9f5f82c9d4ec27848dc0
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-07-13 18:00:10 -07:00
Elson Roy Serrao
4688452232 defconfig: Enable USB related config flags on sdxlemur
This change enables the controller driver, phy and function
drivers on sdxlemur.

Change-Id: Ief79a286ee4a624b32c0e4fc2aff5c091657c54c
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2020-07-13 12:31:07 -07:00
Udipto Goswami
b7e68b67a0 usb: f_qdss: Fix race between qdss_alloc_req & qdss_close
While performing very fast etr enable/disable from coresight
there is a chance that when alloc_req is trying to allocate
the request qdss_close got called due to etr disable
invoking it, and before alloc_req could complete it's
execution driver is trying to free the request. This leads
to poison error.

Fix this by securing alloc_req under spinlock to avoid this
scenario. qdss_close is already under spinlock protection.

Change-Id: Ia2c629911c9044536a1eca5d72b6f6b3a91ef806
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2020-07-13 10:28:03 -07:00
qctecmdr
613aaf12ff Merge "kernel_headers: Disable headers matching" 2020-07-13 10:22:23 -07:00
Sivakanth vaka
b059223ab7 msm:ipa3: removed duplicate entries in defconfig
Removed flags which are already part of techpack
defconfig.

Change-Id: I4f3f535413f397a0785ee4a774b6d7082a499b05
Signed-off-by: sivakanth vaka <svaka@codeaurora.org>
2020-07-13 22:28:23 +05:30
Guru Das Srinagesh
1df95fc509 power: supply: qti_battery_charger: Enable Ship mode shutdown
This feature is to enable the disconnection of the battery from the
device as the final step in the assembly of a phone on the factory floor
to prevent battery rundown while in transit to the hands of the final
consumer.

Usage:
  # echo 1 > /sys/class/qcom-battery/ship_mode_en
  Following this, either manually shut down using power key, or:
  # reboot -p

Change-Id: Ifef053c6ebb3b86c10f9dbe3c9c47d7c3548d95b
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
2020-07-13 09:55:01 -07:00
qctecmdr
c65a75e36e Merge "bindings: clock: gcc: Add support for REF clock for HOLI" 2020-07-12 22:44:26 -07:00
qctecmdr
17091946a7 Merge "memshare: Move ramdump collection to AFTER_SHUTDOWN event" 2020-07-12 22:44:26 -07:00
qctecmdr
be8bc26508 Merge "Move from dma_buf_kmap to dma_buf_vmap for ION" 2020-07-12 22:44:25 -07:00
qctecmdr
bd0cd68da8 Merge "defconfig: arm64: Enable the GPUCC clock controller" 2020-07-12 09:14:08 -07:00
Taniya Das
1a17935ff6 defconfig: Enable CPUFREQ HW module for cpu scaling
CPUFREQ HW is required to enable CPU scaling.

Change-Id: Ibbd3c02890ae8d0c3c75940a7f352c41f54594a0
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-07-12 11:31:50 +05:30
qctecmdr
8ab3f60d76 Merge "clk: qcom: gpucc: Add Graphics Clock controller for HOLI" 2020-07-11 22:49:05 -07:00
Mao Jinlong
c4acfc2dc9 tmc-etr: Call usb_qdss_open after all etr settings are done
As there is etr status check in usb notifier, call usb_qdss_open after
all etr settings are done to avoid the race condition between etr status
and usb notifier call.

Change-Id: Ib4b5ca8001ca135539e0d55cbb86cb061b564e9d
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-07-11 03:45:53 -07:00
qctecmdr
92256f55c6 Merge "mm: allocate swapin pages from movable zone" 2020-07-10 21:39:50 -07:00
qctecmdr
eae09343d1 Merge "mm: workingset: remove zero-seek setting for shadow node shrinker" 2020-07-10 21:39:49 -07:00
qctecmdr
44d49eecfb Merge "msm: adsprpc: limit number of pending invocations to DSP" 2020-07-10 21:39:49 -07:00
qctecmdr
4c58861b81 Merge "mmc: Change locking for clk scaling from bh to irqsave" 2020-07-10 21:39:49 -07:00
qctecmdr
ca2935a074 Merge "scsi: ufs: Fix imbalanced scsi_block_reqs_cnt caused by ufshcd_hold()" 2020-07-10 21:39:48 -07:00
qctecmdr
12a92689cb Merge "msm: cvp: Avoid NULL pointer dereference" 2020-07-10 21:39:48 -07:00
qctecmdr
e6646598a3 Merge "mhi: core: Expose API to check device execution environment" 2020-07-10 21:39:47 -07:00
qctecmdr
cad77dd1f6 Merge "uio: msm_sharedmem: shared memory region access is also given to vm-nav" 2020-07-10 13:58:46 -07:00
qctecmdr
d1e1136c4b Merge "msm: kgsl: Add support for A660 GPU variant" 2020-07-10 13:58:46 -07:00
qctecmdr
7bf49d3fd3 Merge "arm64: defconfig: Move to upstream ufshcd core" 2020-07-10 13:58:45 -07:00
qctecmdr
e173c745f6 Merge "arm64: defconfig: Enable IO_PGTABLE_PAGE_ACCOUNTING for debug configs" 2020-07-10 13:58:44 -07:00
qctecmdr
8701b5d555 Merge "msm: adsprpc: Reserve contexts for all static handles" 2020-07-10 13:58:44 -07:00
qctecmdr
f7c6cf894d Merge "defconfig: lahaina: Enable memshare driver on lahaina_debug" 2020-07-10 13:58:43 -07:00
qctecmdr
ef8fe3104c Merge "msm: cvp: addressing the LF making issue" 2020-07-10 13:58:43 -07:00
qctecmdr
c671c54aa2 Merge "soc: qcom: mem-buf: Include Haven structure definitions" 2020-07-10 13:43:59 -07:00
qctecmdr
33620a8273 Merge "iommu/iova: Don't BUG on invalid PFNs" 2020-07-10 13:43:59 -07:00
qctecmdr
3b868e67fa Merge "RTC6226: keep tuned to valid lower band channel for dwell time" 2020-07-10 13:43:58 -07:00
qctecmdr
db8c02d96a Merge "dt-bindings: clock: add MDSS clock names for 10nm architecture" 2020-07-10 13:43:58 -07:00
qctecmdr
19cc55b296 Merge "msm: kgsl: Update current frequency in devfreq status structure" 2020-07-10 13:43:58 -07:00
qctecmdr
bd13e68a91 Merge "scsi: ufshcd: Allow zero value setting to Auto-Hibernate Timer" 2020-07-10 13:43:57 -07:00
qctecmdr
a69c4dc09a Merge "arm: defconfig: Enable MPROC stack for sdxlemur" 2020-07-10 13:43:57 -07:00
qctecmdr
6c12d8d259 Merge "msm_rtb: Include <asm/io.h> header in rtb for QGKI" 2020-07-10 13:43:56 -07:00