Commit graph

810749 commits

Author SHA1 Message Date
Jasleen Kalsi
d5e60957c4 taskstats: extended taskstats2 with acct fields
Add basic accounting stats in taskstats2 struct

Change-Id: Ieb5aa751381f889628eba143db3988a56ef0f096
Signed-off-by: Jasleen Kalsi <jkalsi@codeaurora.org>
2020-05-13 22:59:08 -07:00
qctecmdr
e244549a49 Merge "diag: dci: Synchronize dci mempool buffers alloc and free" 2020-05-13 16:13:12 -07:00
qctecmdr
027f5fad55 Merge "icnss: icnss object file name change to compile as dlkm" 2020-05-13 16:13:12 -07:00
qctecmdr
78ce2be8d8 Merge "radio: RTC6226: add support to scan valid lower freq channel" 2020-05-13 16:13:11 -07:00
qctecmdr
6f0f3aecaf Merge "radio: RTC6226: post original tune event after scan complete" 2020-05-13 11:32:55 -07:00
qctecmdr
499bd6cef8 Merge "usb: qusb: Keep regulators on in probe if EUD is enabled" 2020-05-13 11:32:55 -07:00
qctecmdr
959148e2ee Merge "mmc: host: Add gpio support for mask & match debug feature" 2020-05-13 11:32:55 -07:00
qctecmdr
3a254cd9a5 Merge "cnss2: add check if wlan driver supported device existing" 2020-05-13 11:32:54 -07:00
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
Kai Liu
00eb95ff1d cnss2: add check if wlan driver supported device existing
In QC platform, PCIe device is enumerated when system boot up,
cnss platform driver should reject wlan driver whose supported
PCIe device isn't existing.

CRs-Fixed: 2647082
Change-Id: Ie6579d1ed34de2c183f9ce2d411a02d6c8137da5
Signed-off-by: Kai Liu <kaliu@codeaurora.org>
2020-05-12 11:34:15 -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
himta ram
c6d7aef297 radio: RTC6226: add support to scan valid lower freq channel
Existing scan logic will start repetitive seek
from lower freq and stops when band limit reached,
with this logic valid lower band is always ignored.
Seek one more time one band limit reached to check
if lower freq channel is valid.

CRs-Fixed: 2683848
Change-Id: I0b2608b544e0402298d1dfdc1bef96ff8ca64123
Signed-off-by: himta ram <hram@codeaurora.org>
2020-05-11 22:20:46 -07:00
himta ram
c0af8b864b radio: RTC6226: post original tune event after scan complete
If FM is tuned to invalid freq and scan performed then invalid
freq also included in scan list. Post the tune event with
original frequency after the scan complete event posted to
user space to avoid the invalid tuned freq in scan list.

CRs-Fixed: 2681008
Change-Id: I8ac3b43742a4f92272fc5b0283fabcad2e04de5b
Signed-off-by: himta ram <hram@codeaurora.org>
2020-05-11 21:46:40 -07:00
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
Sriharsha Allenki
bbc307e8f5 usb: qusb: Keep regulators on in probe if EUD is enabled
EUD may be enabled in boot loader and to keep EUD session
alive across kernel boot till USB phy driver is initialized
based on cable status, keep regulators on from USB high speed
phy driver's probe. Regulators shall get turn off while
handling USB cable disconnect routine for both boot up with
and without USB cable case.

Change-Id: I7ebdc0237d7db3e45b61a57264a5564bfa01ed1c
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-05-11 07:07:27 -07:00
Sriharsha Allenki
e24d06145e usb: qusb: Do not disable PHY resources upon spoof disconnect
The PMIC firmware is no more enabling the resources required
for the PHY for the EUD usecase.
So, if the required resources for the PHY are turned off
as part of spoof disconnect the EUD fails to work.
Fix this by keeping the PHY resources enabled as part
of spoof disconnect.

Change-Id: I2ee734eec0c78b062d2e0726e9efa5a88db8c02d
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2020-05-11 19:35:41 +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
Ram Prakash Gupta
ad39ad449e mmc: host: Add gpio support for mask & match debug feature
Add gpio support for mask & match debug feature.

Change-Id: I61b464cb86faafdc1daff7839ccc20c6b695ba8b
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-05-11 15:44:15 +05:30
Ram Prakash Gupta
2f081dc11e mmc: sdhci-msm: Add sysfs support for mask and match
Add sysfs support for mask and match.

Change-Id: If4581087e9479f3cff2f23121eae1153bd9c5ccf
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-05-11 15:44:06 +05:30
Ram Prakash Gupta
07dc933d14 mmc: sdhci-msm: Add mask & match debug feature
Add mask & match debug feature.

Change-Id: I825145ba623f4f182114f0540107675c8b6df478
Signed-off-by: Ram Prakash Gupta <rampraka@codeaurora.org>
2020-05-11 15:03:02 +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