Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2052775pxa; Fri, 7 Aug 2020 01:41:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJU1Q20pr6AwKHgQZVDsiPn7DiDZRkTglcIn8czIURJn129l9df0ZYRR/4K/UhlDB5ppTR X-Received: by 2002:a50:e803:: with SMTP id e3mr7509568edn.75.1596789694030; Fri, 07 Aug 2020 01:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596789694; cv=none; d=google.com; s=arc-20160816; b=sOGk5bO9T3gFzMKUVKlJ2Lj3VJkNWaHluGc/WbbfsQgKqJzw5I+j+DCA3N3ObUUmO9 AF1bqPTAOvQS7WfMZWqKb4i1AOUPuGTM/YW8J00mltFrEn4YG8iEUaU9ClHdAl4BWKND wGr1MRL8ux/ZUgfuotV4F8+jlUmMPO1WNA48Ge+0hYgM2xYlkmw4BybEzPMNOVnBzLA1 0Tq/ROo13w40r+O8dLoYa5zbp4xtIRJFMQxnV2bxVwR5CM2BurZ694rNEm7aYGZiH1Xd haIHusxh4dGT59Otpck12YUuLQkAPV4zDYpqRoDqPunltqCyFU+GwIl7Chw/osAN98Kw VbRQ== 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=Aauv1wM9Io16X+bzGk2CC5jHdcFGkBEanhGMCHTy56k=; b=k932Da0zmjAvDgV4WmmWSpxyLjNJ3Mojw+3gXKkJ/Xg6USlnmZ4YkUQL9L7FcyTETU l5GeLjZhJyJK7kngEcymMIhjUNm1y27c4cKN1wTZpO2UO03tUnZcQmDEyyeGUfzSGqHz 6Ecfdc++C62TByqAWKmgHxzxZLzZZyCIYP8hlb7BcOyp4HggVbN0SaNQN5joL6xigs/G F1RafBNw17DBMgx3x4SGTu5ky9TwQBPsWWBtpmOgd5YPY44U2g72LvACQn6g+P2URWaE oF02oSeHf/oMW1wB4hHHd/9U2oatqkb8YQ8VzrczJFdXMMSjy9sTC/A/oKvLZ9rFFR3j eUDA== 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 g27si4783841ejb.556.2020.08.07.01.41.11; Fri, 07 Aug 2020 01:41:34 -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 S1728138AbgHGIis (ORCPT + 99 others); Fri, 7 Aug 2020 04:38:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:59732 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726619AbgHGIie (ORCPT ); Fri, 7 Aug 2020 04:38:34 -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 8FC3DB644; Fri, 7 Aug 2020 08:38:50 +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 v3 6/7] x86/paravirt: use CONFIG_PARAVIRT_XXL instead of CONFIG_PARAVIRT Date: Fri, 7 Aug 2020 10:38:25 +0200 Message-Id: <20200807083826.16794-7-jgross@suse.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200807083826.16794-1-jgross@suse.com> References: <20200807083826.16794-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 70dea9337816..26fc9b42fadc 100644 --- a/arch/x86/entry/entry_64.S +++ b/arch/x86/entry/entry_64.S @@ -46,13 +46,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