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 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2D1F3C433F5 for ; Fri, 4 Feb 2022 23:07:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id BB92382735; Fri, 4 Feb 2022 23:07:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id In2QqqHi3m-f; Fri, 4 Feb 2022 23:07:54 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by smtp1.osuosl.org (Postfix) with ESMTPS id BE8F882786; Fri, 4 Feb 2022 23:07:53 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 97B85C001A; Fri, 4 Feb 2022 23:07:53 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8AC4CC000B for ; Fri, 4 Feb 2022 23:07:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 79F2160D6C for ; Fri, 4 Feb 2022 23:07:52 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=linutronix.de header.b="EEXdM43Y"; dkim=neutral reason="invalid (unsupported algorithm ed25519-sha256)" header.d=linutronix.de header.b="jMvBOaIp" Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wskpaHeAv3qL for ; Fri, 4 Feb 2022 23:07:52 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by smtp3.osuosl.org (Postfix) with ESMTPS id E0EF560AF2 for ; Fri, 4 Feb 2022 23:07:51 +0000 (UTC) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1644016069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ld1PFYBLYxe6OCr2s2kgC8WKseN0fuK+fr3Z4cIGHcU=; b=EEXdM43YWo46V68aujQjWgrltp7wN0bI61WoXn8oEWXUGhsDkJVlbSYLsoizCE+o1vi4Yj fYyrfor/EEQMTJdDd7IKEg9wMLJVARTHls75/ey2yrDQATdI8KRUnesWnivrQmBowOK/tj a3YOG/Vv1PXc4dI+8wP2Y0j9MmrXLdPksjIFxQX87FkLu2KQzVkdEDjjhM6fWta+HZajiT EUFW0WQ/9lScvrcnJgHE0tFSQ56JwhsKxTVZ8sp+2X3N7Gyli87O7MLyUjVSSV1p7z1IQa Ak7UMA5ODZX6MWc2P/OTBRZifM+eKnJj4ROqhUw3xl6OZAEuyrWhU0CJfv1kww== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1644016069; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ld1PFYBLYxe6OCr2s2kgC8WKseN0fuK+fr3Z4cIGHcU=; b=jMvBOaIpolZEID1SEOxXurziTcZcYEdIzb/6ZjUwcwqwQdwZTGgmPAxu5pPaw9fac9erdB kyYeyxTCNno1lMDw== To: Fenghua Yu , Dave Hansen , Ingo Molnar , Borislav Petkov , Peter Zijlstra , Andy Lutomirski , Tony Luck , Lu Baolu , Joerg Roedel , Josh Poimboeuf , Jacob Pan , Ashok Raj , Ravi V Shankar Subject: Re: [PATCH v3 02/11] mm: Change CONFIG option for mm->pasid field In-Reply-To: <20220128202905.2274672-3-fenghua.yu@intel.com> References: <20220128202905.2274672-1-fenghua.yu@intel.com> <20220128202905.2274672-3-fenghua.yu@intel.com> Date: Sat, 05 Feb 2022 00:07:48 +0100 Message-ID: <874k5ecjsr.ffs@tglx> MIME-Version: 1.0 Cc: Fenghua Yu , iommu@lists.linux-foundation.org, x86 , linux-kernel X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" On Fri, Jan 28 2022 at 12:28, Fenghua Yu wrote: > This currently depends on CONFIG_IOMMU_SUPPORT. But it is only > needed when CONFIG_IOMMU_SVA option is enabled. > > Change the CONFIG guards around definition and initialization > of mm->pasid field. > > Suggested-by: Jacob Pan > Signed-off-by: Fenghua Yu > Reviewed-by: Tony Luck Reviewed-by: Thomas Gleixner _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu