Messages in this thread | | | From | Arnd Bergmann <> | Date | Wed, 2 Feb 2022 09:05:24 +0100 | Subject | Re: [RFC] ARM: sa1100/assabet: move dmabounce hack to ohci driver |
| |
On Wed, Feb 2, 2022 at 12:10 AM Arnd Bergmann <arnd@kernel.org> wrote: > > while this part would not work if dma_alloc_flags() ends up getting > memory that is not accessible. At the minimum I need to drop the > machine_is_assabet() check and always allocate a safe buffer to > back hcd->local_mem regardless of the machine.
I double-checked this to ensure we don't have to check for sa1100 vs pxa instead, and I found that all three sa1100 platforms with sa1111 (assabet/neponset, badge4, jornada720) enable DMA, but the one pxa machine (lubbock) has the DMA mask set to 0 and won't be able to use OHCI anyway.
Arnd
| |