Unrelenting testplan D25219

myfreeweb greg at unrelenting.technology
Fri Jun 12 18:18:11 UTC 2020



On June 12, 2020 5:35:47 PM UTC, Ian Lepore <ian at freebsd.org> wrote:
>On Fri, 2020-06-12 at 18:49 +0200, Hans Petter Selasky wrote:
>> On 2020-06-12 17:02, Robert Crowston wrote:
>> > What is the physical address to which the xhci controller is
>> > performing DMA? It needs to be in the lower 3 GB of the physical
>> > address space.
>> 
>> The XHCI doesn't set any limits on the DMA location, but it easily
>> can.
>> 
>> 
>
>If the xhci controller's view of memory is limited to certain ranges,
>then that should be reflected in the dmatag set up by its bus parent
>who knows the range restrictions.  Nothing would need to change in the
>xhci driver itself (assuming xhci uses bus_get_dma_tag() like it should
>when creating its own tag(s)).


That is what I did in D25219. Works for me.

(Again, the firmware has a memory limiter option that makes it easy to check whether DMA location is the problem)


More information about the freebsd-arm mailing list