Commit graph

898,925 commits

Author SHA1 Message Date
qctecmdr
6a859fd96b Merge "hgsl: Fix possible array index out of bound issue" 2021-05-18 08:19:08 -07:00
qctecmdr
a7661113fb Merge "usb: dwc3: Handle race between remove_request and ep_dequeue" 2021-05-18 08:19:08 -07:00
qctecmdr
a82b79a740 Merge "drivers: scm: Add SCM call interface for SMMU-v3" 2021-05-18 08:19:07 -07:00
qctecmdr
83020f31f6 Merge "msm: kgsl: Correctly free up resources on error during probe" 2021-05-18 08:19:07 -07:00
qctecmdr
5a2eb49b12 Merge "msm: kgsl: Correctly check for room in context queue" 2021-05-18 08:19:06 -07:00
qctecmdr
cd029492c2 Merge "msm: kgsl: Add support for KGSL_PROP_VK_DEVICE_ID" 2021-05-18 08:19:06 -07:00
Chandana Kishori Chiluveru
1902b96d48 serial: msm_geni_serial: Add ioctl for sending uart error codes to BT host
Add changes in serial driver to update uart errors. When BT host
driver observes a fault in BT transfers this ioctl needs to be
called. On this ioctl call uart driver will return uart error
to BT host if there are any.

Change-Id: I741b017038b63f1a03aca2169c2190b94b95a15a
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
2021-05-18 19:15:21 +05:30
Mohammed Siddiq
c7bc0e3dd3 cnss2: Clear link down ind flag at the end of shutdown process
During driver unload or idle shutdown, link down may also happen,
which sets the link down ind flag, however once shutdown process
is complete, host driver expects the platform driver to return
false for subsequent is_firmware_down check on the next wifi On.
So clear the link down ind flag at the end of shutdown.

Change-Id: Ice9ace15aac16d7df55b8d9cb433755074e07b1f
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
2021-05-18 18:57:22 +05:30
Veera Vegivada
5e3a03ab85 arm: defconfig: Enable QUPv3 driver for direwolf platform
Enable I2C and SPI driver support for direwolf.

Change-Id: I129581caf5e900fd095caa0ede64d7ae0cbb78d4
Signed-off-by: Ashish Kori <akori@codeaurora.org>
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
2021-05-18 17:17:03 +05:30
qctecmdr
bebc15ab65 Merge "input: touchscreen: nt36xxx: Skip i2c tx during tui suspend" 2021-05-18 02:41:35 -07:00
qctecmdr
95469db40b Merge "cnss: Add cnss_get_restart_level() support" 2021-05-18 02:41:35 -07:00
qctecmdr
fe6f968954 Merge "msm: kgsl: Set snapshot_atomic only after passing all checks" 2021-05-18 02:41:34 -07:00
qctecmdr
a88b862cff Merge "input: qcom-hv-haptics: ensure valid pointer when calling kfree" 2021-05-18 02:41:34 -07:00
Sarthak Garg
b911fc0f40 mmc: sdhci-msm: Add wakeup functionality support for sdio cards
This adds external GPIO wakeup support to sdhci-msm driver
for sdio cards.

Also enables clk gating only in system Suspend/Resume for SDIO card.

Also add the below fixes from 4.9 kernel :

c363224b: Fix wakeup functionality for SDIO
61fc5bf6: Remove flag MMC_PM_WAKE_SDIO_IRQ in mmc_resume_host
a7a2a82e: Set sdio_pending_processing default state to false.

Change-Id: Id6b26e8861683ab12a2323214d7946377031d314
Signed-off-by: Sarthak Garg <sartgarg@codeaurora.org>
2021-05-18 13:55:22 +05:30
Vivek Kumar
6e8ffee45b drivers: scm: Add SCM call interface for SMMU-v3
Implement SCM calls interface to communicate with a
backend smmu-v3 driver in order to attach/detach a smmu
client and invalidate a tlb entry.

Change-Id: Ia7393e930161c9487aba93554465df407ca4fb3c
Signed-off-by: Vivek Kumar <vivekuma@codeaurora.org>
2021-05-18 11:18:00 +05:30
Kasin Li
761724af63 hgsl: Fix possible array index out of bound issue
To guarantee the array index is valid before use it

Change-Id: If1b37777b633edf66dad8a9f5323b042cc3b9012
Signed-off-by: Kasin Li <donglil@codeaurora.org>
Signed-off-by: Ya Tang <yatang@codeaurora.org>
2021-05-17 22:36:09 -07:00
qctecmdr
a170d4a18a Merge "usb: misc: nb7vpq904m: fix disconnect api" 2021-05-17 21:32:08 -07:00
qctecmdr
afeda22193 Merge "arm64: defconfig: Enable UFS controller for Direwolf" 2021-05-17 21:32:08 -07:00
qctecmdr
e1516b96e8 Merge "serial: msm_geni_serial: Do not check for uport->suspended flag for suspend" 2021-05-17 21:32:08 -07:00
qctecmdr
0a526d680d Merge "cnss2: Add retry in cnss_probe if bus init fail" 2021-05-17 21:32:07 -07:00
qctecmdr
8fc56df35d Merge "usb: gsi: Enable host remote-wakeup capability for GPS function" 2021-05-17 21:32:07 -07:00
qctecmdr
6dd76c0d99 Merge "input: touchscreen: nt36xxx: fix irq enable/disable sequence" 2021-05-17 21:32:06 -07:00
qctecmdr
b82fa6830e Merge "power: smb1351: Add configuration and detection support for QC3" 2021-05-17 21:32:06 -07:00
qctecmdr
c4f62dcc12 Merge "usb: dwc3: gadget: handle ep_dequeue in LPM properly" 2021-05-17 21:32:05 -07:00
qctecmdr
970def3203 Merge "usb: dwc3: ep0: Avoid ENDXFER if already done from end_control_data" 2021-05-17 21:32:05 -07:00
qctecmdr
5bf4bf245d Merge "msm: ipa3: EoGRE feature" 2021-05-17 21:32:05 -07:00
qctecmdr
695ec32a42 Merge "msm: pil: bootkpi: Add conditional boot marker for modem" 2021-05-17 21:32:04 -07:00
qctecmdr
500d03f98f Merge "dt-bindings: clock: update dt-bindings for QCS404" 2021-05-17 21:32:04 -07:00
qctecmdr
6a033a59f6 Merge "clk: qcom: qcs405: define vdd_levels enum and vdd_corner[] map" 2021-05-17 21:32:04 -07:00
qctecmdr
7cdfcf81ac Merge "usb: f_gsi: Reset RMNET IN endpoint related num_buf and buf_len" 2021-05-17 21:32:03 -07:00
Mayank Rana
f356d43bcf usb: f_gsi: Reset RMNET IN endpoint related num_buf and buf_len
With support to move between LLCC TCM and DDR memory for USB RMNET
IN endpoint related data buffer, it is required to reset RMNET IN
endpoint related num_buf and buf_len while going from LLCC TCM memory
usage to DDR memory otherwise number of buffer and length remains same
as LLCC TCM based configuration.

Change-Id: Idc0aab865bd26a9824c116762be4a2a1ec89e919
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2021-05-17 13:22:42 -07:00
Gauri Joshi
4e0554f1b3 msm: mhi-dev: Block the adb read when mhi is in suspend
Adb client on device expects a blocking read from mhi. While mhi
is in suspend, it is returning with an error value. This is
causing the adb client to spawn every 1ms causing error code to
flood the serial logs. If mhi is in suspend and adb client tries
to poll for data, remove the read request from the list to block
the read.

Change-Id: Idaa70568cbddaf6b99fb5c6722a4da594d3e066d
Signed-off-by: Gauri Joshi <gaurjosh@codeaurora.org>
2021-05-17 10:44:37 -07:00
Perry Randise
978a822178 msm: ipa3: EoGRE feature
Ethernet VLAN frames are now encapsulated in IP/GRE on uplink,
while IP/GRE headers are stripped on downlink.

Change-Id: I8f8820abf390815ed1f4a3a81bf1943a1fecf310
Signed-off-by: Perry Randise <prandise@codeaurora.org>
2021-05-17 08:11:22 -07:00
Ritesh Kumar
a854851588 input: touchscreen: nt36xxx: Skip i2c tx during tui suspend
During suspend while trusted touch is active, remove wait
for trusted touch to complete and skip i2c transfer. This
avoids delay during suspend.

Change-Id: Iec6b1eed86e841343d4ca3513f32fb892911b7d7
Signed-off-by: Ritesh Kumar <riteshk@codeaurora.org>
2021-05-17 19:40:19 +05:30
Kavya Nunna
a0dfad4393 power: smb1351: Add configuration and detection support for QC3
Add changes required for QC3, when QC3 is detected,
smb1351 make requests for voltages in steps of 200mv.

Change-Id: I603f6515c7529913dcff103939018e2bdc61c45d
Signed-off-by: Kavya Nunna <knunna@codeaurora.org>
2021-05-17 17:32:04 +05:30
Kamal Agrawal
c48b3b5ef2 msm: kgsl: Enable CONFIG_QCOM_KGSL_CONTEXT_DEBUG for context debugging
Enable CONFIG_QCOM_KGSL_CONTEXT_DEBUG to get more information for
context leak debugging.

Change-Id: I4646b7cf3ff4e7752697736f5cbc5c2a05e45947
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
2021-05-17 03:14:37 -07:00
Veera Vegivada
2690f4ba2a arm64: defconfig: Enable UFS controller for Direwolf
Add support for UFS controller and phy driver.

Change-Id: Ic99e8a4d245cecc9e927a14e4822fa2e61ff5408
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Signed-off-by: Anjana Hari <ahari@codeaurora.org>
2021-05-17 13:31:39 +05:30
Pratham Pratap
a3a1c2728b usb: gsi: Enable host remote-wakeup capability for GPS function
Currently the driver is not setting is_suspended flag for
GPS function which is leading to remote wakeup failure for
host. Also clear rwake_inprogress flag in gsi_resume before
bailing out early for GPS function so that driver can
successfully do remote-wakeup for the functions that support
this feature.

Change-Id: I73f06c8f7b128636d0421139d068c05488d2ff06
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2021-05-17 10:26:33 +05:30
Santosh Dronamraju
0b6762f7e2 crypto-qti-virt: Add null check
Add null check condition before accessing pointer.

Change-Id: I6dadcb31a4b52e6f312171e82e1a02523566bfe5
Signed-off-by: Santosh Dronamraju <sdronamr@codeaurora.org>
2021-05-17 10:04:06 +05:30
Jingxiang Ge
159ba19b2f cnss2: Add retry in cnss_probe if bus init fail
Sometimes cnss probe fails as pcie link training
failure, This change will retry power on + pcie link
training.

Change-Id: I3eb12efe39b3a34b86e6cc97152d7e1615cc6266
Signed-off-by: Jingxiang Ge <jge@codeaurora.org>
2021-05-16 19:20:37 -07:00
Will Huang
e67e76d6d1 cnss: Add cnss_get_restart_level() support
WLAN host driver requires this API to get SSR state, avoid doing
ramdump when SSR happen and quick restart WLAN subsys.

Add back subsys_get_restart_level() support and fix return -EIVAL
in cnss_put_hw_resources().

Change-Id: I902d81b5693ab76028ed7e97183e07ea970930c1
CRs-Fixed: 2945893
Signed-off-by: Will Huang <wilhuang@codeaurora.org>
2021-05-17 09:56:11 +08:00
Hui Liu
8ce676ad5c power: qcom: qbg: update OCV boost compensation into SDAM
Add boost headroom compensation on valid OCV value
and set it into SDAM to enable charger-boost to
operate optimally.

Change-Id: Iae66525b6899368061baeb50530c9c61488b5e2c
Signed-off-by: Hui Liu <huliu@codeaurora.org>
2021-05-17 09:37:35 +08:00
Piyush Dhyani
37cb38ef4c msm: ipa3: Add new ep to measure Modem Throughput
Adding new ep consumer client to meaure Modem
throughput.

Change-Id: I6fd3e80713f1d632323430a9339e510f05622875
Signed-off-by: Piyush Dhyani <pdhyani@codeaurora.org>
2021-05-16 10:34:18 -07:00
Jishnu Prakash
5441b6ac89 backlight: qcom-spmi-wled: Update CABC disable sequence for PM7325B WLED
Update CABC disable sequence for PM7325B WLED to improve low
dimming flicker.

Change-Id: Iba55f17c16f35c084477f5871fe2acd265a913fb
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
2021-05-16 10:17:13 +05:30
qctecmdr
c30dc7b7b1 Merge "input: touchscreen: nt36xxx: Avoid i2c transfer in LA during TUI" 2021-05-15 21:43:07 -07:00
qctecmdr
9c99fae3fd Merge "cnss2: Sending host feature list to FW" 2021-05-15 05:13:58 -07:00
Kamal Agrawal
dc16f70deb
msm: kgsl: Correctly free up resources on error during probe
Correctly free up resources on error during probe.

Change-Id: Ia094bfd5694d580735000d2807a30f597f06f4e5
Signed-off-by: Kamal Agrawal <kamaagra@codeaurora.org>
2021-05-15 13:45:40 +05:30
qctecmdr
0954067451 Merge "cnss2: add support to advertise MLO host capabilities" 2021-05-14 23:44:28 -07:00
qctecmdr
9e25df37c6 Merge "cnss2: Move power on and bus init to the end of platform probe call" 2021-05-14 23:44:28 -07:00
qctecmdr
94b8259558 Merge "arm64: defconfig: Enable devmem" 2021-05-14 23:44:27 -07:00