- 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 <[email protected]>
Git-commit: f636f449dfd671f7f7707100da4c7d0dc5dfb58b
Git-repo: https://github.com/aquantia/linux-4.14-atlantic-forwarding
Signed-off-by: Lakshit Tyagi <[email protected]>
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 <[email protected]>
Enable configs required for CNSS2 and QRTR-MHI driver to
support QCA WLAN device.
Change-Id: Ieead71f0a5db87a888fd16d01fcbd7345ce52860
Signed-off-by: Kuichu Ni <[email protected]>
[ 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 <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
Git-commit: 1bfa091472
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Srinivasarao P <[email protected]>
WCN7850 device ID is missing from cnss_get_bus_type() API.
Hence add it.
Change-Id: I9eaf82dadcf715fb8a5d223a432b0135ccd0a6a7
Signed-off-by: Yue Ma <[email protected]>
This is initial driver change to support npu virtualization.
Change-Id: I8e5070cc3d3b9cd3a1d15d00deeef9700f6428ec
Signed-off-by: Jilai Wang <[email protected]>
Some power regulators are voted by SPSS UEFI driver,
that needs to be unvote by HLOS.
Change-Id: I6d9f24c3937188b316d5912751c48207f3b8ab85
Signed-off-by: Amir Samuelov <[email protected]>
This driver allows clients to send messages to Alway On processor
using QMP transport. Users can echo a frequency into an exposed sysfs
node to send to AOP. The driver expects the Cap frequency of DDR based
on SKU.
Change-Id: I083c1ec2da6990c5815550f897069ff27c6b7617
Signed-off-by: Vinay Sudra <[email protected]>
Consider a case where DWC3_DEPCMD_ENDTRANSFER command times out,
then controller will not receive DWC3_DEPEVT_EPCMDCMPLT event and
request queued will not be given back to the function driver from
remove_requests. Now, if a function driver(e.g mass storage)
tries to dequeue the request, gadget driver will move the request
from started_list to cancelled_list but will not giveback the
request to function driver causing it to wait forever for the
transfer to be completed. This can lead the tasks to be in hung
state causing a crash.
Fix this by giving back the request from ep_dequeue by cleaning up
the cancelled requests.
Change-Id: I08b7a766d34992808260788a907054c835402c45
Signed-off-by: Pratham Pratap <[email protected]>
Enable Configs for API level 30. These are needed for android support.
Change-Id: I62c0ab4266211716e54a76197e872e8288a10d6a
Signed-off-by: Singa Reddy Dasari <[email protected]>
Enable Configs for API level 30. These are needed for android support.
Change-Id: Ib59eb8ea8a85c7f2a4af4318353dbe16b033616f
Signed-off-by: Singa Reddy Dasari <[email protected]>
Return error code on failure to get tsync time though sys entry.
Change-Id: I46302b5af314325f752aaf586b4ca6cd4608d82a
Signed-off-by: Vivek Pernamitta <[email protected]>
This change initializes length to zero value. This is
needed when rpmh_unit_base is not present.
Change-Id: I91af06a49a69433f119c2b73376606df34820838
Signed-off-by: Tushar Nimkar <[email protected]>
sync_file_create increases refcount of fence, so need release dma fence
handler after it.
Change-Id: I3cc60d6a7e8a32138bfee611864cee00c2ac7dd3
Signed-off-by: Kasin Li <[email protected]>
This patch contains changes for disabling
ASD regulator if HST is attached.
Change-Id: Ic1f6515861600f8bebc1d065ce51d7df5a3f28db
Signed-off-by: priyankar <[email protected]>