From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5ABA6C6FD1D for ; Fri, 7 Apr 2023 05:53:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232448AbjDGFxT (ORCPT ); Fri, 7 Apr 2023 01:53:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232527AbjDGFxO (ORCPT ); Fri, 7 Apr 2023 01:53:14 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC8C6AD1A; Thu, 6 Apr 2023 22:52:59 -0700 (PDT) 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> 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.