Commit graph

810749 commits

Author SHA1 Message Date
qctecmdr
14129a8c62 Merge "input: touchscreen: synaptics_tcm: Fix touch suspend check" 2020-04-22 22:25:52 -07:00
qctecmdr
e493453bc2 Merge "msm: ipa3: Fix to reset TX/RX prop with correct size" 2020-04-22 22:25:51 -07:00
qctecmdr
e24016ec95 Merge "diag: Update new diag logging codes" 2020-04-22 22:25:51 -07:00
qctecmdr
948b05ef9b Merge "msm: ipa3: Fix to use the msecs_to_jiffies" 2020-04-22 22:25:50 -07:00
qctecmdr
eb8815c7f9 Merge "i3c: i3c-master-qcom-geni: Support for i3c hot-join feature" 2020-04-22 22:25:50 -07:00
qctecmdr
680025557a Merge "msm: kgsl: Fix preemption fault handling for A6xx GPU" 2020-04-22 22:25:49 -07:00
Naveen Yadav
0848e8bfaf clk: qcom: gpucc-scuba: Configure gpu_cc_gx_cxo_clk to be always-on
The gpu_cc_gx_cxo_clk required to be always on, so add the
CLK_IS_CRITICAL flag for to keep it enabled at all times.

Change-Id: Icf4574ff0c805108dff826bdf2174b87a661f773
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-04-23 10:38:57 +05:30
Manikandan Mohan
b9e9722d05 cnss2: Add SRAM dump in pci dump collection
Add SRAM dump in PCI dump collection on crash shutdown
path.

Change-Id: I976f2f2883eb1dfcca180228137382aa14146084
Signed-off-by: Manikandan Mohan <manikand@codeaurora.org>
2020-04-22 19:09:36 -07:00
qctecmdr
acb82b4c55 Merge "usb: phy: qusb: Drive a pulse on DP on CDP detection" 2020-04-22 12:01:43 -07:00
qctecmdr
8dd1171edc Merge "usb: gsi: Add NULL pointer check" 2020-04-22 12:01:43 -07:00
qctecmdr
be16e2a275 Merge "msm: kgsl: Restart a6xx gpu only once" 2020-04-22 12:01:42 -07:00
qctecmdr
b42fd7b093 Merge "msm: kgsl: Take GMU snapshot on GMU failures" 2020-04-22 12:01:42 -07:00
qctecmdr
334e5c25fd Merge "msm: kgsl: Correctly handle CP_INIT failure" 2020-04-22 12:01:42 -07:00
qctecmdr
f9ea5f717a Merge "msm: kgsl: Correctly handle gmu fault interrupts" 2020-04-22 12:01:41 -07:00
qctecmdr
1532616d36 Merge "power: smb5-lib: Report charger detection status" 2020-04-22 12:01:41 -07:00
qctecmdr
fd0b6a6b50 Merge "smcinvoke : Add locking to shared variables" 2020-04-22 12:01:41 -07:00
qctecmdr
945dfea5ad Merge "msm: adsprpc: store process specific info in GETINFO ioctl call" 2020-04-22 12:01:40 -07:00
Puranam V G Tejaswi
7aed10af7a msm: kgsl: enable preemption for A702
Set the bit ADRENO_PREEMPTION in adreno core features
to enable preemption for A702.

Change-Id: If750b2bf607576615a93e85c23d8173891b8018f
Signed-off-by: Puranam V G Tejaswi <pvgtejas@codeaurora.org>
2020-04-22 22:52:50 +05:30
Tao,Zhang
fa873a02d5 soc: qcom: dcc: Set transaction timeout for dcc linklist
Set transaction timeout to 0x3F for dcc linklist while enabling
dcc hw.

Change-Id: Icb5bc63840d2bb34fc97c87abdc622e81d5c033f
Signed-off-by: Tao,Zhang <taozha@codeaurora.org>
2020-04-22 21:54:42 +08:00
Anmolpreet Kaur
6381aa9a60 smcinvoke : Add locking to shared variables
This change adds locking to shared variables to
prevent any data race conditions. cb_reqs_inflight
and server_info should both be protected under locks.

Change-Id: I3475ab3208c2fc91fce2865d64626efdcd404e70
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
2020-04-22 17:45:32 +05:30
Naveen Yadav
9e11609d74 clk: qcom: debugcc-scuba: Update GCC debug mux parent list
Add the mc_cc debug mux to the parent list of GCC mux to
enable measure support for measure_only_mccc_clk.

Change-Id: Ie65ffae9d110ef60eb97b466c06f9361b25a5e4d
Signed-off-by: Naveen Yadav <naveenky@codeaurora.org>
2020-04-22 17:38:50 +05:30
Fei Mao
23835584ab input: touchscreen: nt36xxx: Disable WAKEUP_GESTURE
Disable an unnecessary touch feature by default;
Do more cleanings when failed.

Change-Id: I8bbe627847183a2585c36a18088953e61bb12fe0
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2020-04-22 18:54:10 +08:00
Anirudh Ghayal
a464fee194 mfd: qcom-i2c-pmic: Toggle STAT pin at init
Logic to toggle STAT pin during init.

Change-Id: I269b0be18b56d56c0ab0e68ee1d7194d09824dd5
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2020-04-22 16:14:35 +05:30
Anirudh Ghayal
a77887a300 power: smb5-lib: Report charger detection status
Use the CHARGER_STATUS to report the charger-detection status
and INPUT_VOLTAGE_SETTLED to report input voltage, reading them
from SDAM.

While at it, clear the SMB_EN for CP in the shutdown path
to prevent SMB from being enabled in the next boot.

Change-Id: I269b0be18b56d56c0ab0e68ee1d7194d09824dd7
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2020-04-22 16:12:18 +05:30
Mohammed Nayeem Ur Rahman
4ec2c79dff adsprpc: Validate fds pointer before de-referencing it
Validate fds pointer before de-referencing it.

Change-Id: I31c84e99a228da0b2bde322714acd2a6e29026c6
Acked-by: Maitreyi Gupta <maitreyi@qti.qualcomm.com>
Signed-off-by: Mohammed Nayeem Ur Rahman <mohara@codeaurora.org>
2020-04-22 02:14:05 -07:00
Yuanfang Zhang
f42b58ad33 coresight: tmc-etr: fix etr smmu unmap issue
The return value 0 of dma_map_resource() is valid, so should use
the dma_mapping_error() to check for errors.

Change-Id: I368f480ed66bad0498e38da2fc6baa78b5935d7f
Signed-off-by: Yuanfang Zhang <zhangyuanfang@codeaurora.org>
2020-04-22 16:57:36 +08:00
Edgar Flores
85b5909f71 msm: adsprpc: store process specific info in GETINFO ioctl call
Currently, process specific info like name and PID is being stored
in the internal data structures at the time of device open. But
since the DSP HAL service will now be opening the device node on
behalf of third-party applications, store process specific info in
GETINFO ioctl call which will be the first IOCTL call directly
from the client application.

Change-Id: If05d48123e4ec52c0271a7cb7f3ca790662d9abe
Acked-by: Thyagarajan Venkatanarayanan <venkatan@qti.qualcomm.com>
Signed-off-by: Edgar Flores <edgarf@codeaurora.org>
Signed-off-by: Himateja Reddy <hmreddy@codeaurora.org>
2020-04-22 12:03:47 +05:30
qctecmdr
e154c6caee Merge "cnss2: Update WLFW QMI messages to latest" 2020-04-21 21:43:57 -07:00
qctecmdr
feda1cb617 Merge "cnss2: update firmware name for QCA6490 rev.2.0" 2020-04-21 21:43:56 -07:00
Yue Ma
0852eba3a6 cnss2: Update WLFW QMI messages to latest
Update WLFW QMI messages to latest to avoid merge conflicts later.

Change-Id: I39460e385fe49c64ee5eca3a910a3e0d1a08b0b2
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2020-04-21 14:51:14 -07:00
qctecmdr
c71e92bf54 Merge "cnss2: Serialize driver load and unload" 2020-04-21 12:10:43 -07:00
qctecmdr
a3cb4c8d39 Merge "sched: fair: Fix !SCHED_WALT compilation issue" 2020-04-21 12:10:43 -07:00
qctecmdr
fe3a7b3064 Merge "sched/walt: Improve the scheduler" 2020-04-21 12:10:42 -07:00
qctecmdr
296d829202 Merge "serial: msm_geni_serial: Initialize 'ret' with zero" 2020-04-21 12:10:42 -07:00
qctecmdr
ce2130b377 Merge "coresight: tmc: Set flush cti for both etr and etb" 2020-04-21 12:10:42 -07:00
qctecmdr
736202670d Merge "serial: msm_geni_serial: Disable irq only for HSUART usecase" 2020-04-21 12:10:42 -07:00
qctecmdr
7b26d378ea Merge "dwc3-msm: Map IPA GSI channel doorbell register for different UDC core" 2020-04-21 12:10:41 -07:00
qctecmdr
ec41f18a6d Merge "icnss: serialize the driver remove in modem graceful shutdown" 2020-04-21 12:10:40 -07:00
qctecmdr
48eb5610bd Merge "sched: Improve the scheduler" 2020-04-21 12:10:40 -07:00
qctecmdr
c6608064b7 Merge "icnss: Release qmi handle on qmi server exit" 2020-04-21 12:10:40 -07:00
qctecmdr
779c2b7fab Merge "power: power-supply: Add POWER_SUPPLY_PROP_CHARGER_STATUS property" 2020-04-21 12:10:39 -07:00
Pratham Pratap
51459fc189 dwc3: Handle USB spoof disconnect when EUD is enabled
Due to dpdm regulator is not being used on newer platform as
ADSP firmware takes care of charger detection, there is no
way to detect USB cable disconnect vs USB spoof disconnect
when EUD is enabled. This change identifies USB spoof
disconnect and provides spoof disconnect related information
to USB PHY driver to avoid turning off PHY clocks and regulators.

Change-Id: I8f6b953e7196378b9786fe268a08cc1a0e2620d3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2020-04-21 11:32:09 -07:00
Ritesh Kumar
1001359232 input: touchscreen: synaptics_tcm: Fix touch suspend check
Fix touch suspend check to perform resume operations only
when touch is in suspend state.

Change-Id: I3311aa694703326d84b2bab9acbafcaba532b6ec
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2020-04-21 11:27:20 -07:00
Akhil P Oommen
56f3c7a20d msm: kgsl: Fix preemption fault handling for A6xx GPU
In preemption fault handler, check only the STOP bit of
ADRENO_REG_CP_PREEMPT register to see if the preemption is complete.

Change-Id: Id1f2d0947412e996d6028558124c3e528527cec6
Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Sebanti Das <sebadas@codeaurora.org>
2020-04-21 23:01:07 +05:30
Subramanian Ananthanarayanan
89f250c24a i3c: i3c-master-qcom-geni: Support for 3.4 Mhz,400 Khz
The change involes support for 3.4 Mhz and modified clk values for 400 Khz
to support NFC enumeration. Also changed open drain frequency to be used
from i2c clk freq passed from DTSI.

Change-Id: Ibba2416dab09c958b31779857aad5fe8dd753773
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
2020-04-21 19:39:36 +05:30
Subramanian Ananthanarayanan
029f84ed4a i3c: i3c-master-qcom-geni: Support for i3c hot-join feature
This change is to support bus enumeration through hot-join request.

Change-Id: I4639aeea861e3c48617096de4790e2bde46ce0da
Signed-off-by: Subramanian Ananthanarayanan <skananth@codeaurora.org>
2020-04-21 19:36:13 +05:30
Krishna Manikandan
b822c76294 Revert "defconfig: enable framebuffer console for kona"
This reverts commit 9a514e3f10.

Change-Id: I839c6c6a64f7ce653ac8e840be55fb3834b6cd1d
Signed-off-by: Krishna Manikandan <mkrishn@codeaurora.org>
2020-04-21 19:26:01 +05:30
Blagovest Kolenichev
f260ed2a4e File and metadata encryption changes from android-4.19.96-107
Added required changes to fit properly android-4.19.79-95
crypto content into msm-4.19 branch. Modifications in
abi_gki_aarch64.xml are discarded completely. The order of
applying is bottom to top:

1f876610fe ANDROID: dm: Add wrapped key support in dm-default-key
b785dbcb87 ANDROID: dm: add support for passing through derive_raw_secret
66b3c81270 ANDROID: block: Prevent crypto fallback for wrapped keys
36500bffb9 fscrypt: support passing a keyring key to FS_IOC_ADD_ENCRYPTION_KEY
b32863f17f ANDROID: dm: add dm-default-key target for metadata encryption
94706caf62 ANDROID: dm: enable may_passthrough_inline_crypto on some targets
44e1174c18 ANDROID: dm: add support for passing through inline crypto support
e65d08ae68 ANDROID: block: Introduce passthrough keyslot manager
8f48f6657d ANDROID: ext4, f2fs: enable direct I/O with inline encryption
bbee78199f FROMLIST: scsi: ufs: add program_key() variant op
0f1c72a2f5 ANDROID: block: export symbols needed for modules to use inline crypto
35b62551b9 ANDROID: block: fix some inline crypto bugs
23b81578bf ANDROID: fscrypt: add support for hardware-wrapped keys
a076eebee0 ANDROID: block: add KSM op to derive software secret from wrapped key
3e8c41805f ANDROID: block: provide key size as input to inline crypto APIs
bb7f6203fb ANDROID: ufshcd-crypto: export cap find API
b01c73ea71 BACKPORT: FROMLIST: Update Inline Encryption from v5 to v6 of patch series

Change-Id: Ic741913aa478500da94a52eace02bb9192e581b9
Git-repo: https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
2020-04-21 06:19:04 -07:00
Mohammed Siddiq
30c9755b87 icnss: Release qmi handle on qmi server exit
This changes release qmi handle and registers again
to qmi service for wlan server notifications.

Change-Id: I0a20622ec308778c9be2d66ff829f4b6ee841e92
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2020-04-21 13:41:06 +05:30
Mohammed Siddiq
d7a81cf92e icnss: serialize the driver remove in modem graceful shutdown
Add code to post unregister driver event during modem
graceful shutdown instead of directly calling driver
remove.

Change-Id: Ie8b7699bf4e9e346279feede68022cda20f93a69
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2020-04-21 00:23:31 -07:00