Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3162578imm; Fri, 10 Aug 2018 04:59:40 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy04Z6Wki9Ld2cwxSXPZ/eL/jbHJCSjqYIRJtjIf9I/FwNCPIW4fRspACJisa2Oa5pvD3Wk X-Received: by 2002:a63:7d7:: with SMTP id 206-v6mr6189736pgh.137.1533902380754; Fri, 10 Aug 2018 04:59:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533902380; cv=none; d=google.com; s=arc-20160816; b=z8VJcGQEUxkoYyq4gW9BbvMTHHgHOG7bbsWkgaYp0Grq7ize98x3Gq4rKDq8+kx0Ki iQ/zf85kD5bOqM52eUjOFZpwe/pyiWNRsqexo2Q2rHdPItnoK2HXowP9Tft6EAAECz44 tz4kfW/crNo2fNSSHJ9bXYFidGnjLkICwezrCpe4YQ+GEzum2KxgGLKXim6t/ohSZAv6 ov2QAQg8F4an0n/+cUFp3HLYJlN1ypTd/Nde7+bIABUjwdBJXc9tUtIGmV3Lk8veu1/5 Ir7aborTkEpbxqujMIAfeI3H6pwEPsVJchyVQ/solOxB/XNO/O9f5ONvd9LewixAOi/v B+Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=4lUjufzlwYI/ZVBLvfVAcSSltbyZ6U9POMUDpBRoYj8=; b=koLnuUe/HycupFSzuChj+z8RpoOd2sHqrgIC3mFWheQenPsL+KFtwlJrAAaUvNSM0h Vnf2iEMIhMCb06fZcnxm3fNxyCvbhdL7ck+PoMo1bUYlOS2PEraCv8UzBDzBo94Ogf3T xG8sv0CJ82FmIeeP86dU24OlTxaR79XmBSbFCjrqgTiXcRYeEdqGJnWfTaDKXain9oO0 ZGOlt7oDFKSagYO8UjsTkyKjeMMWtmsvaTGcV7SQfcmwjw0hIzCfxtv7PrEF+hVklxtv JhhLM6iAod4tKsqVcYs5okd54nn+ftcwAR8E3jf+c7MVaSTNqvUX+zE3/pHhy0PmZVIN Zwhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q28-v6si9638601pgm.362.2018.08.10.04.59.25; Fri, 10 Aug 2018 04:59:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727965AbeHJOWg (ORCPT + 99 others); Fri, 10 Aug 2018 10:22:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:38734 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727657AbeHJOWf (ORCPT ); Fri, 10 Aug 2018 10:22:35 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 47433AE92; Fri, 10 Aug 2018 11:52:58 +0000 (UTC) From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org, virtualization@lists.linux-foundation.org Cc: akataria@vmware.com, rusty@rustcorp.com.au, boris.ostrovsky@oracle.com, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, Juergen Gross Subject: [PATCH 06/10] x86/paravirt: introduce new config option PARAVIRT_XXL Date: Fri, 10 Aug 2018 13:52:48 +0200 Message-Id: <20180810115252.18213-7-jgross@suse.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20180810115252.18213-1-jgross@suse.com> References: <20180810115252.18213-1-jgross@suse.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A large amount of paravirt ops is used by Xen PV guests only. Add a new config option PARAVIRT_XXL which is selected by XEN_PV. Later we can put the Xen PV only paravirt ops under the PARACVIRT_XXL umbrella. Signed-off-by: Juergen Gross --- arch/x86/Kconfig | 3 +++ arch/x86/xen/Kconfig | 1 + 2 files changed, 4 insertions(+) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 887d3a7bb646..3c967b803c21 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -754,6 +754,9 @@ config PARAVIRT over full virtualization. However, when run without a hypervisor the kernel is theoretically slower and slightly larger. +config PARAVIRT_XXL + bool + config PARAVIRT_DEBUG bool "paravirt-ops debugging" depends on PARAVIRT && DEBUG_KERNEL diff --git a/arch/x86/xen/Kconfig b/arch/x86/xen/Kconfig index c1f98f32c45f..dd92d7bd3613 100644 --- a/arch/x86/xen/Kconfig +++ b/arch/x86/xen/Kconfig @@ -18,6 +18,7 @@ config XEN_PV bool "Xen PV guest support" default y depends on XEN + select PARAVIRT_XXL select XEN_HAVE_PVMMU select XEN_HAVE_VPMU help -- 2.13.7