From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6A177B for ; Fri, 7 Apr 2023 05:52:59 +0000 (UTC) Received: by verein.lst.de (Postfix, from userid 2407) id 02D1367373; Fri, 7 Apr 2023 07:52:55 +0200 (CEST) Date: Fri, 7 Apr 2023 07:52:54 +0200 From: Christoph Hellwig To: Petr Tesarik Cc: Christoph Hellwig , Jonathan Corbet , Marek Szyprowski , Robin Murphy , Borislav Petkov , "Paul E. McKenney" , Andrew Morton , Randy Dunlap , Damien Le Moal , Kim Phillips , "Steven Rostedt (Google)" , "open list:DOCUMENTATION" , open list , "open list:DMA MAPPING HELPERS" , Roberto Sassu , petr@tesarici.cz Subject: Re: [RFC v1 1/4] dma-mapping: introduce the DMA_ATTR_MAY_SLEEP attribute Message-ID: <20230407055254.GB6803@lst.de> References: <20230328035725.GA25506@lst.de> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) On Tue, Mar 28, 2023 at 09:21:10AM +0200, Petr Tesarik wrote: > The full series in my local tree added it to the implementation of > DRM_IOCTL_PRIME_FD_TO_HANDLE: Umm, an all these are callers that absolutely never should even end up in swiotlb. If we have large buffers allocated by media subsystems, we need to make sure they are fully addressable.