Re: [PATCH 1/4] net: sgi: ioc3-eth: don't abuse dma_direct_* calls

Thomas Bogendoerfer
2019-10-31T15:18:21Z

On Thu, 31 Oct 2019 14:15:01 +0100
Christoph Hellwig <hch@lst.de> wrote:

> On Thu, Oct 31, 2019 at 09:54:30AM +0100, Thomas Bogendoerfer wrote:
> > I didn't want to argue about that. What I'm interested in is a way how
> > to allocate dma memory, which is 16kB aligned, via the DMA API ?
>
> You can't.

So then __get_free_pages() and dma_map_page() is the only way ?

BTW I've successful tested your patches on an 8 CPU Origin 2k.

Thomas.

--
SUSE Software Solutions Germany GmbH
HRB 36809 (AG Nürnberg)
Geschäftsführer: Felix Imendörffer