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=-9.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 7564CC2D0A8 for ; Mon, 28 Sep 2020 22:23:00 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C534023977 for ; Mon, 28 Sep 2020 22:22:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Vpgej5UC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C534023977 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4E2578E0001; Mon, 28 Sep 2020 18:22:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4935A6B005D; Mon, 28 Sep 2020 18:22:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D01C8E0001; Mon, 28 Sep 2020 18:22:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0116.hostedemail.com [216.40.44.116]) by kanga.kvack.org (Postfix) with ESMTP id 2740F6B005C for ; Mon, 28 Sep 2020 18:22:59 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id D9A5D180AD801 for ; Mon, 28 Sep 2020 22:22:58 +0000 (UTC) X-FDA: 77313896436.19.heart32_441690d27185 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin19.hostedemail.com (Postfix) with ESMTP id B4EE41AD1B0 for ; Mon, 28 Sep 2020 22:22:58 +0000 (UTC) X-HE-Tag: heart32_441690d27185 X-Filterd-Recvd-Size: 2506 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf20.hostedemail.com (Postfix) with ESMTP for ; Mon, 28 Sep 2020 22:22:58 +0000 (UTC) Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BB50A23976; Mon, 28 Sep 2020 22:22:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601331777; bh=KckGuHNjpXWgi3JvMZQ0Yewh2mKrNMi6Nq4AclxpP/w=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Vpgej5UCzziq1X9FOdkJKve7/ui1qENMXIsoy6papwhzW+n3Kfh/kBthk9Od085D6 /01kxZQxRBsJ6g59/7b/rpc5zD6P6J5ZLbNIPoUcWT3PN4h3wCXg0w9MpRtZZ72Idi 5qkMxo/pxWThi01CSbWNg6KdX02ROJWZnJfIQ5zk= Date: Mon, 28 Sep 2020 23:22:51 +0100 From: Will Deacon To: Jean-Philippe Brucker Cc: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org, joro@8bytes.org, catalin.marinas@arm.com, robin.murphy@arm.com, baolu.lu@linux.intel.com, Jonathan.Cameron@huawei.com, jacob.jun.pan@linux.intel.com, zhangfei.gao@linaro.org, xuzaibo@huawei.com, fenghua.yu@intel.com, eric.auger@redhat.com, Christoph Hellwig , Tony Luck Subject: Re: [PATCH v10 01/13] mm: Define pasid in mm Message-ID: <20200928222250.GA12847@willie-the-truck> References: <20200918101852.582559-1-jean-philippe@linaro.org> <20200918101852.582559-2-jean-philippe@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200918101852.582559-2-jean-philippe@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Bogosity: Ham, tests=bogofilter, spamicity=0.009976, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Sep 18, 2020 at 12:18:41PM +0200, Jean-Philippe Brucker wrote: > From: Fenghua Yu > > PASID is shared by all threads in a process. So the logical place to keep > track of it is in the "mm". Both ARM and X86 need to use the PASID in the > "mm". > > Suggested-by: Christoph Hellwig > Signed-off-by: Fenghua Yu > Reviewed-by: Tony Luck > --- > https://lore.kernel.org/linux-iommu/1600187413-163670-8-git-send-email-fenghua.yu@intel.com/ > --- > include/linux/mm_types.h | 4 ++++ > 1 file changed, 4 insertions(+) Acked-by: Will Deacon Will