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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>