[RFC] ARM: sa1100/assabet: move dmabounce hack to ohci driver

Arnd Bergmann arnd at arndb.de
Wed Feb 2 00:05:24 PST 2022


On Wed, Feb 2, 2022 at 12:10 AM Arnd Bergmann <arnd at 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



More information about the linux-arm-kernel mailing list