Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp484732pxu; Thu, 7 Jan 2021 09:48:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzt5T1ehnJ8xOx7u7bT+xOe+DG9P2KnM7BkKxtsh3vzmY6TGJtBTkZCp/6KkLXY3bfoQOx5 X-Received: by 2002:a17:906:d0c1:: with SMTP id bq1mr6928148ejb.202.1610041716235; Thu, 07 Jan 2021 09:48:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610041716; cv=none; d=google.com; s=arc-20160816; b=O/dL9LHMrhOHzlTzbU72U1FGlfkz7ZNGdfppA8WgUO96T+sbkxEylySyK50VV0LUby xxrK9HAtUPL24UnMpqNlH118ViOgsaBOenjj30wLYmp9zFj5/odHE831gMaB6Cazblzl kY3HgdK1Bka8pWiGtrChZQtqOnxC2Fmkdd34joFC99S5JjWWsfs1ME3vSC1VKfrq9Ln4 HiG9cIczeQS83BHHiESNpff8nY5Nsglaxr8A1euesgrT2savqpDyxe54od2kGFQ3fdY2 Rym4ueRTjRe62OK2VMckYPKAzV7s4JLeCmR59vWxca6FV65jD1arsTJuImCCffH2uQz0 Bguw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=BpWY74vWVa1L8Raewx13V4/TopbXG6j16e2kYWK8TMo=; b=LEYAnlXJAjNFjMZ9iEVV9vdC9hOnlndA9AwvIU//cDULI3x1D/Folkl37qi8E5zC0v 8HUkOg6Mml7A/0fH+FeSae7ejY/KdugA443iYKcQFo4Zl1cbfGGAMv24XkKj11bzaXzj cbi/jQPQpkJ+4U8GywqELhNTy+jJSIpWAY1ZEWc2Q109AoC9ZfqaKFaMBf+8ljHSJZ0u cihZkKsGcqRsCdXN1NL1p/4P/HjXwsj8OTP46SRyTvu/MF0bHqgHppYkZvuLheOZYghA m7xAc/sgmeiYRq+nosFqo5/7RE0Moh28u+LUS3HI6+/SWkwzkTy7VhHEGJ5c+Nv9R6cO ZpwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RjsCv0SB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n23si2428357ejr.321.2021.01.07.09.48.12; Thu, 07 Jan 2021 09:48:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=RjsCv0SB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729085AbhAGRqa (ORCPT + 99 others); Thu, 7 Jan 2021 12:46:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728843AbhAGRq3 (ORCPT ); Thu, 7 Jan 2021 12:46:29 -0500 Received: from mail-il1-x12b.google.com (mail-il1-x12b.google.com [IPv6:2607:f8b0:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A0E7C0612F6 for ; Thu, 7 Jan 2021 09:45:49 -0800 (PST) Received: by mail-il1-x12b.google.com with SMTP id q5so7503851ilc.10 for ; Thu, 07 Jan 2021 09:45:49 -0800 (PST) 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=BpWY74vWVa1L8Raewx13V4/TopbXG6j16e2kYWK8TMo=; b=RjsCv0SB3G2nr2VhqjbT5oDz8W7DNBKHdnzTnNqkj1iJof0+bV7fP3DrwRkndy/u4k Ygt4ObgL6c6fDwINAZBbrt6q9Nyu03KM8Jtf+6CaIHJDQhHurg1bvBaIn5xYb5DYi3P3 O7pPyZUh0Fpetb+g793rmuwtHVk+BC0HuhiVQ= 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=BpWY74vWVa1L8Raewx13V4/TopbXG6j16e2kYWK8TMo=; b=jgAqUdR4WR0mgFfXkmsXaaL1caw8m9h6lEBXTkaz05c480Xn7cPEgDOA3blwf/vnAr vbL2PJke5usVVG4lDDUItXUigd4xcesULHVnhq70BTs9s9Gxn2O+2jMFUHPzMl+cuGE5 PcpH3lkgxaNoD+/sEzlsQOQz1S2MgRCBemuuWr1/zsMN7N8jj2c0ajHKYDtqI8QNzqte zhLKvB/W8iIdZdcHwCi+QnNGg/7mR42KvbJqPwz6/cnxRmDLvILihzTsa7LHkpIZbDZH 7gGWleBgvpFHKd6tpMvwTwDP5dbulSOnWoxLjuZI+DBmrRRAXa83zEJoAPrukGBVam4n G2lw== X-Gm-Message-State: AOAM531Tj/Gyfv4ROGD6ucZaFsCm/Y+LHz3bJJivYXNtePsq97mPbjss w+cpkwf18fer5nF6gKpujCQrKxUWseILwgTI X-Received: by 2002:a92:5a5a:: with SMTP id o87mr12317ilb.138.1610041548697; Thu, 07 Jan 2021 09:45:48 -0800 (PST) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com. [209.85.166.50]) by smtp.gmail.com with ESMTPSA id h2sm4504484ili.56.2021.01.07.09.45.48 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Jan 2021 09:45:48 -0800 (PST) Received: by mail-io1-f50.google.com with SMTP id u26so6980235iof.3 for ; Thu, 07 Jan 2021 09:45:48 -0800 (PST) X-Received: by 2002:a92:c206:: with SMTP id j6mr9799328ilo.189.1610041168940; Thu, 07 Jan 2021 09:39:28 -0800 (PST) MIME-Version: 1.0 References: <20210106034124.30560-1-tientzu@chromium.org> <20210106034124.30560-3-tientzu@chromium.org> <20210106185241.GA109735@localhost.localdomain> In-Reply-To: <20210106185241.GA109735@localhost.localdomain> From: Claire Chang Date: Fri, 8 Jan 2021 01:39:18 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v3 2/6] swiotlb: Add restricted DMA pool To: Konrad Rzeszutek Wilk Cc: Rob Herring , mpe@ellerman.id.au, benh@kernel.crashing.org, paulus@samba.org, "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , will@kernel.org, Frank Rowand , boris.ostrovsky@oracle.com, jgross@suse.com, sstabellini@kernel.org, Christoph Hellwig , Marek Szyprowski , 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@intel.com, heikki.krogerus@linux.intel.com, Andy Shevchenko , rdunlap@infradead.org, dan.j.williams@intel.com, Bartosz Golaszewski , linux-devicetree , lkml , linuxppc-dev@lists.ozlabs.org, "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , xen-devel@lists.xenproject.org, Tomasz Figa , Nicolas Boichat Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg and Konrad, This change is intended to be non-arch specific. Any arch that lacks DMA access control and has devices not behind an IOMMU can make use of it. Could you share why you think this should be arch specific? Thanks!