Commit graph

898,842 commits

Author SHA1 Message Date
Jeya R
2ef6692192 msm: adsprpc: Handle out-of-bounds read in debugfs
Removed fixing the Title size which may not terminate
the NULL character end of Title. And, this would fix the
possible out-of-bounds read when reading debug-fs.

Change-Id: Ib3ff2b0106a25232c7a766baaaaca5bd9d306533
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
2021-05-18 09:19:02 -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
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
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
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
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
qctecmdr
6513b8e391 Merge "msm: kgsl: Fix black screen when enabled protected context on A680" 2021-05-14 10:10:59 -07:00
qctecmdr
daa038186f Merge "usb: xhci: Avoid calling wakeup_enable without set_wakeup_capable" 2021-05-14 10:10:58 -07:00
qctecmdr
7cab85a033 Merge "defconfig: sdmsteppeauto: Add flags to see wakeup inturrupt during LPM" 2021-05-14 09:39:22 -07:00
qctecmdr
97f97fed5e Merge "cnss2: Add pci link recovery check after the register dumps" 2021-05-14 09:39:21 -07:00
qctecmdr
3de00e0bc4 Merge "usb: dwc3-msm: Add markers for peripheral bus resume" 2021-05-14 09:39:21 -07:00
qctecmdr
d0ce056b72 Merge "drivers: uart: initialize spin_lock before use" 2021-05-14 09:39:21 -07:00
qctecmdr
a67908f7ac Merge "defconfig: Add CONFIG_DEBUG_INFO for sdx12" 2021-05-14 09:39:20 -07:00
qctecmdr
3a9c7c52e7 Merge "soc: qcom: ddr_stats: API to read ddr residency" 2021-05-14 09:39:20 -07:00
qctecmdr
44fc2c8005 Merge "soc: qcom: hab: Add HAB fixes, and workarounds, for GHS" 2021-05-14 09:39:20 -07:00
qctecmdr
ea045f5208 Merge "dt-bindings: clock: Add support for clock ids for SCUBA" 2021-05-14 09:39:19 -07:00
qctecmdr
5af89e546a Merge "cnss2: Add code to print return value of BDF download failure" 2021-05-14 09:39:19 -07:00
qctecmdr
720bd5fe2a Merge "arm64: Kconfig: Add config option ARCH_SA2150P" 2021-05-14 09:39:19 -07:00
qctecmdr
c274e5f062 Merge "STMMAC: msm: Add io macro setting for 10Mpbs" 2021-05-14 09:39:18 -07:00
qctecmdr
df52b0feef Merge "defconfig: Compile icnss2 as part of vmlinux in monaco" 2021-05-14 09:39:18 -07:00
Linyu Yuan
54060b2bc8 usb: misc: nb7vpq904m: fix disconnect api
if failed to stop active transfer in USB gadget mode,
currently gadget state will change to disconnect mode,
redriver will change to disable mode when usb call redriver disconnect,
it can't enable again if there is no new adsp notification,
usb super speed will not work again.

it should not change redriver mode to disable, but it can only write
register to disable and keep current software mode.

Change-Id: I3b8aa4140482564948bc8e25c4ef2532f4e641fa
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
2021-05-14 12:50:58 +08:00
Yue Ma
a7ed86496f cnss2: Move power on and bus init to the end of platform probe call
Device power on and bus init should happen when all platform related
init are done since it means all platform configs are ready and it is
good to bring up device. Hence move them to the end of platform probe
call.

Change-Id: I22a69be4a25de6f8c45994dca23f6f631fd1474f
Signed-off-by: Yue Ma <yuem@codeaurora.org>
2021-05-13 10:44:20 -07:00
Ravikanth Tuniki
da05beeacd input: touchscreen: nt36xxx: Avoid i2c transfer in LA during TUI
Synchronize Touch Interrupt and TUI Enable Session to avoid I2C Transfer.

Change-Id: I44d6819316717bf0ed4b6bff6601a7749a97b921
Signed-off-by: Ravikanth Tuniki <rtunik@codeaurora.org>
2021-05-13 06:02:45 -07:00