From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] swiotlb: clear io_tlb_start and io_tlb_end in swiotlb_exit Date: Mon, 14 Jan 2019 21:33:23 +0100 Message-ID: <20190114203323.GA11412@lst.de> References: <20190114201408.12270-1-hch@lst.de> <20190114202513.GG32038@char.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190114202513.GG32038-he5eyhs8q0BAdwtm4QZOy9BPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Konrad Rzeszutek Wilk Cc: Sibren Vasse , michel-otUistvHUpPR7s880joybQ@public.gmane.org, freedesktop-DLwv2wemLo05ZU0pBKPMFg@public.gmane.org, Christoph Hellwig , iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On Mon, Jan 14, 2019 at 03:25:13PM -0500, Konrad Rzeszutek Wilk wrote: > On Mon, Jan 14, 2019 at 09:14:08PM +0100, Christoph Hellwig wrote: > > Otherwise is_swiotlb_buffer will return false positives when > > we first initialize a swiotlb buffer, but then free it because > > we have an IOMMU available. > > > > Fixes: 55897af63091 ("dma-direct: merge swiotlb_dma_ops into the dma_direct code") > > Reported-by: Sibren Vasse > > Signed-off-by: Christoph Hellwig > > Tested-by: Sibren Vasse > > Reviewed-by: Konrad Rzeszutek Wilk Do you want to send this to Linus, or do you want me to pick it up through the dma-mapping tree?