Hi Arnd, On Wed, Jun 29, 2022 at 10:21 AM Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
Regarding the amiga_chip_alloc(), I don't know what this means for caching. If chip memory is cache-coherent (either uncached or by snooping), then there should not be any dma_map()/dma_unmap() for that case, but instead the amiga_chip_alloc() function should return both the pointer and the dma_addr_t token.
Chip RAM is mapped uncached. Amifb remaps it using ioremap_wt() to get a write-through frame buffer. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds