Commit graph

893,119 commits

Author SHA1 Message Date
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
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
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
qctecmdr
c11b1b0d8b Merge "soc: qcom: guestvm_loader: do cpu offline instead of isolate" 2020-12-20 17:39:56 -08:00
qctecmdr
55714de4a4 Merge "defconfig: Enable F2FS_FAULT_INJECTION" 2020-12-20 17:39:55 -08:00
qctecmdr
5627f0a110 Merge "arm64: defconfig: Add initial defconfig fragments for sa6155" 2020-12-20 17:39:55 -08:00
Jiten Patel
0c15225e85 qseecom: use legacy command for slateapp
use the legacy command for sending any data
to trusted application only if the app name
is slateapp.

Change-Id: Iecbe75c45b253ef87de3306b89b50c39008550fe
Signed-off-by: Jiten Patel <jitepate@codeaurora.org>
2020-12-20 07:44:17 -08:00
qctecmdr
f291b2fb17 Merge "defconfig: sdxlemur: Enable USB function remote wakeup functionality" 2020-12-20 00:48:55 -08:00
qctecmdr
c6bb501a23 Merge "block: Fix use-after-free while iterating over requests" 2020-12-20 00:48:54 -08:00
qctecmdr
9c4ab1cf74 Merge "usb: misc: nb7vpq904m: allow USB control connect and disconnect" 2020-12-20 00:48:54 -08:00
qctecmdr
cf5c2893b6 Merge "usb: dwc3-msm: Rectify 64 bit dma address programming for GSI" 2020-12-20 00:48:54 -08:00
qctecmdr
763611e06c Merge "scsi: ufs: Fix IOCTL error checking for input buffer" 2020-12-20 00:48:53 -08:00
qctecmdr
b3226a5b62 Merge "usb: gadget: Fix issue in config_desc with OS descriptor handling" 2020-12-20 00:48:53 -08:00