Message ID | 20200817171558.325917-2-jean-philippe@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=RKuL=B3=lists.infradead.org=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@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 6AF3513A4 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Aug 2020 17:20:49 +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 2688420657 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Aug 2020 17:20:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="zbXqebhk"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="T75eOb0S" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2688420657 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+patchwork-linux-arm=patchwork.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:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=y/+04wrjc8iWORM7xrE7ei9DCFhxviLRts2aqppkCok=; b=zbXqebhk95bt/8f8LB4QSHbRY RkPetiq7S9L+dmk/FC3WGtfbdK2E2Cue9BGISdNdWiBGuxkjGw1xQIEvO9Ta0WFyskHVFx9jbovxL PDpibe9jWCioK9A8kKkhdXADCHklo+mX45Aru5b327g2LkGE8aDHG8JAUQgDiLdiPcKQWWiPd1cwj fCowA5oZjiDZWdPlHy0Ej0ymyJkBnoEPnmR/DXB0Js+9HOrFw0aPXzCVIbHgXiHOSJ23VnhL4+tCE XO6P9/ryoPFBb1wtSjVG0oIu/ogljD2EZ1nMCbM+UNwyRx6ilKvSUM810yJCsnOw5HbZd1g36qbFA SQ+prMlZA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1k7imU-0002Pu-0t; Mon, 17 Aug 2020 17:18:46 +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 1k7imG-0002Hk-7Q for linux-arm-kernel@lists.infradead.org; Mon, 17 Aug 2020 17:18:36 +0000 Received: by mail-ej1-x642.google.com with SMTP id a26so18666077ejc.2 for <linux-arm-kernel@lists.infradead.org>; Mon, 17 Aug 2020 10:18:29 -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=Boijbz1Cc9le/pi4BN56ApCuXytjHtrC9LCARztTCdk=; b=T75eOb0SOCdRUJttM7KnbbfvCMT+T8xjCY+zvsK8C6+0J2axZ8alnR7UGF495AkBaR uYwJW6JANn244f9LRVO0u3ioeHAFS82bi2K7xSkQYj5zU43VMgkt/mJ3hcCGOeLKz00s CJ0UDnPOdk6SyRsEHW6U5X0knHdLlGX6Sc34QqJBBN6unfcEox0jtdp1HmYEYAGXJSYz ZSlJ5GX8DnsV43FWoXwfELxbP/5tXn0JDV8KCSEcHr0MwL28kWu+LvBgoxF75zFQHi2s ta7LFqW6vW509B2QhGxoPvHuSckBrD31h9UWHXiC9N0rmO34sVkHKXmMAP2dEN7dZf4G YDHA== 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=Boijbz1Cc9le/pi4BN56ApCuXytjHtrC9LCARztTCdk=; b=qgHMGG2l1bgkPaURZ5PCEqMDvWwyZ8c3VH6MZzmvR31tmmxMSwD3t5p4yVPbZBRexZ uIdKHogaGQgfxPl9WVY+Fq5upUD95/tbtabJuUZIYM0EGXgCcmuiwyAwqpFI/ZTuoqNa 9rs395+SElykW3NkWS+V5O7sOl/aHvk3ZSEnWj+gKSNbR6ChGNTbbxqleuFZmscaaros SDGi0CTN7P4RKbu766Ra7IZgtRRPNwXSylizAW0tEhxw3rY+oaVMy8RN/GkXqT3XlB4F ZDap13iIN6Ihcef4YCtyKITOdF5brVmSlrOwuQ61R6zsRRwBR6Ab1v42ZPVWeEB41hDB IfVQ== X-Gm-Message-State: AOAM5335NQHMG520s+teX9ul2TiAEsoaOOjBblPwOmQaZp/nQwBc2vGg zByJUyM09/kidxiVwwzKkIL1vQ== X-Google-Smtp-Source: ABdhPJz06raczHFX6iTuHssmiZpDPuN9pbFl/atXm0zVV73yTmAdusFHM5vfXr85ksNp3KWW1xIAxA== X-Received: by 2002:a17:906:6cd:: with SMTP id v13mr15799520ejb.307.1597684709156; Mon, 17 Aug 2020 10:18:29 -0700 (PDT) Received: from localhost.localdomain ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id lc18sm14672502ejb.29.2020.08.17.10.18.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Aug 2020 10:18:28 -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 Subject: [PATCH RESEND v9 01/13] mm: Define pasid in mm Date: Mon, 17 Aug 2020 19:15:47 +0200 Message-Id: <20200817171558.325917-2-jean-philippe@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200817171558.325917-1-jean-philippe@linaro.org> References: <20200817171558.325917-1-jean-philippe@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200817_131832_293713_41027192 X-CRM114-Status: GOOD ( 13.56 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:642 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: fenghua.yu@intel.com, jacob.jun.pan@linux.intel.com, catalin.marinas@arm.com, joro@8bytes.org, robin.murphy@arm.com, Christoph Hellwig <hch@infradead.org>, zhengxiang9@huawei.com, Tony Luck <tony.luck@intel.com>, Jonathan.Cameron@huawei.com, zhangfei.gao@linaro.org, will@kernel.org, xuzaibo@huawei.com, baolu.lu@linux.intel.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 496c3ff97cce..1ff0615ef19f 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -542,6 +542,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; /*