Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1073422rwb; Fri, 23 Sep 2022 07:55:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4d4662Ydfg+lSRc+myIv6zpjh5ZjSdqJiRdMvmYRhv/p3l3+DX7BcmMWmIiy60rJDhCuF3 X-Received: by 2002:a05:6402:2994:b0:453:4c5c:d31c with SMTP id eq20-20020a056402299400b004534c5cd31cmr8736886edb.412.1663944946272; Fri, 23 Sep 2022 07:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663944946; cv=none; d=google.com; s=arc-20160816; b=E8Lw2waRURCeo2ebrCT6GVG5qEKizY5s7DBNw5NBMxldtnJfr9iPQ4v8eQXBI/YY61 w9rw6nG9t594ktxzi9YfoaIIS6P2Unnx0z2qrwETRZPc1+BH5R9Z7mBoAEcvo/FK/Cm5 55cr08zGPWIEoMzya4z80fY35NmHoGqTiAoVyxL9QfvG5Q4T+mRFBGDA/uMm8QOmy4Fv nFO/l8adv4nz+4KrMwubg1rDUbXrKAz9ZKMEsR92465uWbcOziNO4CobFvm2Ob4PEoH2 W9KnqzHaXhO35l9ZRB56IwvXSVjznVOr30p28WAAY2pMHmr9BZyHHpnKAppuD8BiDwHv gnag== 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=b3e07MKBqMzsxXbSjbckMrrlqXkyJ+/Z5r7wUBqg7G0=; b=ax/GVFt51PePOuW+AcJ0PtwBKquFtXYrc/aivxakM7E6EHEmpcdNJVcZr/T7Bpb/iS 5tthL8EC68PzcDeXUgcm9mhqEaIFcMGXyIUxeHoYorN2tzaps0RfmVV+HeCu6wzjHPK0 wothMYi65i76dNvLZgzP8ODioe5SlYGqv8vJ4+HQTZo6Got6RL4oHnN8tYRjrvpzrHQP 9Fsa1kZEwJCpU8I8wGWYwBBcxhZ/pVPVg0f+BdUEswreAoZLq2PoRCXkOyXaftvMVv+W 8V42TKiv9+pSkTQjagC5BijV28b/YEqdvHoGz/w4betlC/vpF1zXMuW+vy8A20jOsSVc nhBg== 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 t25-20020a1709060c5900b0072b1964e54esi6607090ejf.1007.2022.09.23.07.55.20; Fri, 23 Sep 2022 07:55:46 -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 S231947AbiIWOsM (ORCPT + 99 others); Fri, 23 Sep 2022 10:48:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41284 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229949AbiIWOsL (ORCPT ); Fri, 23 Sep 2022 10:48:11 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 051461406F4; Fri, 23 Sep 2022 07:48:09 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id C083267373; Fri, 23 Sep 2022 16:48:04 +0200 (CEST) Date: Fri, 23 Sep 2022 16:48:04 +0200 From: Christoph Hellwig To: Robin Murphy Cc: Nate Drude , iommu@lists.linux.dev, Jonathan Corbet , Christoph Hellwig , Marek Szyprowski , Borislav Petkov , "Paul E. McKenney" , Andrew Morton , Neeraj Upadhyay , Randy Dunlap , Damien Le Moal , Muchun Song , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, eran.m@variscite.com Subject: Re: [PATCH] dma-contiguous: add optional cma_name for cma= kernel parameter Message-ID: <20220923144804.GA18477@lst.de> References: <20220912163805.4113238-1-nate.d@variscite.com> 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=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham 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, Sep 13, 2022 at 11:45:17AM +0100, Robin Murphy wrote: > If userspace expects the CMA heap driver to expose a consistent name for > CMA heaps, shouldn't it be the CMA heap driver's responsibility to expose a > consistent name for CMA heaps? Tinkering with the core CMA code doesn't > feel like the right approach. Agreed. In fact I think exposing this name in a uapi seems like a really bad idea that is asking for a lot of trouble.