Commit graph

898,864 commits

Author SHA1 Message Date
Sriharsha Allenki
b44f320fff pci: msm: Fix spinlock lockup during notify_client
Currently interrupts are not being disabled locally
when an event callback is being used.
This can lead to a scenario where we try to acquire
the same lock as part of global irq handler when
a client callback was in progress.

Fix this by disabling the interruts locally by using
a irqsave version of spinlock when an event callback
is being used.

Change-Id: I8a2eff826e24fb32c60bd5769390faa960669eb7
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2021-05-21 11:24:41 +05:30
qctecmdr
317d25c757 Merge "arm: defconfig: Enable PCI Express ASPM control driver" 2021-05-18 08:19:08 -07:00
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
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
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
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
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
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
Hemant Kumar
07b8db841b arm: defconfig: Enable PCI Express ASPM control driver
PCIE ASPM control driver is compliant to PCIE specification.
Hence use this driver in powersupersave mode.

Change-Id: I02f91836a26eb3d9af279c05352bef079b56217a
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2021-05-14 12:19:59 -07:00
qctecmdr
bc352de957 Merge "clk: qcom: gcc-blair: Add support for USB BCRs" 2021-05-14 10:11:01 -07:00
qctecmdr
67ca943684 Merge "usb: dt-bindings: Add USB QMP PHY registers definition" 2021-05-14 10:11:01 -07:00
qctecmdr
24c4201353 Merge "msm: kgsl: Fix spinlock recursion issues" 2021-05-14 10:11:00 -07:00
qctecmdr
53bb20e6d9 Merge "msm: kgsl: Fix overflow issue by checking user supplied count" 2021-05-14 10:11:00 -07:00
qctecmdr
c9f02a2e78 Merge "msm: kgsl: set regulator mode before disable it on a640/a680" 2021-05-14 10:10:59 -07:00
qctecmdr
1608d19644 Merge "serial: msm_geni_serial: Check for dev_port->is_console flag for cosole" 2021-05-14 10:10:59 -07:00