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=-7.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 C2564C2D0A8 for ; Mon, 28 Sep 2020 22:44:43 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61EBC23A50 for ; Mon, 28 Sep 2020 22:44:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="A9kLW2Dj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61EBC23A50 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=F/cK1odnKk8u1KKhrvyzSVvxreebXTTcDy3HeiwPPFA=; b=A9kLW2DjjP7ShWV8F2qkQDs5a Vgd5DKrGbQv2dKwtIDDN/HQYA0nWm8RS6BOnfmejalJGR6AzWRf3OG/XTzu0sAAL1xcMZLx7eN2+y JdfUjSOBWSGziDRH4D0FCE1Vzl7QP9MOAbIrOcuiirxM+HPfJTkdTeZx30pMou9FJexDSWD17y7ap nu2fU3IUtHYMUFCyQonYi3eC6wm3byWZZ38AtgRKizgePBS2qmIvZu2epfMUoklxQqIhn9Ex79sKa A+Dzn4/V5K9DOiwGQSOD1KN3rrSsHOb6DCkPqimv68+QsbOiemtEpT/+mK25iCplLD8BA+0SN7yCl f6Ux8ozrg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kN1rr-0004RW-JR; Mon, 28 Sep 2020 22:43:35 +0000 Received: from mga02.intel.com ([134.134.136.20]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kN1rn-0004Pv-SI for linux-arm-kernel@lists.infradead.org; Mon, 28 Sep 2020 22:43:33 +0000 IronPort-SDR: F57g6Xnod7vG2i6R5GLI4bn9QizFfKg5vBnwU2Sl9yic5QXxTsKjBXqf621PYXZb+ebDui6slR vLznrR1o24BQ== X-IronPort-AV: E=McAfee;i="6000,8403,9758"; a="149733214" X-IronPort-AV: E=Sophos;i="5.77,315,1596524400"; d="scan'208";a="149733214" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Sep 2020 15:43:26 -0700 IronPort-SDR: rCA5Vj6kEombFDbuiVXDEh9SbyPI6CHa4Jbb52aiogSx3I1tyBXcgeHfvMnlFOC97xkJ9YRUDh tYozbinczf4A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,315,1596524400"; d="scan'208";a="294052885" Received: from otcwcpicx6.sc.intel.com ([172.25.55.29]) by fmsmga008.fm.intel.com with ESMTP; 28 Sep 2020 15:43:26 -0700 Date: Mon, 28 Sep 2020 22:43:26 +0000 From: Fenghua Yu To: Will Deacon Subject: Re: [PATCH v10 01/13] mm: Define pasid in mm Message-ID: <20200928224326.GA3252736@otcwcpicx6.sc.intel.com> References: <20200918101852.582559-1-jean-philippe@linaro.org> <20200918101852.582559-2-jean-philippe@linaro.org> <20200928222250.GA12847@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200928222250.GA12847@willie-the-truck> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200928_184332_081439_E52617FD X-CRM114-Status: GOOD ( 19.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jean-Philippe Brucker , jacob.jun.pan@linux.intel.com, Ravi V Shankar , fenghua.yu@intel.com, catalin.marinas@arm.com, joro@8bytes.org, Christoph Hellwig , linux-mm@kvack.org, iommu@lists.linux-foundation.org, Tony Luck , eric.auger@redhat.com, Jonathan.Cameron@huawei.com, zhangfei.gao@linaro.org, robin.murphy@arm.com, xuzaibo@huawei.com, linux-arm-kernel@lists.infradead.org, baolu.lu@linux.intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, Will and Jean, On Mon, Sep 28, 2020 at 11:22:51PM +0100, Will Deacon wrote: > 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 FYI. This patch is in x86 maintainers tree tip:x86/pasid now as part of the x86 PASID MSR series. Thanks. -Fenghua _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel