Re: [PATCH] usb: typec: tcpm: Move to high priority workqueue for processing events

2020-07-22 Thread Badhri Jagan Sridharan
Hi Guenter, Just sent out the patch "usb: typec: tcpm: Migrate workqueue to RT priority for processing events" which uses kthread_create_worker and hrtimer.nAppreciate your guidance !! The commits 38a1222ae4f3 and 1ff688209e2e were spot on as they were trying solve the same problem in a different

Re: [PATCH] usb: typec: tcpm: Move to high priority workqueue for processing events

2020-07-14 Thread Badhri Jagan Sridharan
On Mon, Jul 13, 2020 at 11:58 PM Guenter Roeck wrote: > > On 7/13/20 11:05 PM, reg Kroah-Hartman wrote: > > On Mon, Jul 13, 2020 at 01:43:00PM -0700, Badhri Jagan Sridharan wrote: > >> "tReceiverResponse 15 ms Section 6.6.2 > >> The receiver of a Message requiring a response Shall respond > >> wit

Re: [PATCH] usb: typec: tcpm: Move to high priority workqueue for processing events

2020-07-13 Thread Guenter Roeck
On 7/13/20 11:05 PM, reg Kroah-Hartman wrote: > On Mon, Jul 13, 2020 at 01:43:00PM -0700, Badhri Jagan Sridharan wrote: >> "tReceiverResponse 15 ms Section 6.6.2 >> The receiver of a Message requiring a response Shall respond >> within tReceiverResponse in order to ensure that the >> sender’s Sende

Re: [PATCH] usb: typec: tcpm: Move to high priority workqueue for processing events

2020-07-13 Thread reg Kroah-Hartman
On Mon, Jul 13, 2020 at 01:43:00PM -0700, Badhri Jagan Sridharan wrote: > "tReceiverResponse 15 ms Section 6.6.2 > The receiver of a Message requiring a response Shall respond > within tReceiverResponse in order to ensure that the > sender’s SenderResponseTimer does not expire." > > When the cpu c

[PATCH] usb: typec: tcpm: Move to high priority workqueue for processing events

2020-07-13 Thread Badhri Jagan Sridharan
"tReceiverResponse 15 ms Section 6.6.2 The receiver of a Message requiring a response Shall respond within tReceiverResponse in order to ensure that the sender’s SenderResponseTimer does not expire." When the cpu complex is busy running other lower priority work items, TCPM's work queue sometimes