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 X-Spam-Level: X-Spam-Status: No, score=-6.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62E55C433B4 for ; Tue, 18 May 2021 06:49:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48C60611BD for ; Tue, 18 May 2021 06:49:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242315AbhERGuT (ORCPT ); Tue, 18 May 2021 02:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235012AbhERGuT (ORCPT ); Tue, 18 May 2021 02:50:19 -0400 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF568C061573 for ; Mon, 17 May 2021 23:49:00 -0700 (PDT) Received: by mail-io1-xd34.google.com with SMTP id n10so8365438ion.8 for ; Mon, 17 May 2021 23:49:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3HopsH6N9F8FpkG4FSoTMtRMwuiSWSuF3ZB9X+VJCjU=; b=LETfA+HNnfbbscLemZLHMHTU1ucDVUTbar59Z+Ip1n1aOSxU2vCiyi6AnzZ7ISe1Ci d5+6nDZp7u09C4wccj2HMQoLbhxVgGmyilxSsMMqy6XnJ9Gh0XN/+XAYDZzV88am1gOT FB7ehF0SoAEZFAQ80iPByl3CmJPeIGWiXIdbM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3HopsH6N9F8FpkG4FSoTMtRMwuiSWSuF3ZB9X+VJCjU=; b=G1bEtlzshqYnn9y/MO5kB5DOP0n6Q9EcBrRr17+rTbSA+5zIX5A/L2qmCQ9gysysZ2 pX8PGwovMKTieS9vJZB6LqvkyIxJYB/SP8V+iSIe55cJfdqc+wmLyg3s6+/xPriLzDOs pHVDU+8JHMUCBSt95yB9vqVcb53QPMiu5ipYwgD1CQ2T0i6/yFzR+iI9NCwyFSvp32lf G0lti6sdhzKTPsC5fwbF48zXpUsPKx9sQ+gD0GvU3vrNkabvvXlvYjRKeNk8xlO30Pkc Vc2g36QJly0vGbYppKgyRsUMOSHG1QJIw7U62QeT5zxMY3smP4JIa7dQNEQ5x+3v8vkO 6Zhg== X-Gm-Message-State: AOAM532Gs1+7kjE8PK4FoyBRr4UBpXGEoga4luopmqvHTA3Mj+jrXyzf 0Z37ek02U0LQJcWxIJEuFcc/2iz+AienoQ== X-Google-Smtp-Source: ABdhPJzOU/rtGyIA7ITCTmldQXLQYR/WzLoGNNm+O2l7/aq7tpba/C0OXl3e41wLWn7wPiwAWDtX/g== X-Received: by 2002:a02:a68e:: with SMTP id j14mr3886679jam.122.1621320539865; Mon, 17 May 2021 23:48:59 -0700 (PDT) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com. [209.85.166.54]) by smtp.gmail.com with ESMTPSA id f12sm10308742ils.50.2021.05.17.23.48.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 May 2021 23:48:58 -0700 (PDT) Received: by mail-io1-f54.google.com with SMTP id z24so8357733ioj.7 for ; Mon, 17 May 2021 23:48:58 -0700 (PDT) X-Received: by 2002:a05:6638:32a8:: with SMTP id f40mr3969029jav.84.1621320526895; Mon, 17 May 2021 23:48:46 -0700 (PDT) MIME-Version: 1.0 References: <20210518064215.2856977-1-tientzu@chromium.org> <20210518064215.2856977-5-tientzu@chromium.org> In-Reply-To: <20210518064215.2856977-5-tientzu@chromium.org> From: Claire Chang Date: Tue, 18 May 2021 14:48:35 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v7 04/15] swiotlb: Add restricted DMA pool initialization To: Rob Herring , mpe@ellerman.id.au, Joerg Roedel , Will Deacon , Frank Rowand , Konrad Rzeszutek Wilk , boris.ostrovsky@oracle.com, jgross@suse.com, Christoph Hellwig , Marek Szyprowski Cc: benh@kernel.crashing.org, paulus@samba.org, "list@263.net:IOMMU DRIVERS" , sstabellini@kernel.org, Robin Murphy , grant.likely@arm.com, xypron.glpk@gmx.de, Thierry Reding , mingo@kernel.org, bauerman@linux.ibm.com, peterz@infradead.org, Greg KH , Saravana Kannan , "Rafael J . Wysocki" , heikki.krogerus@linux.intel.com, Andy Shevchenko , Randy Dunlap , Dan Williams , Bartosz Golaszewski , linux-devicetree , lkml , linuxppc-dev@lists.ozlabs.org, xen-devel@lists.xenproject.org, Nicolas Boichat , Jim Quinlan , Tomasz Figa , bskeggs@redhat.com, Bjorn Helgaas , chris@chris-wilson.co.uk, Daniel Vetter , airlied@linux.ie, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, jani.nikula@linux.intel.com, Jianxiong Gao , joonas.lahtinen@linux.intel.com, linux-pci@vger.kernel.org, maarten.lankhorst@linux.intel.com, matthew.auld@intel.com, rodrigo.vivi@intel.com, thomas.hellstrom@linux.intel.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org I didn't move this to a separate file because I feel it might be confusing for swiotlb_alloc/free (and need more functions to be non-static). Maybe instead of moving to a separate file, we can try to come up with a better naming?