Commit graph

810731 commits

Author SHA1 Message Date
qctecmdr
abe85181cd Merge "dma-buf: fill dmabuf->name in dma_buf_export" 2020-05-13 11:32:54 -07:00
qctecmdr
d6d5c4eb4a Merge "msm: ipa3: Fix to restart tasklet for pending packets" 2020-05-13 11:32:54 -07:00
qctecmdr
a0223f44e6 Merge "cnss2: Skip cnss probe failure if debugfs creation fails" 2020-05-13 08:02:16 -07:00
qctecmdr
815ac7d4d7 Merge "radio: RTC6226: remove open and release v4l2_fh file" 2020-05-13 08:02:15 -07:00
qctecmdr
a722d2fc07 Merge "power: fg-alg: Fix double mutex lock when capacity learning aborts" 2020-05-13 08:02:15 -07:00
qctecmdr
455dbd00c8 Merge "msm: vidc: Add control to configure latency hint" 2020-05-13 08:02:15 -07:00
qctecmdr
fe404199fe Merge "defconfig: Enable hardware key manager driver" 2020-05-13 08:02:15 -07:00
qctecmdr
f00cea8f7d Merge "defconfig: sdm : Add initial defconfig for SDM660" 2020-05-13 08:02:14 -07:00
qctecmdr
e31e66be28 Merge "soc: qcom: l2_reuse: update the name of the sysfs node" 2020-05-13 08:02:14 -07:00
qctecmdr
e61fa96fe9 Merge "mhi: core: Fix out of bound channel id handling" 2020-05-12 23:07:07 -07:00
qctecmdr
c5ddd39c99 Merge "cnss2: Add mutex protection between unregister driver and idle restart" 2020-05-12 23:07:06 -07:00
qctecmdr
5b1025cef6 Merge "msm: adsprpc: Fix NULL pointer error when DEBUG_FS is disabled" 2020-05-12 23:07:06 -07:00
qctecmdr
ed2d380e8d Merge "mmc: block: Fix request completion in the CQE timeout path" 2020-05-12 23:07:06 -07:00
qctecmdr
b50f9e66a2 Merge "hwrng: Get clock source based on dtsi flag" 2020-05-12 23:07:05 -07:00
qctecmdr
9d78698795 Merge "kona-iot_defconfig: msm: Disable TSPP HW driver and enable software demux" 2020-05-12 23:07:05 -07:00
qctecmdr
0888310a19 Merge "msm: kgsl: add api to limit gpu fmax" 2020-05-12 23:07:05 -07:00
qctecmdr
0b85eda114 Merge "f2fs: fix long latency due to discard during umount" 2020-05-12 23:07:05 -07:00
qctecmdr
f7e8af00af Merge "qseecom: Set max size for dma segment" 2020-05-12 23:07:05 -07:00
Ashok Vuyyuru
42606a6791 msm: ipa3: Fix to restart tasklet for pending packets
In some conditions tasklet was exiting before processing
the all the packets. Add changes to restart tasklet for
pending packets.

Change-Id: I7246c070a003e27e8ef0b7036cf275a6f072b1b1
Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
2020-05-12 22:50:57 +05:30
Charan Teja Reddy
707379eaac dma-buf: fill dmabuf->name in dma_buf_export
From 5.3+ kernels we have an option that users of the dmabuf can
provide unique name to the dmabuf object which is stored in the ->name
field of dma_buf structure. The change, commit bf93f26d49 ("UPSTREAM:
dma-buf: add DMA_BUF_SET_NAME ioctls"), brought as an LSK merges can
break some users. These users, say display, relies on the readlink() to
get the dmabuf name which is used to uniquely identify the dmabuf
exported buffers and thus take some decissions, Eg: Whether to redraw
the eglimage. But this LSK change  will always give the "/dmabuf:" as
name for all the dmabuf objects thus breaking such users. This can be
avoided by filling the dmabuf->name with the default unique name, thus
the dma_buf->buf_name,name will share the common name till the user
overrides it.

This fix also indirectly solves the memory leak issue associated with
the dmabuf->buf_name filled in the dma_buf_export().

Change-Id: If4ba945b49c98f1d109ec83400299af12dac1232
Fixes: bf93f26d49 ("UPSTREAM: dma-buf: add DMA_BUF_SET_NAME ioctls")
Signed-off-by: Charan Teja Reddy <charante@codeaurora.org>
2020-05-12 12:04:54 +05:30
Yue Ma
dc1bf9b8a8 cnss2: Add mutex protection between unregister driver and idle restart
Since idle restart is a multiple stages power up sequence, there will be
race conditions when idle restart and unregister driver (which is power
down sequence) come at the same time. Add mutex protection for them so
that they can be serialized completely.

Change-Id: Icc28b5f759cd690cb505b16ab70eaa4abaf2e4cc
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-05-11 17:57:53 -07:00
Mohammed Nayeem Ur Rahman
247d9959ff msm: adsprpc: Fix NULL pointer error when DEBUG_FS is disabled
Add extra checks to avoid NULL pointer derefernce when DEBUG_FS
is disabled.

Change-Id: I46ff3b8b27b53ff5bb5dead78ccdefc410435dda
Acked-by: Tadakamalla Krishnaiah <ktadakam@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2020-05-12 01:16:56 +05:30
AnilKumar Chimata
2a275c0597 defconfig: Enable hardware key manager driver
Enable the Hardware key manager driver that interfaces
with the master and slave blocks for crypto functionality.

Change-Id: Ie8492bf80e357ae1ddc957728e121f49d79ae61e
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2020-05-11 10:30:55 -07:00
AnilKumar Chimata
cce3b6dc49 soc: qcom: Add HWKM driver for FBE
Add hardware key manager driver in the HLOS kernel
to facilitate storage encryption using HWKM.

Change-Id: I6d7b04445aa04fd160ab4dde9b75aa4b79ae82b1
Signed-off-by: AnilKumar Chimata <anilc@codeaurora.org>
2020-05-11 10:27:22 -07:00
Swetha Chikkaboraiah
ec1563e3b6 defconfig: sdm : Add initial defconfig for SDM660
Add initial defconfig files for SDM660 platform.

Change-Id: Id95724e954c00259185fc7d3088a45c74695a67d
Signed-off-by: Swetha Chikkaboraiah <schikk@codeaurora.org>
2020-05-11 19:37:47 +05:30
Raghavendra Kakarla
7732a7ce3b soc: qcom: l2_reuse: update the name of the sysfs node
Update the name of the sysfs node to extended_cache_enable
for proper readability.

Change-Id: I11e16d7df72e863547dc6880b64a94fbca1c7413
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
2020-05-11 17:46:17 +05:30
Sarthak Garg
e0f896a523 mmc: block: Fix request completion in the CQE timeout path
First, it should be noted that the CQE timeout (60 seconds) is
substantial so a CQE request that times out is really stuck, and the
race between timeout and completion is extremely unlikely. Nevertheless
this patch fixes an issue with it.

Commit ad73d6fead ("mmc: complete requests from ->timeout")
preserved the existing functionality, to complete the request.
However that had only been necessary because the block layer
timeout handler had been marking the request to prevent it from being
completed normally. That restriction was removed at the same time, the
result being that a request that has gone will have been completed
anyway.
That is, the completion was unnecessary.

At the time, the unnecessary completion was harmless because the block
layer would ignore it, although that changed in kernel v5.0.

Change-Id: I8690c293afa280bb030d114008fb00df711417f8
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: ad73d6fead ("mmc: complete requests from ->timeout")
Cc: stable@vger.kernel.org
Git-commit: c077dc5e0620508a29497dac63a2822324ece52a
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git
Link: https://lore.kernel.org/r/20200508062227.23144-1-adrian.hunter@intel.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2020-05-11 13:54:30 +05:30
qctecmdr
1edb650f82 Merge "tmc-etr: Check if it is mode switch action during disable etr" 2020-05-10 23:56:58 -07:00
qctecmdr
ddaaa76def Merge "input: touchscreen: focaltech_touch: remove extra kernel print" 2020-05-10 23:56:57 -07:00
qctecmdr
ca89ca65e2 Merge "defconfig: add CONFIG_DM_ANDROID_VERITY_AT_MOST_ONCE_DEFAULT_ENABLED" 2020-05-10 23:56:57 -07:00
qctecmdr
8594b41638 Merge "defconfig: Enable default-key driver for bengal" 2020-05-10 23:56:57 -07:00
qctecmdr
097b3aec28 Merge "Use correct endianness for encryption keys" 2020-05-10 23:56:56 -07:00
qctecmdr
7d8300d875 Merge "msm: cvp: Re-initialize the HFI queue headers after CDSP-SSR" 2020-05-10 23:56:56 -07:00
qctecmdr
7a9a2676f8 Merge "msm: kgsl: Update GMU FW version for A619 GPU" 2020-05-10 23:56:56 -07:00
qctecmdr
f367c386f8 Merge "serial: msm_geni_serial: Enable IRQ from port startup" 2020-05-10 23:56:55 -07:00
qctecmdr
2fc23d9084 Merge "qcom: qpnp-fg-gen4: Continue fg_gen4_probe() when !DEBUG_FS" 2020-05-10 23:56:55 -07:00
qctecmdr
be823c1fa5 Merge "usb: f_qdss: Setting channel to NULL in qdss_close" 2020-05-10 23:56:55 -07:00
qctecmdr
d31eed005b Merge "drm/bridge: lt9611: disable hpd for lower firmware version" 2020-05-10 23:56:54 -07:00
Mohammed Siddiq
e9128a55d0 cnss2: Skip cnss probe failure if debugfs creation fails
Add code to skip cnss probe failure if debugfs creation
fails.Also create debugfs only for defconfig build as it
is evaluated that all debugfs nodes are not needed for
perf build today.

Change-Id: I2bb6231f7cae95a411017e8472184981e681867a
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2020-05-11 10:45:39 +05:30
Sahitya Tummala
e8708d9859 f2fs: fix long latency due to discard during umount
F2FS already has a default timeout of 5 secs for discards that
can be issued during umount, but it can take more than the 5 sec
timeout if the underlying UFS device queue is already full and there
are no more available free tags to be used. Fix this by submitting a
small batch of discard requests so that it won't cause the device
queue to be full at any time and thus doesn't incur its wait time
in the umount context.

Change-Id: Ib9669453795601e9e602c204aad31a5cb70688a4
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Git-commit: 141af6ba5216d4d49de683582b600d5c9b51792c
Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/
[stummala@codeaurora.org: Fix trivial merge conflicts]
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
2020-05-11 10:07:43 +05:30
Yuan Zhao
50358a5d4b drm/bridge: lt9611: disable hpd for lower firmware version
The firmware version which less than 0x40 did not support hpd,
so do not enable hpd for it.

Change-Id: Ic3567b42834fe060e494f859f007e7dc3657e7b7
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
2020-05-10 20:00:01 -07:00
qctecmdr
87aa051d46 Merge "soc: qcom: Add support to enable eud if enabled in xbl" 2020-05-10 17:38:54 -07:00
qctecmdr
859d3759c1 Merge "input: touchscreen: synaptics_tcm: Remove shutdown operation" 2020-05-10 17:38:54 -07:00
qctecmdr
d58b7c2135 Merge "msm: npu: Allow context switch after processing IPC message" 2020-05-10 17:38:53 -07:00
qctecmdr
a20fa993a1 Merge "msm: vidc: support setting enc_chroma_qp_offset" 2020-05-10 10:21:11 -07:00
qctecmdr
d943e35c11 Merge "cnss2: Add meta into as a segment to firmware RAM dump" 2020-05-10 10:21:11 -07:00
qctecmdr
5110546cad Merge "qdss_bridge: Add status check in usb_notifier" 2020-05-10 10:21:11 -07:00
qctecmdr
e7d02a7d2b Merge "power: smblite: Fix restoring the ICL in the thermal-regulation-loop" 2020-05-10 10:21:10 -07:00
Komal Bajaj
ea179d7123 soc: qcom: Add support to enable eud if enabled in xbl
If eud driver is enabled in xbl, there was a explicit need
to enable eud from hlos side also. This change enables eud
if eud_mode_manager2 register is set.

Change-Id: I72a8560a7fd8dfa4eaed7895bb423a867ab90e91
Signed-off-by: Komal Bajaj <kbajaj@codeaurora.org>
2020-05-10 10:06:34 -07:00
qctecmdr
f07e3cbb53 Merge "diag: Fix diag get msg mask for subid invalid case" 2020-05-09 10:15:05 -07:00