Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp433180rwl; Thu, 6 Apr 2023 22:55:32 -0700 (PDT) X-Google-Smtp-Source: AKy350aKO1QFMkpkNL2m5a+8jDcdZ5nSRJX8TueGQvABFDA5X2zxrmg9I6Y++bDavt9P2fHxWh9Z X-Received: by 2002:a17:902:d2cb:b0:1a2:37fc:b591 with SMTP id n11-20020a170902d2cb00b001a237fcb591mr1880532plc.69.1680846932336; Thu, 06 Apr 2023 22:55:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680846932; cv=none; d=google.com; s=arc-20160816; b=ut0rxdJbmHrfnMFlmVMdEqPPP2oQqi1V9etyVIEjJ0RDQb8i9lAKV3Tf2uhLRyac2q rlONWfxJGwJA2kv3YdHwpjZrckkPcAFlYte9xhgxxSDfJU3lBJm8t5DXjuQCwL7pvuqF nlfFfyzzpkGU3qH59WNWK6zCe1537V0s8rSX1+pFPMMaGB+TU+Ytze5IpclMIT1xhoyv U31yIlWC6X1f9J8x3hZJuHG7N+MMyZ8DayMIFdfmEWfpeMT7aszJGW651Vj8gUqvySWe PCCKdnZHKuPWKd9DQHoZDFj7T7m/8VFaceMjG8SlXzewB2BkHS1vqak0sn5mlmvUj66G ZA4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=+DumjmIbzEN0+vbqITZ3UJR211WUYJHSimcV7/GG3fA=; b=kT351N7Rtijat8MxV7gaGehrMgePHetpZUc3M/AJOYIMFDACyjpDD88vt5wz0fPbP8 zydrGyJECfBd8b938bxXNiI6vFiv2U9hgmJiYndvu+PQGiwFKaTbiJdYheXUfDSC8W/8 6t39xp3onUFz9YjYTT7wnCECf7jrsHHgJweHi+GmIX0DU5JTfZcdU97LXOGRn5EAdP6I /GxnmH9kIQWA/gKl0FHx0KfVV3qYBnnECZUwO2JQZVO2pEQjVQU3hZqKcv6/V8yT3aeW 8a2tp06Z1LACO/xUMCJgH3pkf2yB+uaAOtO5t6Mbam+HDOFdKdng/H94sdrUrA1ztS+j 11GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b11-20020a170902bd4b00b001a0598795ecsi3129658plx.148.2023.04.06.22.55.20; Thu, 06 Apr 2023 22:55:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232278AbjDGFxS (ORCPT + 99 others); Fri, 7 Apr 2023 01:53:18 -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) X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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.