Commit graph

894,680 commits

Author SHA1 Message Date
qctecmdr
d7e2efd740 Merge "drivers: soc: qcom: pm: Add legacy PM and Warmboot set address API support" 2021-03-17 06:25:16 -07:00
qctecmdr
b785a9833f Merge "clk: qcom: gdsc-regulator: Remove regulator_lock() call from GDSC driver" 2021-03-17 02:02:49 -07:00
qctecmdr
57c4cf0a4d Merge "defconfig: gen3auto: disable GLINK config" 2021-03-17 02:02:49 -07:00
qctecmdr
95721509aa Merge "defconfig: monaco: Add missing PMIC configs for monaco" 2021-03-17 02:02:48 -07:00
qctecmdr
d326c44fa2 Merge "usb: dwc3: gadget: Prevent queue on endpoints after bus reset" 2021-03-17 02:02:47 -07:00
qctecmdr
2fd974a64c Merge "lpm_levels_legacy: Rectified compilation errors" 2021-03-17 02:02:47 -07:00
qctecmdr
4e0dedf1d8 Merge "soc: qcom: socinfo: Add soc information for Blair" 2021-03-17 02:02:46 -07:00
qctecmdr
c45a1c86d9 Merge "soc: qcom: rpmh_master_stat: Initialize length to zero" 2021-03-17 02:02:46 -07:00
qctecmdr
955691e21f Merge "defconfig: gen3auto: Enable set_ddr_capped_freq interface" 2021-03-16 07:41:09 -07:00
qctecmdr
9c93444578 Merge "usb: gsi: Set setup_pending if ep_queue on EP0 is successful" 2021-03-16 07:41:08 -07:00
qctecmdr
c973a48ede Merge "mmc: defconfig: Enable IPC logging for lahaina consolidate defconfig" 2021-03-16 07:41:08 -07:00
qctecmdr
4564831c3f Merge "usb: gadget: Give back request from ep_dequeue" 2021-03-16 07:41:07 -07:00
qctecmdr
a58483c01c Merge "atlantic forwarding driver v1.1.18" 2021-03-16 00:31:53 -07:00
qctecmdr
44b5ee971c Merge "msm: kgsl: Enable BCL feature for a635 GPU" 2021-03-16 00:31:52 -07:00
qctecmdr
cf721e0820 Merge "defconfig: autogvm: Enable spmi for autogvm" 2021-03-16 00:31:52 -07:00
qctecmdr
e3e2a15960 Merge "msm: pci: print RPMSG return type and LTSSM state on DRV suspend" 2021-03-16 00:31:51 -07:00
qctecmdr
637910d04d Merge "defconfig: autogvm: Enable exfat fs" 2021-03-16 00:31:51 -07:00
qctecmdr
f86ea7b6d5 Merge "defconfig: autogen3: Enable CNSS2 for QCA WLAN device" 2021-03-16 00:31:51 -07:00
Shyam Kumar Thella
a2450f015c defconfig: monaco: Add missing PMIC configs for monaco
Add missing PMIC configs required to support monaco.

Change-Id: Ifc9edab32e14f77ee715550e567f4b0cb9ba60d3
Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
2021-03-16 09:36:23 +05:30
Raja Mallik
92d0c40a5c drivers: soc: qcom: pm: Add legacy PM and Warmboot set address API support
Add legacy msm pm sleep mode support for MDM9607 target.

Add warmboot set address support for multi cluster cpu's.

Snapshot is taken from msm-4.9 kernel version @ commit 078db469522464
("soc: qcom: bgrsb: Increase time out for RSB channel opening").

Change-Id: Ibfc56254c47cfc1465aff5559b8846072f66041a
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Haribabu Gattem <haribabu@codeaurora.org>
Signed-off-by: Raja Mallik <rmallik@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 10:12:16 -07:00
Raghavendra Kakarla
e48c59bf5a drivers: soc: qcom: Enable SPM driver
Enables the support SPM and AVS wrapper hardware.

Change-Id: I2525d5fadf5be318f55ce722c26e598640af926f
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 10:10:15 -07:00
Hari babu
baae1562c6 cpuidle: lpm_levels: Replace remote spinlock
Remove deprecated remote spinlock usage, added changes to write
the tid value into mutex lock register.

Change-Id: I031566b4038df53a99306c34db427c5929d68483
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Hari babu <haribabu@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Haribabu Gattem <haribabu@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 10:09:57 -07:00
Sivasri Kumar Vanka
7aac6c873e lpm_levels_legacy: Rectified compilation errors
Compilation failed, due to updated function declarations lpm_levels
driver where the lpm_levels_legacy driver is not updated in parallel
Rectified all errors occurred during compilation for mdm9607 target.

Change-Id: Iacb6ce9949454a949bcba90a8e8285ca18b832d5
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Haribabu Gattem <haribabu@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 09:51:03 -07:00
Maulik Shah
d23cd81540 cpuidle: lpm-levels: Enable LPM support for non psci target
Add non psci legacy lpm support. Modify and align changes
for clock event, MPM and cpu hotplug for LPM callback notification.

Remove deprecated scheduler c-state(idle cpu), d-state(idle cluster)
setting from lpm driver.

Snapshot is taken from msm-4.9 kernel version @commit b9ad452666da39.
("soc: qcom: bgrsb: Increase time out for RSB channel opening").

Change-Id: I8958ab4f098cc6d875071e3f100b8b74845e0cfa
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Haribabu Gattem <haribabu@codeaurora.org>
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 09:50:56 -07:00
Prasada Rao Durvasula
606af3eccb soc: qcom: Add add cpu idle v7 support for mdm9607
This is snapshot of idle v7 as of msm-3.18.c8.
'commit 69da6b6721b'.

Change-Id: I01adeac3d8b53b855300a3a12714e035b758a8c4
Signed-off-by: Prasada Rao Durvasula <pdurvasu@codeaurora.org>
Signed-off-by: Suresh Kumar Allam <allamsuresh@codeaurora.org>
Signed-off-by: Shiva Niranjan <shia@codeaurora.org>
Signed-off-by: Sivasri Kumar Vanka <sivasri@codeaurora.org>
Signed-off-by: Raghavendra Kakarla <rkakarla@codeaurora.org>
Signed-off-by: Tushar Nimkar <tnimkar@codeaurora.org>
2021-03-15 22:17:28 +05:30
Mayank Grover
033166be5b soc: qcom: socinfo: Add soc information for Blair
Add SOC ID to support socinfo for Blair SOC.

Change-Id: I92f7d55c389bbb4a25c6c29a83457604b53e7039
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2021-03-15 21:16:49 +05:30
Mayank Grover
e243f04b5c defconfig: Enable defconfig to compile Blair platform
Add initial defconfig fragment support to enable compilation
for the blair platform.

Change-Id: I944b6d892d85459493b400b98a52f108f9f94aff
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2021-03-15 21:15:52 +05:30
Mayank Grover
e6fcace980 arm64: kconfig: Add initial platform for Blair
Adding initial platform config for Blair.

Change-Id: I44bfc3e3412a1630f64e1cb356e00c6cfa104666
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
2021-03-15 21:14:18 +05:30
Vinay Sudra
aa105434b9 defconfig: gen3auto: Enable set_ddr_capped_freq interface
Enable set_ddr_capped_freq interface to send messages to AOP
using QMP transport.

Change-Id: I04cf261a51c0ecaea90414ac38fd4026343457ab
Signed-off-by: Vinay Sudra <vsudra@codeaurora.org>
2021-03-15 20:05:46 +05:30
Pratham Pratap
de84d964ec usb: gsi: Set setup_pending if ep_queue on EP0 is successful
Consider a scenario where setup packet gets queued from the
function driver and without geting completion for that request
composition switch or cable disconnect happens. Since the
request is not given back to the gadget driver it will be in
pending list. During composition switch or cable disconnect
composite dev cleanup happens which will free the request
without dequeing it since setup_pending is not set for the
request. When a new setup packet is queued and the completion
for the new setup packet happens driver will try to access the
freed request from the pending list leading to use-after-free.

Fix this by setting setup_pending to true if ep_queue on ep0
is successful.

Change-Id: I7fe083dfc99663681fc0b98e02613799e526d3d4
Signed-off-by: Pratham Pratap <prathampratap@codeaurora.org>
2021-03-15 03:40:19 -07:00
qctecmdr
2c8ec6785e Merge "cnss2: Add WCN7850 device ID to cnss_get_bus_type() API" 2021-03-15 02:15:21 -07:00
qctecmdr
1fa617f95c Merge "cnss2: Remove deprecated CNSS_BDF_DUMMY type" 2021-03-15 02:15:21 -07:00
qctecmdr
88b27033e8 Merge "Disable ASD regulator if HST is attached" 2021-03-15 02:15:20 -07:00
qctecmdr
dd16bdeab5 Merge "cnss2: Disable L7E regulator & S2E regulator vote for Lahiana+HST" 2021-03-15 02:15:20 -07:00
qctecmdr
c2d5faac4e Merge "soc: qcom: Improve msm_minidump_remove_region api" 2021-03-15 02:15:19 -07:00
qctecmdr
ba8b1f3da9 Merge "soc: qcom: Add sysfs node to communicate with AOP using QMP protocol" 2021-03-15 02:15:19 -07:00
qctecmdr
f3725ab89d Merge "defconfig: monaco: Enable data/net related configs" 2021-03-15 02:15:18 -07:00
Ping Jiang
7549707bc3 defconfig: autogvm: Enable spmi for autogvm
Enable spmi pmic drivers in autogvm defconfigs.

Change-Id: I49cbd238c0fea410a4899d914cd2b7fa8c72cf4c
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
2021-03-15 16:51:13 +08:00
Igor Russkikh
55651834b6 atlantic forwarding driver v1.1.18
- Hotfix to increase reset tmo on A2 to 2secs
 - Hotfix to disable macsec load on A2
 - Fixes for compilation without PTP
 - [ATLDRV-1649]: WOL was not functional. MAC address was invalid.

Change-Id: I546961bcaf75b0489e973da1eecf22be0a3d71d7
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Git-commit: f636f449dfd671f7f7707100da4c7d0dc5dfb58b
Git-repo: https://github.com/aquantia/linux-4.14-atlantic-forwarding
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
2021-03-14 23:36:26 -07:00
lixiang
4b1ce944fb defconfig: autogvm: Enable exfat fs
Enable exfat filesystem for automotive guest virtual machine.

Change-Id: If7d1b64bb4ea3b72b84f942d59371d41bae4a6bb
Signed-off-by: lixiang <lixiang@codeaurora.org>
2021-03-15 14:16:01 +08:00
Sandeep Singh
e9d3bea389 cnss2: Disable L7E regulator & S2E regulator vote for Lahiana+HST
Add code to disable L7E & S2E regulator vote for Lahaina+HST.

Change-Id: I2ea9320642f06bb65c4b1c697a8fc9c71a3b22f8
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
2021-03-15 11:18:21 +05:30
Sriharsha Allenki
5f7bf07733 usb: dwc3: gadget: Prevent queue on endpoints after bus reset
There is a race between ep_queue from function driver and
ep_disable during function disable as part of bus reset.
This race is leading to a scenario where the endpoint is
disabled with an active transfer. And when the endpoint is enabled
back, this leads to a stale buffer access by the controller.

The race is as below:
						qdss_disable
usb_qdss_write					    |  -----> Waits on qdss_lock
     |  ----> Acquires qdss_lock		    |
     |  ----> Checks for qdss_connected		    |
     |  ----> Releases qdss_lock		    |  ------> Acquires qdss_lock
     |						    |  ------> Clears usb_connected
     |						    |  ------> Releases qdss_lock
     |						usb_ep_disable
     |						    |  ------> Acquires dwc->lock
     |						dwc3_remove_reuests
     |						    |
     |						dwc3_stop_active_transfer
     |						    |
     |						    |  ------> Releases dwc->lock
usb_ep_queue					    |
     | ----> Acquires dwc->lock			usb_gadget_giveback
     |						    |
dwc3_gadget_kick_transfer			    |
     | ----> Releases dwc->lock			    |
						    | ----> Acquires dwc->lock
						    |
						disable_endpoint

After this state when the endpoint is enabled back, there is already
and active transfer on this endpoint. Any START TRANSFER command
on this endpoint would lead to "No Transfer Resource" error
from the controller.

Fix this by preventing the ep_queue when a reset of the gadget
is in progress. This is done by clearing the connected flag
as part of dwc3_gadget_reset and checking for this as part of
ep_queue. Set this flag once we have received the CONNECTION
DONE interrupt from the controller.

Change-Id: Idc52a72ed0a965c2043618046a5b0dc32bfd1985
Signed-off-by: Sriharsha Allenki <sallenki@codeaurora.org>
2021-03-14 22:19:15 -07:00
Kuichu Ni
1646bb6a1a defconfig: autogen3: Enable CNSS2 for QCA WLAN device
Enable configs required for CNSS2 and QRTR-MHI driver to
support QCA WLAN device.

Change-Id: Ieead71f0a5db87a888fd16d01fcbd7345ce52860
Signed-off-by: Kuichu Ni <kuichun@codeaurora.org>
2021-03-15 11:56:08 +08:00
qctecmdr
8a7d4fed84 Merge "Use environment variable to find unifdef tool for auto target" 2021-03-12 09:54:29 -08:00
qctecmdr
bdf9093b71 Merge "msm:npu: Add npu virtualization support" 2021-03-12 09:54:28 -08:00
qctecmdr
73c021ac03 Merge "drivers: thermal: pe_sensor: enable pe interrupt as wake up interrupt" 2021-03-11 21:11:06 -08:00
qctecmdr
2ac2ac4b3f Merge "slim-msm-ngd: Do not enable/disable core irq in SSR/PDR notifications" 2021-03-11 21:11:06 -08:00
qctecmdr
695867227f Merge "cnss2: Check CNSS_MHI_POWER_OFF state in cnss_pci_suspend_bus()" 2021-03-11 21:11:05 -08:00
qctecmdr
92257be40e Merge "defconfig: sdxlemur: Realtek IOSS glue driver switch to v2" 2021-03-11 21:11:05 -08:00
qctecmdr
49eadde2ab Merge "defconfig: sdmsteppeauto: enable configs needed for API level 30" 2021-03-11 21:11:05 -08:00