mbox series

[0/2] usb: Call cpu_relax() when polling registers

Message ID 20240820121501.3593245-1-quic_zhonhan@quicinc.com
Headers show
Series usb: Call cpu_relax() when polling registers | expand

Message

Zhongqiu Han Aug. 20, 2024, 12:14 p.m. UTC
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