Commit graph

891,678 commits

Author SHA1 Message Date
qctecmdr
0a83eab6f9 Merge "Bluetooth: Implement a minimum off-time for AON discharge issue" 2020-10-08 15:24:55 -07:00
qctecmdr
09abe57514 Merge "soc: qcom: llcc-lahaina: Disable 'retain on PC' for Audio" 2020-10-08 15:24:55 -07:00
qctecmdr
1d65d474b9 Merge "soc: qcom: eud: Fix enable status for secure mode" 2020-10-08 15:24:54 -07:00
qctecmdr
2a5792a99a Merge "ASoC: msm: fix integer overflow for long duration offload playback" 2020-10-08 15:24:54 -07:00
qctecmdr
010ee46d6f Merge "drivers: edac: Disable panic for the correctable errors" 2020-10-08 15:24:52 -07:00
qctecmdr
43cd233e24 Merge "input: touchscreen: st: toggle reset gpio during error on SVM" 2020-10-08 15:24:52 -07:00
qctecmdr
580b442865 Merge "msm: cvp: Fix sum fps aggregation setting" 2020-10-08 15:24:52 -07:00
Harshdeep Dhatt
c79cda3408 msm: kgsl: Initialize drawctxt active node earlier
gpudev->preemption_context_init() can fail and invoke
adreno_drawctxt_detach(). This causes a crash because
drawctxt->active_node is not initialized.

Change-Id: I201759316cfa5dc831e1987d209c73efb97bb9ee
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-08 13:31:16 -06:00
Harshdeep Dhatt
817655d509 msm: kgsl: Fix error handling during gmu boot
Need to turn off interrupts if we encounter an error
other than a gmu fault or timeout.

Change-Id: If4261f5a2c8ce63bceede3a460faca0353817a39
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-08 13:31:16 -06:00
Harshdeep Dhatt
c381d24aab msm: kgsl: Trigger recovery upon GMU assert in hwscheduling
A GMU assert puts GMU in NMI so it will no longer be responsive
and hence triggering recovery is important. Also, trigger recovery
on WDOG or CM3 fault interrupt from GMU. Make sure snapshot and
reset is only triggered if device was active. Also, clear the
CM3 fault every SLUMBER exit.

Change-Id: I9d6a063470bcd082a9cbecc5b8dcf0a412713bb1
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2020-10-08 13:31:15 -06:00
Murali Nalajala
dcf7b284d3 haven: avoid sleeping in atomic context messages
Currently blocking calls are made from atomic context in doorbell and
message queue drivers. Modify the code flow to avoid kernel warnings
when drivers are initializing.

Change-Id: Iae851d5d7e09210a8fb617da0e2cc4cc52c0f258
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
2020-10-08 11:54:31 -07:00
qctecmdr
c047705b3a Merge "msm: kgsl: Enable Battery Current Limiting feature for A660" 2020-10-08 08:33:26 -07:00
qctecmdr
689186736c Merge "msm: kgsl: Hook preemption sysfs nodes to hwscheduling" 2020-10-08 08:33:25 -07:00
qctecmdr
fceae6a2fb Merge "ABI: Update section name in script and internal allowed list" 2020-10-08 08:33:25 -07:00
qctecmdr
0ed475921c Merge "arch: arm: Fix the DTB_OBJS macro to include vendor dtbs" 2020-10-08 08:33:25 -07:00
qctecmdr
1b8ece591f Merge "rpmsg: glink: Send READ_NOTIFY command in FIFO full case" 2020-10-08 08:33:24 -07:00
qctecmdr
a27d90db9e Merge "dma-mapping-fast: Ensure reserved iovas are actually reserved" 2020-10-08 08:33:24 -07:00
qctecmdr
755a91289f Merge "defconfig: Enable EXT4 and FAT FS for sdxlemur" 2020-10-08 08:33:23 -07:00
qctecmdr
3896f5dd3f Merge "hwkm: Empty RSP buffer before any command" 2020-10-08 08:33:23 -07:00
qctecmdr
b8e66109f7 Merge "Revert "arm64: kpti: force off kpti"" 2020-10-08 08:33:22 -07:00
qctecmdr
4f9050fe53 Merge "drivers: soc: qcom: suppress platform driver bind / unbind feature" 2020-10-08 08:33:22 -07:00
Ravikishore Pampana
c15c41781f dt-bindings: msm: Add bindings isp and pxl path feature ids
Define isp hw and isp hw pix path feature ids. This feature
information used for some target skus to check the particular
isp hw instance supported or not during the probe time.

Change-Id: I1bb4de1c90152d392b9e531299049286fd03d8b2
Signed-off-by: Ravikishore Pampana <rpampana@codeaurora.org>
2020-10-08 18:26:15 +05:30
Vipin Deep Kaur
f4a9c2e742 qcom-sps-dma: Add snapshot of QCOM SPS DMA driver
This change adds a snapshot of QCOM SPS DMA driver
from the msm-4.19 'commit 8b158709ddb7 ("qcom-sps-dma:
Add snapshot of QCOM SPS DMA driver"")'.

Change-Id: Ie340044913dfe8638b0ba336e67e51386432826a
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-10-08 17:47:58 +05:30
Vipin Deep Kaur
2920b62683 spi: spi_qsd: Add snapshot of SPI BLSP driver
This change adds a snapshot of SPI BLSP driver
from the 4.19 branch.
This is snapshot of the SPI BLSP driver as of
msm-4.19 'commit 717e1e28321a ("Merge "SPI:
spi_qsd: Add snapshot of SPI QSD driver"")'.

Change-Id: I9ce403c8d64aac6e916fa9e213ade59ebc213c5b
Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
2020-10-08 17:47:47 +05:30
Santosh Mardi
c8c8485942 drivers: soc: qcom: avoid double initialization of kobj
In rimps_memlat driver the rimps_kobj is initialized twice
once while creating and another while initializing and adding
to the parent kobj, which resulted in kernel warning.

Fix the double initialization of rimps_kobj.

Change-Id: I95c03d83f63cffd506b2f3ee36f1a6da9f4f1d31
Signed-off-by: Santosh Mardi <gsantosh@codeaurora.org>
2020-10-08 15:24:29 +05:30
Anmolpreet Kaur
ea551156f1 qseecom: Propagate correct return value from TZ
When unload app fails, return the correct return
value that we get from TZ and not translate it to
EFAULT. This will make sure that proper handling is
done at the calling side.

Change-Id: Ie850967e5c44b502b888324291a878d0a467b46b
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2020-10-08 02:26:01 -07:00
Neeraj Upadhyay
4a851779b1 dt-bindings: ipcc: Rename WDSP client to WPSS
Rename WDSP to WPSS, as per new naming requirement.

Change-Id: If44d6d2e2233b0f2c1cd754216e121494ab005f0
Signed-off-by: Neeraj Upadhyay <neeraju@codeaurora.org>
2020-10-08 14:39:05 +05:30
Paras Singh Jain
b9f06c10b8 net: core: Dont send ARP probes for NUD_PERMANENET
Whenever a new neighbour is added with the state
NUD_PERMANENT, the ARP probing is removed since
it is not needed.

Change-Id: Id92b24d1b99b8deff91a8e105f7310efc2f21b39
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-10-08 00:47:41 -07:00
Paras Singh Jain
6df2a9aebc net: core: Release neigh lock when neigh_probe is enabled
Release the neighbor lock when timer expires for a neighbor entry
when neigh_probe flag is enabled.

Change-Id: I25aa82bfbba32908b093b53fff85a52d1fd894b2
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-10-08 13:08:56 +05:30
Paras Singh Jain
5b4c8cc3d2 net: core: Send ARP probe and trigger RTM_NEWNEIGH
Send ARP probe and generate RTM_NEWNEIGH if the neighbor
state is not NUD_REACHABLE. Also featurize changes for
sending neighbor probe.

Change-Id: I633285b8e0cbcd49291d5e52136f11e20f2388bc
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-10-08 13:00:39 +05:30
Paras Singh Jain
77f5ad25b0 msm: netfilter: changes to handle contact address modification in SIP ALG
SIP ALG mangles contact address only when both address and port are
mentioned. Some clients send only address information in which case
the contact address does not get mangled an hence SIP call does not
get established.

Change-Id: Ie760f6fcc6dd8e269b057488414b23beff4e8fc3
Signed-off-by: Paras Singh Jain <parassin@codeaurora.org>
2020-10-08 00:20:19 -07:00
Deepak Kumar Singh
3b50159e8c net: qrtr: Return -ENODEV error code if port not found
Post function is called from interrupt context. Returning same
error code in all cases rsults in excessive prints which can
cause irq throttling.

Return -ENODEV when port lookup fails in post function.

CRs-Fixed: 2790559
Change-Id: I75384b2116cb2fe1bbeaa2dac91157345f0bab54
Signed-off-by: Deepak Kumar Singh <deesin@codeaurora.org>
2020-10-08 10:55:42 +05:30
Karthik Poosa
6d80433c1d NFC: Add IPC logging of NCI Commands and responses of NFC I2C driver
The output file is  /d/ipc_logging/nq-nci/log_cont.

Change-Id: I4d6bf8f2b888ac3d720b8515682ee1b3fa769866
Signed-off-by: Karthik Poosa <kpoosa2@codeaurora.org>
2020-10-08 10:48:40 +05:30
Elson Roy Serrao
fa52163c3a usb: dwc3: Add logging for ep0 map/unmap requests
Log the ep0 dma map/unmap request  in the IPC log buffer
for debugging SMMU faults.

Logs can be accessed using below command
cat /sys/kernel/debug/ipc_logging/a600000.dwc3.ep_events/log.

Change-Id: If5587b8ba59451593968999b59cd61f2a469fe1c
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
Signed-off-by: Udipto Goswami <ugoswami@codeaurora.org>
2020-10-08 10:19:27 +05:30
Ajay Agarwal
49ceb526b2 usb: phy: snps: Enable auto resume feature only in host mode
'Commit f62b4c27d0df ("usb: phy: snps: Enable auto-resume during
host mode bus suspend")' started enabling USB auto resume for
peripheral mode bus suspend as well. If the auto resume feature
is enabled in device mode, the device is unable to detect the
resume signalling by the host in some cases. And the auto resume
feature is applicable only in host mode.
So, enable the auto resume feature only in host mode.

Change-Id: I59155bc122ac4f5c9bb04cb4ff487c7a6ba89e47
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2020-10-07 21:42:42 -07:00
Armaan Siddiqui
8dbc1fac4f msm: ipa: ioctl to receive mac addr list and parental control flag
ioctl to receive mac addr list and parental control
flag from QCMAP to enable data offload to HW or
exception path.

Change-Id: Ifaec105e4970f0418bac43e2ce4eba9c5b7fa5be
Signed-off-by: Armaan Siddiqui <asiddiqu@codeaurora.org>
2020-10-08 01:48:41 +05:30
Taniya Das
d06d88cb08 clk: qcom: gpucc: Update the PLL 2x frequency
The GPUCC PLL needs to lock at 2x the RCG frequency, thus update the RCG
divider to '2' to lock the PLL at 2x.

Change-Id: Iadeb8b03cf10c170efa8b11bf9aadc35f67ce736
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2020-10-08 00:58:56 +05:30
qctecmdr
5702001dfb Merge "haven: hh_dbl: Add missing unlock in hh_dbl_validate_params" 2020-10-07 12:10:27 -07:00
qctecmdr
052304f2c9 Merge "mmc: core: Select HS mode in device first and then in the host" 2020-10-07 12:10:26 -07:00
qctecmdr
ceac5f30ac Merge "minidump: use *_irqsave() and *_irqrestore() API's for minidump locks" 2020-10-07 12:10:26 -07:00
qctecmdr
c9df82f9bc Merge "power: smb1398: Update adapter_type in the work-queue's context" 2020-10-07 12:10:26 -07:00
qctecmdr
eccbaefe84 Merge "msm: ipa: interface to provide pdn configuration" 2020-10-07 12:10:25 -07:00
qctecmdr
f5a31e044e Merge "clk: qcom: camcc: Update camcc_cphy_rx Fmax corner for Shima" 2020-10-07 12:10:25 -07:00
qctecmdr
f98e28a053 Merge "defconfig: sdxlemur: add support for net, iptables and netfilter" 2020-10-07 12:10:25 -07:00
qctecmdr
83a71adbff Merge "haven: Remove unused constants" 2020-10-07 12:10:24 -07:00
qctecmdr
6dcc24a002 Merge "iommu/arm-smmu: add qsmmuv2 sync timeout handler" 2020-10-07 12:10:24 -07:00
qctecmdr
8fb4ad599c Merge "arm64: defconfig: Disable LOCKUP_DETECTOR for lahaina QGKI" 2020-10-07 12:10:24 -07:00
qctecmdr
ecc87fe5e2 Merge "mtd: msm_qpic_nand: Add snapshot of QPIC nand driver" 2020-10-07 12:10:23 -07:00
qctecmdr
409ef17263 Merge "iommu: arm-smmu: add capturebus support for smmuv500" 2020-10-07 12:10:23 -07:00
Jack Pham
3741fb2cfb coresight: byte-cntr: Free USB requests when disconnected
When receiving USB_QDSS_CONNECT notification, 255 USB requests
are allocated before starting the worker thread to begin writing
to USB QDSS function driver. Conversely when USB_QDSS_DISCONNECT
is received, these requests need to be freed. Without doing so,
besides causing a slow memory leak, the existing requests would get
incorrectly re-used and may fail if the USB endpoint changed due
to a composition switch.

Change-Id: I328e110719fab374827ac69c8b60274f65ec81e2
Signed-off-by: Jack Pham <jackp@codeaurora.org>
2020-10-07 11:53:00 -07:00