Subramanian Ananthanarayanan
296ddd7554
msm: mhi_dev: Fix memory leak during channel reset/stop
...
mhi_ring_start() does not check whether we once ever allocated DMA buffer
or not , causing it to leak memory if channel reset/stop happens.
Also removing the free logic in mhi_deinit() as the check would suffice
to prevent reallocation.
Change-Id: I569560f9de9facc690131c56f657eadb77a12811
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
Signed-off-by: Gauri Joshi <gaurjosh@codeaurora.org>
2021-03-09 13:09:53 -08:00
Gauri Joshi
cc0c11d554
msm: mhi: Avoid channel read while in mhi suspend
...
Client may initiate read transfers when MHI state is in suspend
state. Change adds a check to prevent read transfers.
Change-Id: I51954a3493a845ed1778713c10b20400d95489a8
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
Signed-off-by: Gauri Joshi <gaurjosh@codeaurora.org>
2021-03-09 13:09:26 -08:00
Gauri Joshi
4866db2dc5
msm: mhi_dev: Cache event ring read pointer value
...
Maintain a copy of the event ring read pointer in DMA coherent
memory before scheduling asynchronous DMA to update the host.
This is needed to ensure the correct read pointer value is updated
to host (for which the event DMA was done). Also schedule MSI via
IPA/EDMA to avoid potential early delivery to host (before the event
itself) when it is triggered via the PCIE controller.
Change-Id: I4fdd5b8802677b434a0c2a12118065f264802442
Signed-off-by: Siva Kumar Akkireddi <sivaa@codeaurora.org>
Signed-off-by: Gauri Joshi <gaurjosh@codeaurora.org>
2021-03-09 13:08:46 -08:00
qctecmdr
eca62752fe
Merge "defconfig: gen3auto: add qseecom driver support"
2021-02-25 06:25:39 -08:00
qctecmdr
af5eb471b0
Merge "defconfig: Enable serial console for sdxnightjar perf build"
2021-02-25 06:25:39 -08:00
qctecmdr
1265a866c9
Merge "switch: qcom: initialize parb_phase to 0"
2021-02-25 06:25:39 -08:00
qctecmdr
b3c9c0f233
Merge "arm-smmu: Fix iommu group refcount leak"
2021-02-25 06:25:39 -08:00
qctecmdr
e28d7965d1
Merge "icnss2: Add new ipc context to log smp2p related logs"
2021-02-25 06:25:38 -08:00
qctecmdr
c276cd7a48
Merge "drivers: soc: qcom: Add snapshot of virtual subsystem notification driver"
2021-02-25 06:25:38 -08:00
qctecmdr
406e430dc8
Merge "msm: pcie: remove unnecessary global PCI device table"
2021-02-25 06:25:38 -08:00
qctecmdr
fbc73ecea6
Merge "backlight: qcom-spmi-wled: update check for OVP fault in probe"
2021-02-25 06:25:37 -08:00
qctecmdr
cfc04e4928
Merge "pinctrl: qcom: spmi-gpio: Add compatible strings for pmi632 and pm6125"
2021-02-24 20:57:37 -08:00
qctecmdr
a833e5517a
Merge "spi: spi-msm-geni: Set the mode1 for SPI slave"
2021-02-24 20:57:37 -08:00
qctecmdr
88c9d046cc
Merge "mmc: core: Set host->bus_refs properly when card is set as corrupted"
2021-02-24 20:57:37 -08:00
qctecmdr
13bbc1f008
Merge "defconfig: quinvm: Enable IPA configs"
2021-02-24 20:57:37 -08:00
qctecmdr
18afa4d355
Merge "Merge android11-5.4.61+ (364ec3d) into msm-5.4"
2021-02-24 20:57:36 -08:00
qctecmdr
c2d5eb90f0
Merge "defconfig: Enable Qseecom driver compilation for scuba"
2021-02-24 20:57:36 -08:00
qctecmdr
6c2f5bec8a
Merge "cpufreq: qcom-cpufreq-hw: Add support to dump EPSS registers"
2021-02-24 20:57:36 -08:00
Anant Goel
d4c4d565c6
drivers: soc: qcom: Add snapshot of virtual subsystem notification driver
...
Add snapshot of virtual subsystem notification driver
from msm-4.14. This snapshot is taken as of msm-4.14
commit 035eb1f641f7 ("drivers: soc: qcom: Add snapshot of
virtual subsystem notification driver").
Change-Id: I8006342906e80e10ce2b2579f0dd0d89a072a6c5
Signed-off-by: Anant Goel <anantg@codeaurora.org>
2021-02-24 10:10:27 -08:00
qctecmdr
03b56c71a2
Merge "cnss2: Add api to get pci reg dump for hang data"
2021-02-24 06:59:35 -08:00
qctecmdr
6ddda8325e
Merge "icnss2: Add handler for SMMU faults"
2021-02-24 06:59:35 -08:00
qctecmdr
0ecf216555
Merge "defconfig: sdxlemur: Enable CONFIG_QCOM_MEMORY_DUMP_V2"
2021-02-24 06:59:35 -08:00
qctecmdr
c41a4908a0
Merge "defconfig: gen3auto: Enable boot stats and boot marker"
2021-02-24 06:59:34 -08:00
qctecmdr
e0d0ced759
Merge "soc: qcom: pil: Refine error handling for SCM ICC client"
2021-02-24 06:59:34 -08:00
qctecmdr
bcb98f59d0
Merge "dt-bindings: add required macro definitions for SSPHY registers"
2021-02-24 06:59:33 -08:00
qctecmdr
ab195f7450
Merge "msm: mhi_dev: Update num_reqs for ADB channel"
2021-02-24 06:59:33 -08:00
qctecmdr
9009fb4d7e
Merge "usb: dwc3: Enable parkmode for Gen1 controllers"
2021-02-24 06:59:32 -08:00
qctecmdr
ce2b2d67c5
Merge "firmware: qcom_scm: Fix compilation with QCOM_SCM config"
2021-02-24 06:59:32 -08:00
qctecmdr
b8cb5d94c9
Merge "usb: gadget: cser: Requeue OUT USB requests if ECONNRESET is received"
2021-02-24 06:59:32 -08:00
Package Warehouse Build User
b9d505e558
Merge "usb: function: Clear function suspend related flags on config reset" into msm-5.4
2021-02-24 06:28:13 -08:00
Package Warehouse Build User
e4fe3f8351
Merge "mtd: msm_qpic_nand: Enable Pagescope read feature on sdxlemur" into msm-5.4
2021-02-24 06:28:07 -08:00
Package Warehouse Build User
5bbe9895c1
Merge "msm: Add config option for AQC glue driver" into msm-5.4
2021-02-24 06:27:55 -08:00
Package Warehouse Build User
72d7b411a9
Merge "USB: Fix compilation errors with host stack disabled" into msm-5.4
2021-02-24 06:27:36 -08:00
Package Warehouse Build User
98dbd89763
Merge "msm: ipa3: Adding IPA defconfig WLAN dependent on this flag" into msm-5.4
2021-02-24 06:27:16 -08:00
Package Warehouse Build User
1f316795dd
Merge "defconfig: Enable PMU support for sdmsteppeauto" into msm-5.4
2021-02-24 06:10:21 -08:00
Package Warehouse Build User
254f2ee0da
Merge "slim-msm-ngd: Fix unbalanced core irq disable from ndg_slim_enable" into msm-5.4
2021-02-24 06:08:38 -08:00
Package Warehouse Build User
a5cc0741d2
Merge changes I8b206eb3,I992252cd into msm-5.4
...
* changes:
defconfig: Enable Devfreq support for sdmsteppeauto
defconfig: Enable core hang detect for sdmsteppeauto
2021-02-24 06:03:57 -08:00
Package Warehouse Build User
e9d68d5a29
Merge changes I8cd97abd,I6956378e into msm-5.4
...
* changes:
defconfig: Enable service locator and notifier for sdmsteppeauto
defconfig: Enable LLCC driver for sdmsteppeauto
2021-02-24 05:58:58 -08:00
Package Warehouse Build User
bcb0ae1b30
Merge "pinctrl: qcom: Update configuration for Monaco" into msm-5.4
2021-02-24 05:57:23 -08:00
qctecmdr
7786c0199f
Merge "pinctrl: qcom: Correct sdc1 rclk offset for Shima"
2021-02-24 00:19:57 -08:00
qctecmdr
8415850e70
Merge "defconfig: sdxlemur: Enable LKDTM driver"
2021-02-24 00:19:57 -08:00
qctecmdr
254a633e55
Merge "power: smb5: Disable bat-temp irq upon debug battery detection"
2021-02-24 00:19:56 -08:00
Lijuan Gao
b1d8595341
defconfig: Enable serial console for sdxnightjar perf build
...
Enable SERIAL_MSM and SERIAL_MSM_CONSOLE config for sdxnightjar
perf build.
Change-Id: I23b06c27088278fc5bd52e2bd40ae0e694e8cb94
Signed-off-by: Lijuan Gao <lijuang@codeaurora.org>
2021-02-24 15:29:55 +08:00
Naman Padhiar
f5cc043bb9
icnss2: Add new ipc context to log smp2p related logs
...
Add new ipc context to log smp2p related logs and put
aggressive logs to appropriate ipc log context to avoid
losing of critical logs.
Change-Id: Ia2a9fb8a9c724e2adc514e618abf9f032ce1ea0a
Signed-off-by: Naman Padhiar <npadhiar@codeaurora.org>
2021-02-23 22:53:02 +05:30
Xiaowen Wu
7fe1fe71c5
defconfig: gen3auto: add qseecom driver support
...
Add qseecom driver support for DP HDCP processing.
Change-Id: Id66ef91eaf24205b455411c9719680d39d25cc65
Signed-off-by: Xiaowen Wu <wxiaowen@codeaurora.org>
2021-02-23 07:42:59 -08:00
Srinivasarao P
022f93cd7d
Merge android11-5.4.61+ (364ec3d) into msm-5.4
...
* refs/heads/tmp-364ec3d:
UPSTREAM: futex: Don't enable IRQs unconditionally in put_pi_state()
UPSTREAM: futex: Handle transient "ownerless" rtmutex state correctly
UPSTREAM: futex: Fix incorrect should_fail_futex() handling
ANDROID: add macros to create OEM data fields
BACKPORT: arm64: perf: Support new DT compatibles
UPSTREAM: usb: xhci-mtk: fix unreleased bandwidth data
ANDROID: sched: add em_pd_energy vendor hook
ANDROID: schedutil: add vendor hook for adjusting util to freq calculation
ANDROID: ABI: update symbols of unisoc whitelist
Revert "BACKPORT: FROMGIT: mm: improve mprotect(R|W) efficiency on pages referenced once"
BACKPORT: FROMGIT: mm: improve mprotect(R|W) efficiency on pages referenced once
ANDROID: simplify vendor hooks for non-GKI builds
Conflicts:
kernel/sched/cpufreq_schedutil.c
Change-Id: I9e98cddb693248a3c255d7010c8aeaad85b60ced
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>
2021-02-23 18:05:00 +05:30
Pranay Raj Anand
fcfa540016
defconfig: Enable Qseecom driver compilation for scuba
...
Add CONFIG_QSEECOM flag to enable Qseecom driver
compilation for scuba.
Change-Id: I3cfe96b09fa8039ea698075ef318b6a979eabef9
Signed-off-by: Pranay Raj Anand <prajanan@codeaurora.org>
2021-02-23 16:08:20 +05:30
Akshay Pandit
3b3afd2b27
defconfig: quinvm: Enable IPA configs
...
Enable IPA on quinvm target.
Change-Id: Ibf3882d6eb48049c24e96420d42463be62c712d1
Signed-off-by: Akshay Pandit <pandit@codeaurora.org>
2021-02-23 14:31:13 +05:30
Taniya Das
58e1e4ef7a
cpufreq: qcom-cpufreq-hw: Add support to dump EPSS registers
...
Add support to dump EPSS registers that aid in debugging
CPUFREQ issues.
Change-Id: Iab15b9debf919b3b3f2dd7428fd0bdff6e04ca41
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2021-02-23 12:35:14 +05:30
Kavya Nunna
13a0a1cf86
pinctrl: qcom: spmi-gpio: Add compatible strings for pmi632 and pm6125
...
Add compatible strings for pmi632 and pm6125 in pinctrl-spmi-gpio
driver to support pmic gpios in 5.4 kernel.
Change-Id: Ic0ccb0e5a8272039dadc29327a2061d2b7cb5213
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
2021-02-23 12:13:32 +05:30