* remotes/origin/caf/hid-aksys/main:
Change the license from GPL v3 to GPL v2
Change the license from GPLv
update the pid&vid for hhg gamepad device
update the vid name
Initial commit for project's source code
Update README.md
Initial commit
Change-Id: I76ab7baece37327176b8c0be88c757c9f5e1cf4d
[yueliu@codeaurora.org: resolved merge conflicts and remove
config change into gki_defconfig which is not suggested to]
Signed-off-by: Yue Liu <yueliu@codeaurora.org>
Add boot marker for stream create, getinfo and connect
And improve error handling for add outbuff.
Change-Id: Ia1c2d36e04f15031b84292d87afacf65d37d75c4
Signed-off-by: Baowei Liu <baowei@codeaurora.org>
Disable masking MSI interrupts at EP side to avoid
premeption disable on the CPU core while writing MSI
mask register.
Change-Id: I64fbb5aa8d9b21a78748b51b086506ce63a06a53
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
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>
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>
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>
Add SOC ID to support socinfo for Blair SOC.
Change-Id: I92f7d55c389bbb4a25c6c29a83457604b53e7039
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
Add initial defconfig fragment support to enable compilation
for the blair platform.
Change-Id: I944b6d892d85459493b400b98a52f108f9f94aff
Signed-off-by: Mayank Grover <groverm@codeaurora.org>
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>
flush_cache_all() is not supported in msm-5.4.
Change-Id: Ibd87c401d37917f341049e5b19db97dd79eafbb2
Signed-off-by: Ping Jiang <scottjiang@codeaurora.org>
Disabling dumping PCIE regisers in handle linkdown while pcie
link is in suspend state.
Change-Id: I6f97529e2784c35c03141628d32ddb061d1defde
Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
Add a new error code to support the case when the
callback object times out. This error propagates
back to TZ and makes sure that the secure side responds
accordingly.
Change-Id: Ib604696c7af3d704c54950ec0d5909bcec3f53d6
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
- 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>
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>
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>
[ Upstream commit cb11ea56f37a36288cdd0a4799a983ee3aa437dd ]
DWC3 must not issue CLEAR_STALL command to control endpoints. The
controller automatically clears the STALL when it receives the SETUP
token. Also, when the driver receives ClearFeature(halt_ep), DWC3 must
stop any active transfer from the endpoint and give back all the
requests to the function drivers.
Change-Id: Iccf1e148c74bbe194702e3e7a620f0fef5a9b183
Fixes: 72246da40f ("usb: Introduce DesignWare USB3 DRD Driver")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Git-commit: 1bfa091472
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Srinivasarao P <spathi@codeaurora.org>