Re: [PATCH v3 2/2] m68k: mmu: fix IO access endianness for ColdFire family

2018-03-02 Thread Angelo Dureghello
On Fri, Mar 02, 2018 at 09:28:57AM +1000, Greg Ungerer wrote: Hi Greg, > Hi Angelo, > > On 01/03/18 22:32, Angelo Dureghello wrote: > > This patch fixes IO access endianness, that should be big endian. > > If any little endian peripheral may be connected, bytes should > > be swapped in hardware.

[PATCH v2] m68k/amiga - zorro.c: set up z->dev.dma_mask for the DMA API

2018-03-02 Thread Michael Schmitz
The generic DMA API uses dev->dma_mask to check the DMA addressable memory bitmask, and warns if no mask is set or even allocated. Set z->dev.dma_coherent_mask on Zorro bus scan, and make z->dev.dma_mask to point to z->dev.dma_coherent_mask so device drivers that need DMA have everything set up to

Re: [PATCH v2] m68k/amiga - zorro.c: set up z->dev.dma_mask for the DMA API

2018-03-02 Thread Christoph Hellwig
Assuming all zorro devices can deal fine with a 32-bit dma mask: Acked-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html