lkml.org 
[lkml]   [2021]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] usb: dwc3: support 64 bit DMA in platform driver
On Mon, Jun 07, 2021 at 09:25:43AM +0200, Arnd Bergmann wrote:
> This will now fail on machines with dwc3 connected to a 32-bit bus (or a
> bus that is accidentally not annotated as supporting 64-bit) when there is
> some memory that is not addressable through that bus.

No, it won't. dma_set_mask_and_coherent with a 64-bit mask will never
fail if dev->dma_mask is non-NULL.

\
 
 \ /
  Last update: 2021-06-07 12:06    [W:0.118 / U:1.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site