Re: svn commit: r366106 - head/sys/arm64/arm64

2020-11-01 Thread Marcin Wojtas
Hi, With this commit SDHCI fails to allocate a bounce buffer for SDMA (sdhci_dma_alloc() routine). The same behavior was observed on LS1046A and Armada 7k8k. Example log: sdhci_xenon0: mem 0x78-0x7802ff irq 38 on simplebus3 getaddr: error 27 sdhci_xenon0-slot0: Can't load DMA memory for

svn commit: r366106 - head/sys/arm64/arm64

2020-09-24 Thread Andrew Turner
Author: andrew Date: Thu Sep 24 07:17:05 2020 New Revision: 366106 URL: https://svnweb.freebsd.org/changeset/base/366106 Log: Bounce in more cases in the arm64 busdma We need to use a bounce buffer when the memory we are operating on is not aligned to a cacheline, and not aligned to the