Re: [PATCH RESEND] xhci: also avoid the XHCI_ZERO_64B_REGS quirk with a passthrough iommu

From: Mathias Nyman
Date: Fri Mar 17 2023 - 11:17:54 EST


On 16.3.2023 11.11, Marc Zyngier wrote:
On Wed, 15 Mar 2023 18:14:40 +0000,
D Scott Phillips <scott@xxxxxxxxxxxxxxxxxxxxxx> wrote:

Previously the quirk was skipped when no iommu was present. The same
rationale for skipping the quirk also applies in the iommu.passthrough=1
case.

Skip applying the XHCI_ZERO_64B_REGS quirk if the device's iommu domain is
passthrough.

Fixes: 12de0a35c996 ("xhci: Add quirk to zero 64bit registers on Renesas PCIe controllers")
Signed-off-by: D Scott Phillips <scott@xxxxxxxxxxxxxxxxxxxxxx>

Acked-by: Marc Zyngier <maz@xxxxxxxxxx>

M.

Thanks, adding to queue

-Mathias