Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp520103ybt; Wed, 1 Jul 2020 04:08:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo7q0tAfdW8HE4Pdy0GSWGXqXLFDxWiOBdRLlGY8oGanPz/8v3ef+n3HGjudKvsZO9oUfv X-Received: by 2002:a17:906:d79c:: with SMTP id pj28mr21370664ejb.397.1593601730135; Wed, 01 Jul 2020 04:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593601730; cv=none; d=google.com; s=arc-20160816; b=b9z+7JhnYE/Oa0mfjLNrG1dsNqGY1Qap2S3IOZkNeBA6972AhgnetjDNNVQ4z4QngA KI+JnahC7qRl60/pxee+ehOLAdRgsiQxbdZXASGqDSd0Ebwpa4nuckLC8HFvTzCzjyuW 5kjIYMwFu3j5XSTqHZ2YgG70y/j5RL5KUMFP4QGuJ+Z2nrFRz2QE1nej5qNXdBRuRRf6 HPHu7wc0s/z3c4/vwiur6NEIKfWoFc8ow0/K0COOuOpH0oLzhDYO17Br6z7ZuZmNN5zM yQTShzT8GwW2dyZTsCA2CMZjIkevdAdyZr3E1HEg2PgWqDSjOqL5dCrvFoxwxV8ohD6Y KxnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=EsY+WLuC48dQ2A+Br9NWLk1/7CSo7bQX8i5O8wenbQE=; b=dVtkEsf2ntZ+QUq20AM9975E9ZxXIaRB1KTzPoyzzZVrQBcFbTXMQZk4tlxtJbWD1n spOYQAPy7VH2o1zbQZr97Tt5OZIVMss2Tt81x7KfoadHmg6DPXa+z02r2yALh+wJsRwB sha+i7gGhWA/vU29ydECb5vzTiQj5ALJAss+fsNolygtiGwkk026OYTFzssWetIShRLf uZECMrUvrufU3h1m7sUQJbeVfYqG4l8COaaVleGe8jVozjzZg9as7c9b32K08W7AyY/L 6dMLIJsUdz5ZFPTJwfSIDDnQC9zUkHZFVhZJNY1Q2YX+vSr6dyIboYI1aC/+yx9ldW5e UxBA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dm9si4772261ejc.624.2020.07.01.04.08.26; Wed, 01 Jul 2020 04:08:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730298AbgGALH3 (ORCPT + 99 others); Wed, 1 Jul 2020 07:07:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:48216 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730235AbgGALHR (ORCPT ); Wed, 1 Jul 2020 07:07:17 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 6CB08AD72; Wed, 1 Jul 2020 11:07:16 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Juergen Gross , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" Subject: [PATCH v2 4/4] x86/paravirt: use CONFIG_PARAVIRT_XXL instead of CONFIG_PARAVIRT Date: Wed, 1 Jul 2020 13:06:50 +0200 Message-Id: <20200701110650.16172-5-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200701110650.16172-1-jgross@suse.com> References: <20200701110650.16172-1-jgross@suse.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There are some code parts using CONFIG_PARAVIRT for Xen pvops related issues instead of the more stringent CONFIG_PARAVIRT_XXL. Signed-off-by: Juergen Gross --- arch/x86/entry/entry_64.S | 4 ++-- arch/x86/include/asm/fixmap.h | 2 +- arch/x86/include/asm/required-features.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/x86/entry/entry_64.S b/arch/x86/entry/entry_64.S index d2a00c97e53f..cb715d2b357d 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -45,13 +45,13 @@ .code64 .section .entry.text, "ax" -#ifdef CONFIG_PARAVIRT +#ifdef CONFIG_PARAVIRT_XXL SYM_CODE_START(native_usergs_sysret64) UNWIND_HINT_EMPTY swapgs sysretq SYM_CODE_END(native_usergs_sysret64) -#endif /* CONFIG_PARAVIRT */ +#endif /* CONFIG_PARAVIRT_XXL */ /* * 64-bit SYSCALL instruction entry. Up to 6 arguments in registers. diff --git a/arch/x86/include/asm/fixmap.h b/arch/x86/include/asm/fixmap.h index b9527a54db99..f1422ada4ffe 100644 --- a/arch/x86/include/asm/fixmap.h +++ b/arch/x86/include/asm/fixmap.h @@ -99,7 +99,7 @@ enum fixed_addresses { FIX_PCIE_MCFG, #endif #endif -#ifdef CONFIG_PARAVIRT +#ifdef CONFIG_PARAVIRT_XXL FIX_PARAVIRT_BOOTMAP, #endif #ifdef CONFIG_X86_INTEL_MID diff --git a/arch/x86/include/asm/required-features.h b/arch/x86/include/asm/required-features.h index 6847d85400a8..3ff0d48469f2 100644 --- a/arch/x86/include/asm/required-features.h +++ b/arch/x86/include/asm/required-features.h @@ -54,7 +54,7 @@ #endif #ifdef CONFIG_X86_64 -#ifdef CONFIG_PARAVIRT +#ifdef CONFIG_PARAVIRT_XXL /* Paravirtualized systems may not have PSE or PGE available */ #define NEED_PSE 0 #define NEED_PGE 0 -- 2.26.2