Commit graph

893,362 commits

Author SHA1 Message Date
Sayali Lokhande
bdf4fb6b5d defconfig: sdxlemur: Enable msm shared memory support
This change enables msm shared memory support for
sdxlemur.

Change-Id: I5374740d64eab6a0a2772a79225d7dcf04419bdd
Signed-off-by: Sayali Lokhande <sayalil@codeaurora.org>
2020-12-22 13:51:43 +05:30
Fei Mao
e08740d991 input: touchscreen: focaltech: update driver code
Support new FT3658U over SPI.

Change-Id: I019534c4f97324689e01e35c30848a66f08fa481
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-12-22 00:07:31 -08:00
qctecmdr
d85a15f459 Merge "pstore: Add buffer start check during init" 2020-12-21 22:00:28 -08:00
qctecmdr
71af17fbaa Merge "msm: kgsl: Add support for A635 GPU" 2020-12-21 22:00:28 -08:00
qctecmdr
51edbbb2d9 Merge "msm: ipa: Add support for IPA5.1" 2020-12-21 22:00:27 -08:00
qctecmdr
aaafd43e62 Merge "Merge android11-5.4.61+ (9c7cbdf) into msm-5.4" 2020-12-21 22:00:27 -08:00
qctecmdr
14ce87c1d1 Merge "msm: Add dataipa to SDXNIGHTJAR compilation" 2020-12-21 22:00:26 -08:00
qctecmdr
c63e38f24d Merge "usb: gadget: Fix crash on calling usb gadget activate/deactivate" 2020-12-21 22:00:26 -08:00
qctecmdr
41dc53c83f Merge "Revert "block: Fix use-after-free while iterating over requests"" 2020-12-21 22:00:25 -08:00
qctecmdr
ab6a8061f8 Merge "mmc: host: Fix build errors in cqhci-crypto.h" 2020-12-21 22:00:25 -08:00
Jay Jayanna
bd53412428 soc: qcom: qsee_ipc_irq_bridge: Add soft-dependency on qcom_ipcc
qcom_ipcc needs to be functional for qsee_ipc_irq_bridge_probe to
be successful. Hence, add a soft-dependency on qcom_ipcc to ensure this
happens when these drivers are built as modules.

Also, update the license year.

Change-Id: I46e9571d53c36f46ead46fcac488ec91f7105d87
Signed-off-by: Jay Jayanna <jayanna@codeaurora.org>
2020-12-21 16:29:54 -08:00
qctecmdr
261ad0d8ae Merge "usb: gadget: Resolve NULL pointer dereference in composite_disconnect" 2020-12-21 16:11:24 -08:00
qctecmdr
3da7849b99 Merge "block: Fix the setting of same_page variable" 2020-12-21 16:11:24 -08:00
qctecmdr
5328bcf5f4 Merge "mtd: Collect bad block count for ecc stats lazily" 2020-12-21 16:11:23 -08:00
qctecmdr
7d6eefd864 Merge "arm64: defconfig: Enable minidump for ipc log buffers" 2020-12-21 16:11:23 -08:00
qctecmdr
03f0f258e0 Merge "clk: qcom: Add the debug mux information for SCSHRIKE" 2020-12-21 16:11:23 -08:00
qctecmdr
ef1348bf37 Merge "msm: kgsl: Allocate user_ctxt_record based on preemption feature flag" 2020-12-21 16:11:23 -08:00
qctecmdr
9961f44273 Merge "usb: dwc3: control redriver connect/disconnect" 2020-12-21 16:11:22 -08:00
Raghavendra Rao Ananta
d2b0a93576 mmc: host: Fix build errors in cqhci-crypto.h
The commit, <65ec3786aa> (mmc: host: Fix bootup issue with file
encryption with GKI) introduced build error- multiple definitions of
the same function'. Hence, make the stub definitions 'static inline'
to handle the errors.

Change-Id: I42fcc8e47d829fbfd545fe66673a637a2d71b861
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-12-21 15:17:34 -08:00
Raghavendra Kakarla
c153dfba1a driver: lpm-levels: Add check for IPI pendning in core lpm path
Add check whether IPI is in pending state for the core while its
entering to LPM.

Change-Id: I6927fd445a1e2e46a4b5329003994a5bd710dc66
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-12-21 23:56:09 +05:30
Himateja Reddy
93c75f2941 msm: adsprpc: use correct size while copying user data
Currently, an uninitialized size variable is being used to copy
data from user. Use correct size while copying user concurrency
info for enabling persistent headers.

Change-Id: Ie81305060f2f278b29def11508cdc9851677d33e
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-12-21 10:14:16 -08:00
Raghavendra Rao Ananta
e33c8bf42b Revert "netfilter: Fix build error"
This reverts commit d416373239.

Change-Id: Ib10398ae0f214b08620a407fd53636a63903dfb2
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
2020-12-21 09:52:00 -08:00
Chandana Kishori Chiluveru
fe957e2fb8 usb: f_gsi: Add EP_LOOKUP for USB_PROT_GPS_CTRL
Add EP_LOOKUP for gps control channel and update the ep_type
as USB and interface id used for GPS function so that user space
Qmuxbridge daemon will use this info and update the response in
DPM_OPEN_QMI Request for QMI communication.

Change-Id: I45f640d952bdb513eb45c69711e61b2c2708f541
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Signed-off-by: Elson Roy Serrao <eserrao@codeaurora.org>
2020-12-21 08:51:52 -08:00
Pradeep P V K
30ed308e3c Revert "block: Fix use-after-free while iterating over requests"
commit 10ee57c29e ("block: Fix use-after-free while iterating over
requests")
This is needed to fix regression observed in suspend/resume
paths where the tag corresponds to static_rqs is becoming
NULL and observed a kernel panic due to NULL pointer access in
blk_mq_get_rq().

89.824342:   <2> Call trace:
89.824356:   <2>  blk_mq_get_request+0x200/0x3ec
89.824367:   <2>  blk_mq_alloc_request+0x5c/0xb4
89.824382:   <2>  blk_get_request+0x2c/0xa4
89.824398:   <2>  __scsi_execute+0x58/0x1a0
89.824413:   <2>  ufshcd_set_dev_pwr_mode+0x174/0x248
89.824425:   <2>  ufshcd_suspend+0x2e8/0x830
89.824436:   <2>  ufshcd_runtime_suspend+0x44/0x194
89.824452:   <2>  ufshcd_pltfrm_runtime_suspend+0x14/0x20
89.824468:   <2>  pm_generic_runtime_suspend+0x44/0x80
89.824481:   <2>  __rpm_callback+0x98/0x1d8
89.824493:   <2>  rpm_suspend+0x31c/0x634
89.824505:   <2>  rpm_idle+0x158/0x228.

Change-Id: I5bc3d75a9d891054dc926171b3ad90b701d776d6
Signed-off-by: Pradeep P V K <pragalla@codeaurora.org>
2020-12-21 21:27:07 +05:30
Sriharsha Allenki
074b871fb1 usb: gadget: Fix crash on calling usb gadget activate/deactivate
Currently the functions usb_gadget_activate and
usb_gadget_deactivate are being called with spinlock held.
The above functions calls gadget_pullup which invokes
pm_runtime_get_sync call, which might sleep.
This results in a crash. Fix this by releasing the
spinlock and acquiring it after the function call.

Change-Id: I17359e3c3227773a8ce269f8db93bc1d56771044
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-12-21 06:46:05 -08:00
Chandana Kishori Chiluveru
c62300ab24 usb: f_gsi: Disable function remote wake-up capability for DPL
If driver allows function remote wake-up for DPL interface.
windows10/8 host may suspend the DPL function in SS mode.
When we receive Function Suspend for usb interface. gsi_suspend()
blocks ringing of doorbell by USB controller to IPA GSI and schedule
usb_ipa_w work with event EVNT_SUSPE. This will block the GSI to IPA
path for other GSI interfaces in the compositions.

Hence disable function remote wake-up capability for DPL interface.

Change-Id: Ic2da104a48bc14aa2f2912544a9b5fa1c5de8596
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2020-12-21 19:56:43 +05:30
qctecmdr
6d2ebd766c Merge "ion: use correct section map size for LPAE" 2020-12-21 04:30:54 -08:00
qctecmdr
aa7da8afbd Merge "defconfig: Enable crypto modules on sdxlemur" 2020-12-21 04:30:54 -08:00
qctecmdr
1997d9e22c Merge "soc: qcom: Avoid race shutdown and receive data for mbox channel" 2020-12-21 04:30:54 -08:00
qctecmdr
37548b6bbc Merge "msm: kgsl: Disable BCL feature on A660" 2020-12-21 04:30:53 -08:00
qctecmdr
20499829a5 Merge "arm64: defconfig: Enable SCSHRIKE interconnect driver" 2020-12-21 04:30:53 -08:00
qctecmdr
eb6b695ebe Merge "mmc: host: Fix bootup issue with file encryption with GKI" 2020-12-21 04:30:53 -08:00
Macpaul Lin
9885e7fec0 ANDROID: usb: gadget: f_accessory: fix CTS test stuck
f_accessory: fix CTS test stuck since CTS 9.0.
 - Refine acc_read() process.

The data length that user (test program) wants to read is different
from they really requested. This will cause the test flow stuck on the
2nd or the 3rd transfers in accessory test.
(By connecting 2 phones with CtsVerifier.apk and
CtsVerifierUSBCompanion.apk installed.)

Bug: 174729307

Change-Id: I5367c8075ed37534e8bed94b60cc79135ae5aebc
Signed-off-by: Macpaul Lin <macpaul.lin@mediatek.com>
2020-12-21 18:59:01 +08:00
Gaurav Kohli
d318948fc9 power: reset: qcom-dload-mode: Add dependency of scm in download driver
Add scm driver dependency in download mode driver, This helps to make sure
that download mode driver probe always happen after scm only.

Change-Id: I49a3f1ae3c610903148f97e0ee68ffdee5d87016
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
2020-12-21 13:15:45 +05:30
qctecmdr
af305c96f5 Merge "msm: kgsl: Fix IFPC abort due to preemption keepalive" 2020-12-20 23:19:53 -08:00
qctecmdr
82e4df171d Merge "defconfig: sdxlemur: Enable PMIC and thermal debug features" 2020-12-20 23:19:53 -08:00
qctecmdr
d2fe7ea3a5 Merge "clk: qcom: debugcc-holi: Remove the gcc_qup clocks" 2020-12-20 23:19:53 -08:00
qctecmdr
3c4e3eab3b Merge "msm: kgsl: Update HW CGC settings for A660" 2020-12-20 23:19:52 -08:00
qctecmdr
d99442f9e6 Merge "msm: kgsl: Dump HLSQ_DBG_CNTL in snapshot" 2020-12-20 23:19:52 -08:00
qctecmdr
0b05c9a855 Merge "Ignore -106 error while opening channel" 2020-12-20 23:19:52 -08:00
Pradeep P V K
529f2bc4a2 defconfig: Enable NAND related configs for sdxnightjar
Enable configs required for NAND driver support on sdxnightjar.

Change-Id: Ia287b23e3a3235238942dc6acecfea2bcadd5b50
Signed-off-by: Pradeep P V K <ppvk@codeaurora.org>
2020-12-21 12:14:30 +05:30
Jordan Crouse
b566801d63 msm: kgsl: Protect the memdesc->gpuaddr in SVM use cases
When SVM is being used there can only be one GPU address assigned
to the memory descriptor. Don't allow the GPU address to be changed
after it has been negotiated the first time by a process.

Change-Id: Ic0dedbad2a1b3ccdc2c1598a6c501b2be288d64e
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-12-21 10:08:17 +05:30
Jordan Crouse
fcb8f9f20d msm: kgsl: Stop using memdesc->usermem
It shouldn't be illegal for memory descriptors to have multiple virtual
memory mappings under certain circumstances. If that is the case
tracking a single usermem address for each memdesc no longer makes much
sense. Get rid of the memdesc->usermem member and use an atomic counter
to track mappings instead.

Change-Id: Ic0dedbad31bafcd1019ccc8e68657cb7e3c72727
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2020-12-21 10:04:28 +05:30
Sahitya Tummala
9e5e30aa0f block: Fix the setting of same_page variable
The same_page variable inside the function __bio_try_merge_page()
must be set to true if the merge happened within the same page.
As some the callers of this function take action based on that.

Change-Id: Iae4a7170aeaffcc0b9c424368c7d8127d51a177b
Fixes: 1bbb4bd9c3 ("block: disable multi-page bvec")
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2020-12-21 08:52:06 +05:30
qctecmdr
9feba1d5e3 Merge "xhci: Add tracing for xhci doorbell register writes" 2020-12-20 17:39:57 -08:00
qctecmdr
d584d85ede Merge "icnss2: Add code for SSR dump collection feature for moselle" 2020-12-20 17:39:57 -08:00
qctecmdr
0dfdb5863c Merge "pinctrl: qcom: Add flexibility to disable the wakeup capability" 2020-12-20 17:39:57 -08:00
qctecmdr
8826fdc91f Merge "coresight-etm3x: change ETM name to coresight-etm" 2020-12-20 17:39:57 -08:00
qctecmdr
5ce82d413e Merge "input: qcom-hv-haptics: toggle HAPTICS_EN bit before playing FIFO" 2020-12-20 17:39:56 -08:00
qctecmdr
d9014395e4 Merge "msm: kgsl: Log context information on ENOSPC" 2020-12-20 17:39:56 -08:00