From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Date: Mon, 06 May 2019 13:49:35 +0000 Subject: Re: [PATCH 2/7] au1100fb: fix DMA API abuse Message-Id: <7a63eeae-4ec3-c82e-c497-8adc7bcb3cea@samsung.com> List-Id: References: <20190430110032.25301-1-hch@lst.de> <20190430110032.25301-3-hch@lst.de> In-Reply-To: <20190430110032.25301-3-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Christoph Hellwig Cc: Michal Simek , James Hogan , linux-mips@vger.kernel.org, Ralf Baechle , linux-kernel@vger.kernel.org, Paul Burton , iommu@lists.linux-foundation.org, linux-fbdev@vger.kernel.org, Ley Foon Tan On 04/30/2019 01:00 PM, Christoph Hellwig wrote: > Virtual addresses return from dma(m)_alloc_coherent are opaque in what > backs then, and drivers must not poke into them. Switch the driver > to use the generic DMA API mmap helper to avoid these games. > > Signed-off-by: Christoph Hellwig Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnierkiewicz Samsung R&D Institute Poland Samsung Electronics