Usb: phytium: update phytium Usb controller driver support to 6.6.0.4#1954
Usb: phytium: update phytium Usb controller driver support to 6.6.0.4#1954wangchenlu2236 wants to merge 11 commits into
Conversation
Due to a typographical error, the pdev pointer variable was not assigned a value. This patch fixes the issue of the pdev variable not being assigned a value. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
This patch fixes the stack information of a large number of dma_free_attrs, which is triggered by the call to gaget_mem_cleanup in the gadget_suspend function. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
An interrupt that occurs before the trbChainDescList list has been initialized will cause kernel panic. Put the list initialization in dma_init function to execute. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
The correct stop logic is to release the controller resources first, and then stop the HOST working mode, otherwise the resources release may fail. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
In the HubPortReset function, add a forced operation to send port reset command to fix the issue where the port reset command is not sent, casusing abnormal device operation. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
Sometimes, when the USB controller experiences a timeout for the stop EP endpoint command for a timeout for processing commands, xhci driver will shutdown the USB controller. If you want to reactivate the USB controller, you need to follow the reactivation operation process. note: This patch is only applicable to the Phytium platform. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
When a transmission error occurs, EP_CTX_STATE is not equal to EP_STATE_HALTED, and the reset endpoint command is forcibly sent for the specified PHYTIUM platform. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
This driver is exclusively for the PHYTIUM platform and is not compatible with other systems. This restriction prevents errors on unsupported platform. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
This patch provides support for Phytium tcm driver, which is used to support USB_TCM transmission. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
This patch provides support for Phytium usb tcm device driver, which can be used for communication with the PHYTIUM USB TCM. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
During controller reactivation, if the xhci_generic_plat_probe function fails for any reason, attempting a shutdown operation at this stage will cause the shutdown function to use already released resources, which will trigger the system panic. Therefore, when the xhci_generic_plat_probe function fails, the shutdown function must be set to NULL. Mainline: Open-Source Signed-off-by: Chen Zhenhua <chenzhenhua@phytium.com.cn> Signed-off-by: Wang Yinfeng <wangyinfeng@phytium.com.cn> Signed-off-by: Wang Chenlu <wangchenlu2236@phytium.com.cn>
There was a problem hiding this comment.
Sorry @wangchenlu2236, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
Hi @wangchenlu2236. Thanks for your PR. I'm waiting for a deepin-community member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
This patches updates the support for phytium Usb controller driver.
1.usb: phytium_v2: Fix the uninitialized pdev pointer issue
2.usb: phytium_v2: Fix dma_free_attrs call trace issue
3.usb: phytium: Fix the kernel panic problem
4.usb: phytium_v2: Fixed USB host controller stop logic
5.usb: phytium: Add a forced operation to send the port reset command
6.usb: xhci: Add the method to reactivate the USB controller
7.usb: xhci: Add a reset endpoint command to the specified PHYTIUM SOC
8.usb: phytium: Restricted adaptation platform for PHYTIUM USB driver.
9.usb: gadget: phytium: Add support for phytium tcm driver
10.char: phytium: Add support for phytium usb tcm device driver
11.usb: xhci: Fix panic issue caused by the controller reactivation failure