Commit graph

810685 commits

Author SHA1 Message Date
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
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
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
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
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
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
Ravikanth Tuniki
3ed2c0c060 input: touchscreen: nt36xxx: Check buffer size
Correct buffer size by adding sizeof() to avoid buffer
overflow.

Change-Id: I82b23b7446f90fc4cf94ef3189a5eeeac4366676
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
2020-05-05 17:19:53 +05:30
qctecmdr
d9967768c6 Merge "mm: page_alloc: Add u64 typecast to memblock_dbg call in free_reserved_area" 2020-05-05 01:29:17 -07:00
qctecmdr
1d9983cb68 Merge "msm: ipa3: Correctly return error for ipa3_mdfy_flt_rule" 2020-05-05 01:29:17 -07:00
Prateek Sood
894cd443c8 defconfig: msm: Disable config NVMEM_SYSFS for kona
This change disables the sysfs nvmem entry by default
for kona SoC.

Change-Id: I47e11471a22fe97330ed05133b80f29979ffc610
Signed-off-by: Prateek Sood <prsood@codeaurora.org>
2020-05-05 00:06:00 -07:00
Michael Adisumarta
c65c7b191f msm: ipa3: Correctly return error for ipa3_mdfy_flt_rule
Return the right error in internal mdfy_flt_rule for
better IPACM debugability and update the status last
after the modify in and out.

Change-Id: Id872cd8fcea9816d13a20a4cf71c47311897aa9d
Signed-off-by: Michael Adisumarta <madisuma@codeaurora.org>
2020-05-04 18:52:11 -07:00
qctecmdr
f2f1713c5e Merge "bluetooth: Update the ioctl code" 2020-05-04 14:52:26 -07:00
qctecmdr
66cb48ec7f Merge "msm: kgsl: Fix snapshot collection after preempt trigger failure" 2020-05-04 11:32:37 -07:00
Umesh Vats
f034c87108 bluetooth: Update the ioctl code
Updated the ioctl code for getting value of reset gpio
as it conflicts with  get chipset id ioctl code.

Change-Id: I0c8512be891f31cc398c3246cf8a2b143367ab96
Signed-off-by: Umesh Vats <uvats@codeaurora.org>
2020-05-04 10:48:20 -07:00
qctecmdr
5307152dd0 Merge "Add support for Moselle SoC (WCN6750)" 2020-05-04 08:06:32 -07:00
qctecmdr
414c6e6bdf Merge "dwc3-msm: Increment req->num_trbs on queueing TRB" 2020-05-04 08:06:31 -07:00
qctecmdr
24c426b859 Merge "msm: ipa: warn if header type isn't compatible with mode" 2020-05-04 08:06:31 -07:00
qctecmdr
239e971ab6 Merge "clk: qcom: debugcc-scuba: Remove clocks from debug mux" 2020-05-04 08:06:31 -07:00
qctecmdr
0e2f4e8ed0 Merge "leds: qti-flash: Add support for bharger flash" 2020-05-04 08:06:30 -07:00