Commit Graph

1007171 Commits

Author SHA1 Message Date
Naman Jain
470047b5c8 gunyah: gh_rm_iface: Avoid integer overflow for multiplication
Add a check to ensure that overflow does not happen in multiplication
operation.

Change-Id: I8b3be6acd92147543ab785c5762a1b2609e5a93d
Signed-off-by: Naman Jain <quic_namajain@quicinc.com>
2022-01-27 17:49:09 +05:30
qctecmdr
83069fca07 Merge "soc: qcom: sync_fence: add user flag in fences to indicate bind occurred" 2022-01-22 13:06:04 -08:00
qctecmdr
9fe33f168a Merge "input: qcom-hv-haptics: reset FIFO play logic when hBoost is busy" 2022-01-21 12:23:23 -08:00
qctecmdr
6241326e0d Merge "slimbus: qcom-ngd-ctrl: return error for slimbus txns when ADSP is down" 2022-01-21 08:04:16 -08:00
qctecmdr
af6693e6bf Merge "modules.list: add memory related modules on neo" 2022-01-21 08:04:15 -08:00
Jayaprakash Madisetty
0230b18973 soc: qcom: sync_fence: add user flag in fences to indicate bind occurred
This change sets SPEC_FENCE_FLAG_ARRAY_BIND flag in speculative
fence to indicate bind ioctl is triggered.

Change-Id: I718dfe8c6278a585e58bb59811de05b72106d6d3
Signed-off-by: Jayaprakash Madisetty <quic_jmadiset@quicinc.com>
2022-01-21 16:26:58 +05:30
qctecmdr
e04add8902 Merge "msm: ep_pcie: update miscoff reg if it doesn't conatin valid value" 2022-01-21 00:47:40 -08:00
qctecmdr
5418b155fc Merge "soc: qcom: Disable the AP minidump encryption" 2022-01-20 22:22:23 -08:00
Jaskaran Singh
86553a06e6 modules.list: add memory related modules on neo
Add memory related modules to first stage on neo.

Change-Id: Ie1d0234223741f0b43dc79d8dc6c30bd7568bd03
Signed-off-by: Jaskaran Singh <quic_jasksing@quicinc.com>
2022-01-21 09:53:24 +05:30
qctecmdr
7fe6219c86 Merge "usb: dwc3: dwc3-msm-core: Remove unused txfifo device tree property" 2022-01-20 20:05:10 -08:00
Anvesh Salveru
1853bfc1c9 slimbus: qcom-ngd-ctrl: return error for slimbus txns when ADSP is down
When the ADSP is down, for particular slimbus message code and
message type transactions we are waiting for 1sec for the ADSP
to be up. Blocking function for 1sec is causing issues in the
audio layer.

Added a dtsi based flag whether to wait for adsp to be up or return
error immediately.

Change-Id: I09a3e135806d4044cdb95e2cc35092d6f5c2f68b
Signed-off-by: Anvesh Salveru <quic_asalveru@quicinc.com>
2022-01-21 07:57:58 +05:30
qctecmdr
2b5783aea9 Merge "BTFMSLIM: Free memory during error while port open" 2022-01-20 14:18:24 -08:00
qctecmdr
a546df44f8 Merge "drivers: pinctrl: Restructure GPIO PDC mapping for cape" 2022-01-20 11:38:44 -08:00
Satish Kumar Kodishala
0f60a0e18a BTFMSLIM: Free memory during error while port open
Free memory only during error while opening a port.
In success case, memory will be freed during port
closure.

CRs-Fixed: 3113018
Change-Id: Ice2172c7865e5df5898b3ac927f842db1516fd96
Signed-off-by: Satish Kumar Kodishala <quic_skodisha@quicinc.com>
2022-01-20 04:04:59 -08:00
Pavankumar Kondeti
9985efd13b usb: dwc3: dwc3-msm-core: Remove unused txfifo device tree property
We no longer use "qcom,dwc-usb3-msm-tx-fifo-size" property to know
the TXFIFO size instead depend on the value present in DWC3_GHWPARAMS7
register.

Change-Id: I39a95a51b1e0954b91946b602d6754512c97c522
Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
2022-01-20 16:12:17 +05:30
qctecmdr
7ddf6ce4bc Merge "neo: Add debug-regulator.ko to modules.list.neo" 2022-01-20 00:52:29 -08:00
Huang Yiwei
0229456472 soc: qcom: Disable the AP minidump encryption
Compression before encryption to AP minidump can save a lot of
disk size, so disable the AP minidump encryption by default, and
leave the choice to customers.

Change-Id: Ib7a3c71cf6f62466a219a5d86f065bb0f760fe45
Signed-off-by: Huang Yiwei <quic_hyiwei@quicinc.com>
2022-01-20 15:45:38 +08:00
Tushar Nimkar
79800c792d drivers: pinctrl: Restructure GPIO PDC mapping for cape
This change does restructure of GPIO PDC mapping.

Change-Id: Ib02cd25b55505dd8f7f3f2d87b482e69df05902c
Signed-off-by: Tushar Nimkar <quic_tnimkar@quicinc.com>
2022-01-19 23:25:40 -08:00
qctecmdr
b5c0f78275 Merge "net: vmw_vsock: gunyah: Free buf after sendmsg" 2022-01-19 22:44:46 -08:00
qctecmdr
b602111da6 Merge "i2c: i2c-msm-geni: WAR to halt cancel if IOS not in good state" 2022-01-19 22:44:43 -08:00
Krishna chaitanya chundru
0251314c59 msm: ep_pcie: update miscoff reg if it doesn't conatin valid value
On some endpoints there is no PCIe driver in bootloader to update
MHI registers due to that there is some garbage values present at
miscoffset register so in the sw if there is no valid value
updating it to zero.

Change-Id: Id230da97484f7042166e2cd68fc18730857374c3
Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com>
2022-01-19 20:20:10 -08:00
Fenglin Wu
3d51440d59 input: qcom-hv-haptics: reset FIFO play logic when hBoost is busy
Currently, when waiting for hBoost ready times out, error code -EBUSY is
returned. In addition to that, reset the FIFO play logic so that the
following FIFO requests can still be served.

Meanwhile, add 100us before updating HAPTICS_EN for hBoost to have
enough time to handle its power transition as per the hardware
recommendation.

Change-Id: Iebfc98b589bda747e4c2b6fdf6ff78d2f46ece5d
Signed-off-by: Fenglin Wu <quic_fenglinw@quicinc.com>
2022-01-20 11:33:13 +08:00
qctecmdr
afe2031c3e Merge "neo: Add dispcc-neo to modules.list.neo" 2022-01-19 02:49:09 -08:00
qctecmdr
1df3f9333b Merge "mem-buf: Add additional argument validation" 2022-01-19 00:37:58 -08:00
qctecmdr
ccd40c8550 Merge "soc: qcom: guestvm_loader: Improve profiling data" 2022-01-19 00:37:57 -08:00
Kalpak Kawadkar
c28266ffd0 neo: Add dispcc-neo to modules.list.neo
Add dispcc-neo to modules.list.neo to enable
it to load during first stage init.

Change-Id: I57a15a36de9afc45241bea2e19aa7468ac846872
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2022-01-19 00:26:29 -08:00
Ashish Chavan
360adabfe4 neo: Add debug-regulator.ko to modules.list.neo
Add debug-regulator.ko to modules.list.neo to enable
it to load during first stage init.

Change-Id: If67a8a592d9ced62b4063a96cb3e0c4920b6de1c
Signed-off-by: Ashish Chavan <quic_ashichav@quicinc.com>
2022-01-19 13:21:21 +05:30
qctecmdr
b0dcbeab9b Merge "msm: ipa: match QMI request message length as per IDL" 2022-01-18 22:19:17 -08:00
qctecmdr
a6ec32643e Merge "slimbus: qcom-ngd-ctrl: update copyright" 2022-01-18 22:19:16 -08:00
qctecmdr
98ca789921 Merge "remoteproc: spss: Update copyright" 2022-01-18 22:19:16 -08:00
qctecmdr
192d19b83e Merge "arm64: defconfig: Enable DISPCC for NEO" 2022-01-18 22:19:15 -08:00
Ajay Prathi
739dd13d53 i2c: i2c-msm-geni: WAR to halt cancel if IOS not in good state
This change halts cancel command operation if IOS lines not in
good state for i2c due to Power or slave side issue. Perform cancel
once IO lines comes to good state. Till that i2c transfer will not
be servied.
This is a workaround fix if the abort is failing after cancel and
never recovers.

Change-Id: Icca5904d0d3df7432b948343ef9396cb25d93cd0
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Signed-off-by: Ajay Prathi <quic_aprathi@quicinc.com>
2022-01-19 10:11:56 +05:30
Chris Lew
70ed72188a net: vmw_vsock: gunyah: Free buf after sendmsg
Make sure to free the temporary buffer that holds the clients message
and header in the sendmsg path for gunyah vsock.

Change-Id: I398d5ec00f869b5f63e5f6daf8a609dcbbb13537
Signed-off-by: Chris Lew <quic_clew@quicinc.com>
2022-01-18 17:51:42 -08:00
qctecmdr
f557e8a76b Merge "Merge keystone/android12-5.10-keystone-qcom-release.66+ (ee319c2) into msm-5.10" 2022-01-18 12:23:37 -08:00
qctecmdr
9a8e732f1c Merge "i2c: i2c-msm-geni: Do i2c transfer if GENI IOS in proper state" 2022-01-18 07:39:01 -08:00
qctecmdr
600cd502fd Merge "cnss2: Add base changes for pci hang data support on HMT" 2022-01-18 07:39:00 -08:00
qctecmdr
ad21d05236 Merge "usb: phy: ssqmp: remove redundant pinctrl state selection" 2022-01-18 07:39:00 -08:00
qctecmdr
52805bf1ed Merge "soc: qcom: Return error from sensors if rproc not found" 2022-01-18 05:29:50 -08:00
Kalpak Kawadkar
a47fa62b83 arm64: defconfig: Enable DISPCC for NEO
Enable display clock controller for NEO.

Change-Id: Ic580922514d18294fa0b396d24ad13fc47949bdc
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2022-01-18 05:14:25 -08:00
qctecmdr
f07bf5c82b Merge "bus: mhi: cntrl: Add support for waipio as an endpoint" 2022-01-18 03:00:04 -08:00
qctecmdr
7d16f18d88 Merge "clk: qcom: dispcc-neo: Add support for DISPCC on NEO" 2022-01-18 03:00:04 -08:00
qctecmdr
301600c66b Merge "dma: qcom: bam_dma: Enhance IPC log support in upstream bam" 2022-01-18 03:00:03 -08:00
qctecmdr
5d3f10c503 Merge "msm: mhi: Check ERRDBG registers for device status" 2022-01-18 03:00:02 -08:00
Benjamin Grimberg
5b79d00e37 remoteproc: spss: Update copyright
Added QUIC copyright for 2022.

Change-Id: Ief8f39616e3c883c602ebafdbae02e8622b7ec7c
Signed-off-by: Benjamin Grimberg <quic_bgrimber@quicinc.com>
2022-01-18 10:58:28 +02:00
qctecmdr
2a592a8f4b Merge "bus: mhi: Add check for IPC logs creation" 2022-01-18 00:50:27 -08:00
Anvesh Salveru
197c79ef5b slimbus: qcom-ngd-ctrl: update copyright
Update slimbus driver copyright.

Change-Id: I0820dfd806a8a71d71c95730ce76c51740472622
Signed-off-by: Anvesh Salveru <quic_asalveru@quicinc.com>
2022-01-18 13:49:16 +05:30
Anvesh Salveru
6c915779b5 serial: msm_geni_serial: update copyright
Update the uart driver copyright.

Change-Id: I21e75ebec7ba72b99c1b4bfe7e0e88f0a2a5a006
Signed-off-by: Anvesh Salveru <quic_asalveru@quicinc.com>
2022-01-18 13:47:51 +05:30
Linyu Yuan
b5e0778cbc usb: phy: ssqmp: remove redundant pinctrl state selection
In pinctrl_bind_pins(), if a device have only default pinctrl state,
it will be selected before driver really probe,
remove default state select operation which is redundant.

Keep sw reset to make sure orientation was latched when exist reset,
the reset should also work when orientation was override by upper layer.

Change-Id: I2b31a25f06c89f3da235d316aea9362fc032a17b
Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
2022-01-18 15:16:29 +08:00
Kalpak Kawadkar
eaf8cad868 clk: qcom: dispcc-neo: Add support for DISPCC on NEO
Add support for display clock controller on NEO platform,
for display clients to be able to request for clocks.

Change-Id: Id4652573afb68ea2b9727fc6c430efec775721ac
Signed-off-by: Kalpak Kawadkar <quic_kkawadka@quicinc.com>
2022-01-18 09:36:10 +05:30
Sriharsha Allenki
2160d988d1 bus: mhi: cntrl: Add support for waipio as an endpoint
Add device support in the MHI controller driver for
waipio device as an endpoint. In the endpoint mode
it supports only two MHI channels LOOPBACK rx channel
and the LOOPBACK tx channel.

Change-Id: I47bd47b48f6b991602e93e9a2cdc61161d7cf179
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
Signed-off-by: Nitesh Gupta <nitegupt@codeaurora.org>
Signed-off-by: Veerabhadrarao Badiganti <quic_vbadigan@quicinc.com>
2022-01-18 08:41:00 +05:30