Message ID | 20200723145724.3014766-2-jean-philippe@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=FY6n=BC=kvack.org=owner-linux-mm@kernel.org> Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2436F13B4 for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 23 Jul 2020 15:06:21 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id E560D207BB for <patchwork-linux-mm@patchwork.kernel.org>; Thu, 23 Jul 2020 15:06:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="A3x9ZNUi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E560D207BB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 284006B0007; Thu, 23 Jul 2020 11:06:17 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 22E916B0008; Thu, 23 Jul 2020 11:06:17 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 144B56B000A; Thu, 23 Jul 2020 11:06:17 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0091.hostedemail.com [216.40.44.91]) by kanga.kvack.org (Postfix) with ESMTP id F02676B0007 for <linux-mm@kvack.org>; Thu, 23 Jul 2020 11:06:16 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id A7512BF09 for <linux-mm@kvack.org>; Thu, 23 Jul 2020 15:06:16 +0000 (UTC) X-FDA: 77069666352.20.hope63_3b0309926f3f Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin20.hostedemail.com (Postfix) with ESMTP id 2854818008043 for <linux-mm@kvack.org>; Thu, 23 Jul 2020 15:05:51 +0000 (UTC) X-Spam-Summary: 1,0,0,50adf50512234b72,d41d8cd98f00b204,jean-philippe@linaro.org,,RULES_HIT:41:355:379:541:800:960:967:973:988:989:1260:1311:1314:1345:1359:1437:1515:1534:1540:1711:1714:1730:1747:1777:1792:2393:2525:2559:2563:2682:2685:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3138:3139:3140:3141:3142:3351:3865:3866:3867:3868:3870:3871:3872:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4043:4250:4321:5007:6261:6653:6742:7576:7903:9025:9391:10004:11026:11473:11658:11914:12043:12296:12297:12438:12517:12519:12555:12679:12895:12986:13069:13311:13357:13845:13894:14096:14181:14384:14394:14721:14777:21080:21433:21444:21451:21627:21740:21749:21819:30054:30064:30070,0,RBL:209.85.208.68:@linaro.org:.lbl8.mailshell.net-66.201.201.201 62.14.10.100;04y8uaagt1sy7dznyz3tdcashex35ycaqrksaemabid169azmgpec6mex9wxjnh.riwfismmz6hqz3fdmkpiaz3iree3f8zx9jemr5c3arkoidch3w5xgatwx6wbdyj.c-lbl8.mailshell.net-223.238.255.100,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:n ot bulk, X-HE-Tag: hope63_3b0309926f3f X-Filterd-Recvd-Size: 4179 Received: from mail-ed1-f68.google.com (mail-ed1-f68.google.com [209.85.208.68]) by imf07.hostedemail.com (Postfix) with ESMTP for <linux-mm@kvack.org>; Thu, 23 Jul 2020 15:05:48 +0000 (UTC) Received: by mail-ed1-f68.google.com with SMTP id dg28so4766927edb.3 for <linux-mm@kvack.org>; Thu, 23 Jul 2020 08:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+GSsqAmRYo5YOIIF67wsMh/QH5K3e+p6piN1dBGQeZo=; b=A3x9ZNUiNkchSCqN/Y2+rVNEG3cooy0NdE4kKd7eF/yJvy+eswwswqhDneZrH+0MDs RmA4Nif/EZz90XMTqfeItoWYJlHqiEICJJlaLRij1mMMCTpUfr8fwGBx4nFVx3Re+RPU Ed0DGk0hVY2QLyVaVA0DLQAd5VrmmzU22wZmOI6SKxiPhLuKV5F/uYLOv6zzj0qwcdYh S8AkkV9WpcC+Ub1/+qQ6N1mNOGESjUBC9EWMGEQ+RiM2yNBzSjOvlcd0YL1WTXmuRPQ8 Ykf5ZbhAWgb40CDYdk0/Nlsp7h1U+4XL64SViJMsNsXbz+VSM19XhhPngaq0PvEVtL2q ULlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+GSsqAmRYo5YOIIF67wsMh/QH5K3e+p6piN1dBGQeZo=; b=EyygvSzkYzknMglQ0Si5OraqbOkdKDEOJBVhg6Zkms1Ja5B8NsNXiYSiexqVAUVv1r ZijILXPPUO5vA8sac6z9PawhA4qQdGeJ0wfUzxuyRQtGSoBaR2pVvHiOcMwwYjV+y0Bi E3X2VbmoJObtNNq38CkI0CJWXbaL/uJmDL/2Jzrm8ZSjhnfDTB3yzEe4Sc0vV++cy4Ho kJeQ+M+2POxMlXgHDnyLcOLexdt/vDz7BMeFiVKgpmOnRaYXvmz4M/YicGAbnAqVvwv+ tNfWIcDdVgkekxTjI/K7CHzsGP5mrcdC7trz0PWieLDW7LNlQMKa4x2hQluFuPolIbVL gtqA== X-Gm-Message-State: AOAM53008HyBXwpseZ8b2CQluaSgvodr5TDEbkoxpmRc4/XcNsi+a3Lg ORio6a9SNj8f3l4GjKLxKjbh9A== X-Google-Smtp-Source: ABdhPJyXttub8o+VyJgO+UKD+ccLd3hT5h2Uwz/upuFRlXsrp3TZZ1ZjH8cTHC96Joh6797HCzPm2A== X-Received: by 2002:a50:ee87:: with SMTP id f7mr4628941edr.355.1595516747245; Thu, 23 Jul 2020 08:05:47 -0700 (PDT) Received: from localhost.localdomain ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id k15sm2145952eji.49.2020.07.23.08.05.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 08:05:46 -0700 (PDT) From: Jean-Philippe Brucker <jean-philippe@linaro.org> To: iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-mm@kvack.org Cc: joro@8bytes.org, catalin.marinas@arm.com, will@kernel.org, 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, zhengxiang9@huawei.com, fenghua.yu@intel.com, hch@infradead.org, Tony Luck <tony.luck@intel.com> Subject: [PATCH v9 01/13] mm: Define pasid in mm Date: Thu, 23 Jul 2020 16:57:13 +0200 Message-Id: <20200723145724.3014766-2-jean-philippe@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20200723145724.3014766-1-jean-philippe@linaro.org> References: <20200723145724.3014766-1-jean-philippe@linaro.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 2854818008043 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam02 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
iommu: Shared Virtual Addressing for SMMUv3 (PT sharing part)
|
expand
|
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 64ede5f150dc..d61285cfe027 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -538,6 +538,10 @@ struct mm_struct { atomic_long_t hugetlb_usage; #endif struct work_struct async_put_work; + +#ifdef CONFIG_IOMMU_SUPPORT + u32 pasid; +#endif } __randomize_layout; /*