src and dst vbuf address and length are provided from userspace,
and they are invalid if vbuf address is NULL but length is not zero.
Add additional checks in qcedev_check_cipher_params to prevent it.
Change-Id: Iadc1a0c1c5b2f7a56acd03a23c08e45b5a671b19
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Update HDMI and Display port dais to support fractional sample
rates.
CRs-fixed: 1071528
Change-Id: I58bc07b00a793f9fb5ce68b2c223d552a3def7ee
Signed-off-by: Satish Babu Patakokila <sbpata@codeaurora.org>
Add the specific audio driver for SDE HDMI including
audio ACR and InfoFrame programming.
CRs-Fixed: 2010135
Change-Id: I24a76e4f41aad976d5215b68f6f7f00d1bbb3de0
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Upon cable disconnect, there is a possibility of USB LPM
before file-storage thread run to completion. This causes
ep dequeue to fail and results into thread to block for
ever. Prevent this situation by incrementing power usage
count on gadget parent upon ep enable and decrement it
upon ep disable and allow USB LPM after that.
Change-Id: Ic3633320de6ebef912bdaeac305b3dd0df3eb8e0
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
During recovery, there are cases where in WLAN driver running on
APPS can access CE register causing exceptions because of
hardware in reset state. Fix the issue by not resetting the
hardware in WLAN firmware during recovery but halt the CE and MAC
and reset the hardware only when reinitialization starts. For
this to work, platform driver needs to keep the clock and
regulator votes so that WLAN hardware will not go into weird
state because of not resetting it but cutting the resources.
CRs-fixed: 2011579
Change-Id: Ie61366b166f15f8d5927ad911089fc693a455319
Signed-off-by: Prashanth Bhatta <bhattap@codeaurora.org>
MHI clients permitted to reset channels asynchronous
to pending data. It's possible after channel reset
there are pending events for that particular channel.
Mark all those events as stale, such that MHI event
process thread will ignore them.
CRs-Fixed: 1074226
Change-Id: I86547aa2c5d7ad5095807cfe87378f5540c05a66
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
In order to support subsystem restart, and
link down recovery, redesign mhi power
management state machine.
CRs-Fixed: 1081654
Change-Id: I3005b829bfdea1d3e9f086676c446b62b5d30d0b
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
During slimbus shutdown process, registered codec
driver callback has been implemented in wrong seqeunce.
So, it causes audio data overflow and impact on next
audio streaming. To correct the sequence, slimbus port
disable routine should be performed when WCN codec shutdown
callback is called.
Change-Id: Id6ef22c34066adbb5b28bc31e605776c467bf03c
Signed-off-by: Sungjun Park <sjpark@codeaurora.org>
Eneable config ARM64_STRICT_BREAK_BEFORE_MAKE flag to detect
break-before-make violations in set_pte and print a warning.
Change-Id: I6401e447f5b2e4ddde666fe4f0a7ff7c01a32b44
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
The ARM ARM strongly recommends using break-before-make when updating
page table entries in the following circumstances:
* A change of the memory type.
* A change of the cacheability attributes.
* A change of the output address (OA), if the OA of at least one of
the old translation table entry and the new translation table entry
is writable.
This patch adds a debug option to the kernel so that we can detect
break-before-make violations in set_pte and print a warning.
Change-Id: I038fd175d880355419b0795bf9967efea767e681
Git-commit: 07eea9d556ab76995119f0d034cf5f8280be278f
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
There is chance of unwinding stack of other task
and that task may be executing on other CPU simultaneously.
If the other task which is getting unwind may be executing
on other cpu, KASAN warning would get printed due stack
changes. So disable kasan in unwind_frame while accessing
other stack frames.
Change-Id: I25107f44e102414cf36e50e0b215a207ae5462d1
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>