Re: [PATCH v3] usb: dwc3: support 64 bit DMA in platform driver
From: Felipe Balbi
Date: Thu Jun 10 2021 - 05:24:41 EST
Sven Peter <sven@xxxxxxxxxxxxx> writes:
> Currently, the dwc3 platform driver does not explicitly ask for
> a DMA mask. This makes it fall back to the default 32-bit mask which
> breaks the driver on systems that only have RAM starting above the
> first 4G like the Apple M1 SoC.
> Fix this by calling dma_set_mask_and_coherent with a 64bit mask.
> Signed-off-by: Sven Peter <sven@xxxxxxxxxxxxx>
Acked-by: Felipe Balbi <balbi@xxxxxxxxxx>
> Third time's a charm I hope - this time much simpler :)
> I still think this change should be fairly low risk.
> Unfortunately I only have the Apple M1 to test this on but here
wait a minute. The M1 includes a dwc3? That's awesome. Mind sharing a
regdump? Should be in debugfs.
Description: PGP signature