Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp519472ybt; Wed, 1 Jul 2020 04:07:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQs1zJ+Qjuteer/Q4yu61qTYgw8zW7lhnz+NBwNxy5jYUuIWF+75M/LWdA0etogo6Ls+x7 X-Received: by 2002:a17:906:e089:: with SMTP id gh9mr21936416ejb.482.1593601679252; Wed, 01 Jul 2020 04:07:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593601679; cv=none; d=google.com; s=arc-20160816; b=uZoeHoLmWAxx4w208biTedtqT+EgdW3CcXBhBj1K74AVrVJWX4SBhp+uDXaR6DpKD5 emt5/tdm7Fx9bKTy31lV7Pzs3ooY3H5Viqaua71wp1211dZ7si+rGar7lclhb4V3twPf js3zB10L1HmQq13VfbGPTuSp5/Slr8mhsLRNO6EbjSGVaFmRgX5NdXNHs/Oi9zPYrZgy o3v2kORzyoE6XIPNaw0VTQWFwmANFeMgAYnFs7qElMeaAJo5Dh3N1gDZenjgYNpozcoy m5T5hkGAXkX08zTVBO6lDXLSFReDC8K67v/HfJ8fSD3bG5Yl/0cru+BuUjzhfeHC0KBb PPDQ== 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 :message-id:date:subject:cc:to:from; bh=XiMnYenYzpJPo+wfNLPzj4vYoozgS5o6aCFVPnRlJzg=; b=KFsSIdK4uG6IhJFpxb578cOeYnaVQp/Hl/nvAztlMP1tDkznrKxoXmFxr5Yz+sybcf hi79DaPvq2Fack+gsPxi6GR0UyEtj999KZCohr3SXRN+2qOMCUOeoO79lmWUJ/wg+bV7 O5bM0J3RTUh6CTH/3G47ZxYAIuojyACpOHxG9S7BnmeDgv+jKvhwcCx0cXC0/JLT6dHS zV9Z50iUPvXeAnxDIsNaxyQmhj4Lof0a+2ln7ErB/bmFI4H/bvFQXSH+1ydaMBYH6Xpb +g3BUUW8PUullFfCYCTi2dxiyvCOFilul+Nu6Z6shT0UokOUFcW6WoTtDeJ9YRLkFsbc sAyA== 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 q3si4289085edg.255.2020.07.01.04.07.35; Wed, 01 Jul 2020 04:07:59 -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 S1730219AbgGALHO (ORCPT + 99 others); Wed, 1 Jul 2020 07:07:14 -0400 Received: from mx2.suse.de ([195.135.220.15]:48086 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729952AbgGALHO (ORCPT ); Wed, 1 Jul 2020 07:07:14 -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 C3C48AC79; Wed, 1 Jul 2020 11:07:12 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org, x86@kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org Cc: Juergen Gross , Andy Lutomirski , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Boris Ostrovsky , Stefano Stabellini , Deep Shah , "VMware, Inc." Subject: [PATCH v2 0/4] Remove 32-bit Xen PV guest support Date: Wed, 1 Jul 2020 13:06:46 +0200 Message-Id: <20200701110650.16172-1-jgross@suse.com> X-Mailer: git-send-email 2.26.2 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 The long term plan has been to replace Xen PV guests by PVH. The first victim of that plan are now 32-bit PV guests, as those are used only rather seldom these days. Xen on x86 requires 64-bit support and with Grub2 now supporting PVH officially since version 2.04 there is no need to keep 32-bit PV guest support alive in the Linux kernel. Additionally Meltdown mitigation is not available in the kernel running as 32-bit PV guest, so dropping this mode makes sense from security point of view, too. Changes in V2: - rebase to 5.8 kernel - addressed comments to V1 - new patches 3 and 4 Juergen Gross (4): x86/xen: remove 32-bit Xen PV guest support x86/paravirt: remove 32-bit support from PARAVIRT_XXL x86/paravirt: cleanup paravirt macros x86/paravirt: use CONFIG_PARAVIRT_XXL instead of CONFIG_PARAVIRT arch/x86/entry/entry_32.S | 109 +------ arch/x86/entry/entry_64.S | 4 +- arch/x86/entry/vdso/vdso32/vclock_gettime.c | 1 + arch/x86/include/asm/fixmap.h | 2 +- arch/x86/include/asm/paravirt.h | 107 +----- arch/x86/include/asm/paravirt_types.h | 21 -- arch/x86/include/asm/pgtable-3level_types.h | 5 - arch/x86/include/asm/proto.h | 2 +- arch/x86/include/asm/required-features.h | 2 +- arch/x86/include/asm/segment.h | 6 +- arch/x86/kernel/cpu/common.c | 8 - arch/x86/kernel/head_32.S | 31 -- arch/x86/kernel/kprobes/core.c | 1 - arch/x86/kernel/kprobes/opt.c | 1 - arch/x86/kernel/paravirt.c | 18 -- arch/x86/kernel/paravirt_patch.c | 17 - arch/x86/xen/Kconfig | 3 +- arch/x86/xen/Makefile | 3 +- arch/x86/xen/apic.c | 17 - arch/x86/xen/enlighten_pv.c | 52 +-- arch/x86/xen/mmu_pv.c | 340 +++----------------- arch/x86/xen/p2m.c | 6 +- arch/x86/xen/setup.c | 35 +- arch/x86/xen/smp_pv.c | 18 -- arch/x86/xen/xen-asm.S | 182 ++++++++++- arch/x86/xen/xen-asm_32.S | 185 ----------- arch/x86/xen/xen-asm_64.S | 181 ----------- arch/x86/xen/xen-head.S | 6 - drivers/xen/Kconfig | 4 +- 29 files changed, 232 insertions(+), 1135 deletions(-) delete mode 100644 arch/x86/xen/xen-asm_32.S delete mode 100644 arch/x86/xen/xen-asm_64.S -- 2.26.2