Re: [PATCH 5/9] xhci-ring.c: Add the poll_pend state to properly abort transactions

2020-08-23 Thread Jason Wessel
On 8/20/20 3:26 AM, Bin Meng wrote: > Hi Jason, > > On Sat, Jul 25, 2020 at 5:51 AM Jason Wessel > wrote: >> >> xhci_trl_tx and xhchi_bulk_tx can be called synchronously by other >> drivers such as the usb storage or network, while the keyboard driver >> exclusively uses the polling mode. >>

Re: [PATCH 5/9] xhci-ring.c: Add the poll_pend state to properly abort transactions

2020-08-20 Thread Bin Meng
Hi Jason, On Sat, Jul 25, 2020 at 5:51 AM Jason Wessel wrote: > > xhci_trl_tx and xhchi_bulk_tx can be called synchronously by other > drivers such as the usb storage or network, while the keyboard driver > exclusively uses the polling mode. > Could you provide more details as to when this will

[PATCH 5/9] xhci-ring.c: Add the poll_pend state to properly abort transactions

2020-07-24 Thread Jason Wessel
xhci_trl_tx and xhchi_bulk_tx can be called synchronously by other drivers such as the usb storage or network, while the keyboard driver exclusively uses the polling mode. And pending polling transactions must be aborted before switching modes to avoid corrupting the state of the controller. Sign