Commit graph

810699 commits

Author SHA1 Message Date
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
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
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
qctecmdr
736af44ab4 Merge "f2fs: Avoid double lock for cp_rwsem during checkpoint" 2020-05-09 10:15:05 -07:00
qctecmdr
6e82a26d42 Merge "defconfig: msm: Disable config NVMEM_SYSFS for kona" 2020-05-09 10:15:05 -07:00
qctecmdr
8f9c626f8e Merge "soc: qcom: dcc: Set transaction timeout for dcc linklist" 2020-05-09 10:15:04 -07:00
qctecmdr
9fcf454b49 Merge "coresight: tmc-etf: fix etf disable issue" 2020-05-09 10:15:04 -07:00
qctecmdr
74348a7940 Merge "mhi: dev: uci: Avoid resubmission of same buffer to MHI" 2020-05-09 10:15:03 -07:00
qctecmdr
052e50cd89 Merge "mhi: core: Read transfer length from an event properly" 2020-05-09 10:15:02 -07:00
qctecmdr
6d762abaac Merge "msm: ipa: fix hdr_addr usage" 2020-05-09 10:15:02 -07:00
Neeraj Soni
91bd11fa31 Use correct endianness for encryption keys
From ICE 3.0 onwards the keys are used in little endian format
but legacy ICE driver in trustzone reverses the endianness. So reverse
the endianness of keys before passing it to trusted ICE driver.

Change-Id: I5c343054526d43234d5ab1f072a199c6f4203e5a
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
2020-05-08 12:01:32 +05:30
Haseeb Khan
13625a8195 msm: cvp: Re-initialize the HFI queue headers after CDSP-SSR
The change is to fix hang issue after CDSP-SSR.

Change-Id: I98f2d959e5dc39def361570f2430157956a5edbb
Signed-off-by: Haseeb Khan <hkhan@codeaurora.org>
2020-05-08 11:20:29 +05:30
Pranav Patel
3cdefb3a9e msm: kgsl: add api to limit gpu fmax
Existing api returns failure when requested frequency
is larger than fmax supported. This creates problem to
clients as they consider this as error case. This
can be improved if api returns success when requested
frequency is larger than fmax supported because requested
limit frequency is larger than fmax device will never
go beyond that at all and clients can execute normally.

Change-Id: Id1077ca03019a61d7fd6fef8eccd605131b9c150
Signed-off-by: Pranav Patel <pranavp@codeaurora.org>
2020-05-08 11:15:28 +05:30
Tengfei Fan
8c82f2e68a defconfig: add CONFIG_DM_ANDROID_VERITY_AT_MOST_ONCE_DEFAULT_ENABLED
Add CONFIG_DM_ANDROID_VERITY_AT_MOST_ONCE_DEFAULT_ENABLED config support,
because this config is needed for go.

Change-Id: Ic6575acbdf09d8380aeb12cbd99b9fde35f4bf5d
Signed-off-by: Tengfei Fan <tengfeif@codeaurora.org>
2020-05-08 11:08:02 +08:00
Mao Jinlong
1c5afa6f55 qdss_bridge: Add status check in usb_notifier
Add status check in usb_notifier to avoid the exceptions.

Change-Id: I6f9f2fc66c0b26329153783dde2969ef60edc20a
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-05-08 10:45:39 +08:00
Mao Jinlong
28438a20f4 tmc-etr: Add ETR status check in usb_notifier
It is possible that notify call is called after etr is disabled or
after mode switch from usb to etr. Add etr status check to avoid
exception.

Change-Id: I4feb36df28b6fc059598af98b6fb9ccf698d3aaf
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-05-08 10:40:43 +08:00
Anirudh Ghayal
0f614a9e53 power: smblite: Fix restoring the ICL in the thermal-regulation-loop
Avoid decrementing ICL twice when we are above _UB threshold.
Also, increment back the ICL only when DIE_STATUS is 0 i.e when
we are below the _LB threshold.

Change-Id: I58027cb94500cf93eb42b44dcec9a5e68670b5e1
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2020-05-08 05:17:55 +05:30
Neeraj Soni
04e44d4f72 defconfig: Enable default-key driver for bengal
This flag is needed for Metadata encryption to work:
CONFIG_DM_DEFAULT_KEY=y.

Change-Id: Ia1c52c22a0a1c565dde1a827409444cdc4a66769
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
2020-05-07 11:23:53 -07:00
Jilai Wang
4647900d27 msm: npu: Allow context switch after processing IPC message
Some of the IPC message requires long processing time. If there
are multiple messages in the queue, driver will finish processing
all of them before user process can be waken up. This change is to
force context switch each time after processing each IPC message
to allow user process to have a chance to run.

Change-Id: I3cdebe074834d85f89bb42fd872ae4733b6a8510
Signed-off-by: Jilai Wang <jilaiw@codeaurora.org>
2020-05-07 11:33:58 -04:00
Ritesh Kumar
18d685b5c5 input: touchscreen: synaptics_tcm: Remove shutdown operation
Currently, in syna_tcm shutdown syna_tcm remove operations
are performed. If shutdown is called when resume is in
progress, it can lead to using of already freed memory in
resume function.

Change-Id: I8c226d0866e68ce6a6d22346a0678acc0cc09e46
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2020-05-07 06:56:16 -07:00
Chandana Kishori Chiluveru
a6a9f671fc serial: msm_geni_serial: Enable IRQ from port startup
uport->lock was first initialized in msm_geni_serial_probe() with IRQ
enabled and calling uart_add_one_port() API. Same uport->lock will
be re-initialized again from uart_add_one_port() context.

In issue case IRQ is getting fired in one core and acquiring uport-> lock,
at the same time uport->lock is getting re-initialized by serial_core.c
driver on other core and changing the lock owner value to initial value.
When msm_geni_serial_isr() trying unlock uport->lock it is checking for
owner value with initialized value and reporting kernel crash.

Fix this by setting NO_AUTO_ENABLE flag while IRQ registration in probe
and enable and disable the IRQ form port_open and port_close.

Also added changes in this patch to do not stop RX engine from
msm_geni_serial_poll_tx_done API. Currently driver sending
S_GENI_CMD_CANCEL instead of M_GENI_CMD_CANCEL to cancel TX.

Change-Id: I4077f07335f572f190f2f17eb6ee1bf99fe5f189
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2020-05-07 19:21:29 +05:30
Neeraj Soni
c9414e0f0f gen_header: add new fscrypt header file
Header file is added along with new FBE framework.

Change-Id: Iaff7b0408c3ee9f92264da0d145b3f761b551e16
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
2020-05-07 19:06:48 +05:30
Mao Jinlong
66548bfd91 tmc-etr: Check if it is mode switch action during disable etr
When switch mode with etr being enabled more than one time, it needs
to reset all the etr settings for previous mode instead of return busy.

Change-Id: I243a6d910bb3dd8ac9ca30dadbd1c6ab3cefd00f
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
2020-05-07 01:56:59 -07:00
Amir Levy
3e107213c5 msm: ipa: fix hdr_addr usage
Initialize hdr_addr before using it.


Change-Id: Id7e137942cb7512e0db9148fe837836643c2fde5
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2020-05-06 10:04:36 -07:00
qctecmdr
2735050236 Merge "input: touchscreen: nt36xxx: Check buffer size" 2020-05-06 06:31:44 -07:00
Fei Mao
5db4b9d4cf input: touchscreen: focaltech_touch: remove extra kernel print
Remove extra kernel print log.

Change-Id: I9b735c3f7bc106005ee78a4227de3616b3fde0dc
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-05-06 17:47:42 +08:00
qctecmdr
712cfaec4d Merge "defconfig: Enable new file encryption framework" 2020-05-05 23:33:46 -07:00
Prateek Sood
c182cb85f4 qcom: qpnp-fg-gen4: Continue fg_gen4_probe() when !DEBUG_FS
fg_gen4_probe() should not be dependent on DEBUG_FS
API's returning success. Continue device probe,
when DEBUG_FS is disabled.

Change-Id: Ibb01e00d4f6cc7982701e8dd2ac2cd51148a9aea
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2020-05-05 09:29:17 -07:00