public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: Call cpu_relax() when polling registers
@ 2024-08-20 12:14 Zhongqiu Han
  2024-08-20 12:15 ` [PATCH 1/2] usb: dwc3: core: Call cpu_relax() in registers polling busy loops Zhongqiu Han
  2024-08-20 12:15 ` [PATCH 2/2] usb: xhci: ext-caps: Use cpu_relax() when polling registers Zhongqiu Han
  0 siblings, 2 replies; 7+ messages in thread
From: Zhongqiu Han @ 2024-08-20 12:14 UTC (permalink / raw)
  To: Thinh.Nguyen, gregkh, mathias.nyman; +Cc: linux-usb, linux-kernel, quic_zhonhan

This series adds cpu_relax() in registers polling busy loops and
it is a well-known idiom in the kernel.

Signed-off-by: Zhongqiu Han <quic_zhonhan@quicinc.com>
---
Zhongqiu Han (2):
  usb: dwc3: core: Call cpu_relax() in registers polling busy loops
  usb: xhci: ext-caps: Use cpu_relax() when polling registers

 drivers/usb/dwc3/core.c          | 2 ++
 drivers/usb/host/xhci-ext-caps.h | 2 ++
 2 files changed, 4 insertions(+)


base-commit: 469f1bad3c1c6e268059f78c0eec7e9552b3894c
-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-21 14:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-20 12:14 [PATCH 0/2] usb: Call cpu_relax() when polling registers Zhongqiu Han
2024-08-20 12:15 ` [PATCH 1/2] usb: dwc3: core: Call cpu_relax() in registers polling busy loops Zhongqiu Han
2024-08-20 22:05   ` Thinh Nguyen
2024-08-21 13:59     ` Zhongqiu Han
2024-08-20 12:15 ` [PATCH 2/2] usb: xhci: ext-caps: Use cpu_relax() when polling registers Zhongqiu Han
2024-08-21  9:40   ` Mathias Nyman
2024-08-21 14:04     ` Zhongqiu Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox