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

Zhongqiu Han posted 2 patches 1 year, 5 months ago
drivers/usb/dwc3/core.c          | 2 ++
drivers/usb/host/xhci-ext-caps.h | 2 ++
2 files changed, 4 insertions(+)
[PATCH 0/2] usb: Call cpu_relax() when polling registers
Posted by Zhongqiu Han 1 year, 5 months ago
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