@@ -241,12 +241,8 @@ static void xhci_zero_64b_regs(struct xhci_hcd *xhci)
* changing the programming leads to extra accesses even if the
* controller is supposed to be halted. The controller ends up with
* a fatal fault, and is then ripe for being properly reset.
- *
- * Special care is taken to only apply this if the device is behind
- * an iommu. Doing anything when there is no iommu is definitely
- * unsafe...
*/
- if (!(xhci->quirks & XHCI_ZERO_64B_REGS) || !device_iommu_mapped(dev))
+ if (!(xhci->quirks & XHCI_ZERO_64B_REGS))
return;
xhci_info(xhci, "Zeroing 64bit base registers, expecting fault\n");