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 2CB45C47428 for ; Wed, 30 Sep 2020 09:15:01 +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 A3B5D2071E for ; Wed, 30 Sep 2020 09:15:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hnsNVCYO"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ih7wiuP+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A3B5D2071E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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=Albe3ar0btQA/m+C+E3sHDrwa1jfBgPoEZy2i6Ksi4k=; b=hnsNVCYO0cg1tHcOHB38Ao2et 8/DFckzk68o73viVmwbcmXUrimfyDf5mrRznHkksjUNYs/o/7eQQZiUJninywOG6T7D5BGR1QgF2V rkjo4SGS2hrSyaAGuAjVfwmF/4TfJWRCYAnWtLKEGR/in0qgsUi6y7fAofc20+uocdc5JyPkXLX1M y8bMzJ/Mel4VrPAscPpN5ogS2KBj7cw9NXTFXsxug8SItb3if0+Cktsus6iVI0FjRula156q4jVK0 u52NtwDIUi5Hc72iooK+fnObl0MiAAp0AVGkoWBz9JPJdLNgI4maXt+bkz7RGRXk+viyrzjz6x4By LMpFkVfAg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNYB4-0007Fa-OR; Wed, 30 Sep 2020 09:13:34 +0000 Received: from mail-ej1-x642.google.com ([2a00:1450:4864:20::642]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kNYB2-0007EV-FD for linux-arm-kernel@lists.infradead.org; Wed, 30 Sep 2020 09:13:33 +0000 Received: by mail-ej1-x642.google.com with SMTP id o8so1700514ejb.10 for ; Wed, 30 Sep 2020 02:13:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mEZJKyrS5XxrmfX+vKtoicUX8NBQkBoZwbJX2LIAe+0=; b=ih7wiuP+bf+la7nGhKd07HAMuQoInCQcuFWhIzkUi+yZzttx4B1krA3bxzI0gPPPff hwhxhhYihEhWCdqd03aGcGtKtGroIXUGJUmp5Z5g2IbySHSWU6PB3wlbfx/doVCMMiK1 KWBlsF7zPkyp7NE/RgiPvqEz9YQOXCXtrpIRia5Fs1tECUA5w+Qxl6EP141d8GMTqHwN VXNtI55nBpFEeteRI6wjS4YAhzIuRDCXF19VfdOimjHjua+c3gZ6OG927v/h41r9Bo0s 7vxONyxWZcl2PD0S0UGVdhjODG0YzCSkhzMACmYevRcqM0+MaGsZ3iNy2XrwaQjK5qgy dsiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mEZJKyrS5XxrmfX+vKtoicUX8NBQkBoZwbJX2LIAe+0=; b=sdw06rTMgT+uv5vTRChRfmSiWtUFw62+BaUPMYUqMNZ85UM7hH5xqLsMWK871Tjeqd ppOk6P0Mwgdn0P+QwzGnyAe19E10oOExdceG/UdFN+ZxZ0vHs2dHqUSxAPbBMOvPTkdf /D8SP6HeGv3MYQQ5Fb8szbvAjWvmiEct4n5TuKAr+k1arbljhFamSr/4wEFtnmAipkwN PtkGXUfUFh3kkwjjio11Tqhmdr7xMWrM5ZUE7UCBKwuLD2EhESu+K1FAFO//K16bBy/U TxKC/OMfKizdowGY2NYmVMUekDVZ/E17b49n/6g26esmwhI90iKEWzwP+iy8wn/UAjj1 CRIg== X-Gm-Message-State: AOAM530RKlVFUGqp2ZQEbcPOrqKagF/DQXdbFgUn8Xe5o2s0ropDA/s/ IRf0TvI/gViVSFeKqbr6ZIiSrg== X-Google-Smtp-Source: ABdhPJyMh3NMUfizgJhdMG1kQkO80F7W0pXAlx5WUXKPEzQLQDdIkW8rI5u7n8prFVkjN8R5XRPUbg== X-Received: by 2002:a17:907:7290:: with SMTP id dt16mr447500ejc.508.1601457211229; Wed, 30 Sep 2020 02:13:31 -0700 (PDT) Received: from myrica ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id q12sm891542edj.19.2020.09.30.02.13.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Sep 2020 02:13:30 -0700 (PDT) Date: Wed, 30 Sep 2020 11:13:11 +0200 From: Jean-Philippe Brucker To: Fenghua Yu Subject: Re: [PATCH v10 01/13] mm: Define pasid in mm Message-ID: <20200930091311.GB1897266@myrica> References: <20200918101852.582559-1-jean-philippe@linaro.org> <20200918101852.582559-2-jean-philippe@linaro.org> <20200928222250.GA12847@willie-the-truck> <20200928224326.GA3252736@otcwcpicx6.sc.intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200928224326.GA3252736@otcwcpicx6.sc.intel.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200930_051332_507201_20B2FFAF X-CRM114-Status: GOOD ( 20.11 ) 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: Ravi V Shankar , jacob.jun.pan@linux.intel.com, eric.auger@redhat.com, catalin.marinas@arm.com, joro@8bytes.org, robin.murphy@arm.com, Christoph Hellwig , linux-mm@kvack.org, iommu@lists.linux-foundation.org, Tony Luck , Jonathan.Cameron@huawei.com, zhangfei.gao@linaro.org, Will Deacon , 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 On Mon, Sep 28, 2020 at 10:43:26PM +0000, Fenghua Yu wrote: > 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. Ah I missed that, glad to see it in v5.10 Thanks, Jean _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel