Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4147996ybi; Mon, 15 Jul 2019 04:38:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUA74hM23mMgV2s3dCZmYZcUlfmwY06ybjAi7tJLl8O3xii8y1UT9zoU2LqNPB7bn+VURz X-Received: by 2002:a17:90a:ae12:: with SMTP id t18mr29442459pjq.32.1563190707985; Mon, 15 Jul 2019 04:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563190707; cv=none; d=google.com; s=arc-20160816; b=UaqvxziBZ8NSNf8qr3NOtb8LyX/vwh/LTlD4r0HbVsd+S8+jSTaZ+eylvwsDU4VBOS LPrEpOS5nbcRBG02cK3jaSZmzdxbSwS3GqhHh8n2UBQnlzax6i/httd6FAsgpG4pvQ8z VYkuDKZ1XhHGPJkQJiYwy8GxDLvb6Z8BY3OcjvFukhZpmB2vADL4PUsIMWjVuFPLgLnS P+0AZz9Yptl6MxCybMCXXllGmz8s2wHGuOrFRwlouwHm3sO62ASH2wgMrfThvM+rxUt8 2gyQmT9IVNudGBzKM28KoKaKmAvbI9OUxqEQz3Dkf/pOq2LNKDpR2Zui8NFi5U4eBLbo 4R8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=NIDqT0UatxaK5RZo56dyagDQGuoas1S6U0WygWQOeVY=; b=d/n0G8ffstMJPpNFiXca+c66/s+zvODsbPt9teXcgT1umDBuqVNtUwpbgL1C+OHSFN S4Nmuvo2Pu8xoEhxHxg+4cSysyBG1f+uAF9xpSMUIHkcNR1c83RDTZjFkOvuPthfUtnS IeHKCUrqmI6OqWt7mS+k/wp3HgFvqob4+iruOGC8afvlgAIhcV8i6nfEJXbyfIqqDWDe ZMbTh0+mfrqVM9Yet9i98cAos1845m/UmmObTA52maaA05v+K//56+3uJcK+ctB9U6yY MwefM0jNBUB4WOoLiL+9whrmQI0lQkvdzx1iVIpfRn5oyjES2H4/Hs1TIT+mrp1+EzJd RoGw== 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 a59si9156894plc.319.2019.07.15.04.38.11; Mon, 15 Jul 2019 04:38:27 -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 S1729934AbfGOLht (ORCPT + 99 others); Mon, 15 Jul 2019 07:37:49 -0400 Received: from mx2.suse.de ([195.135.220.15]:52770 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729847AbfGOLhq (ORCPT ); Mon, 15 Jul 2019 07:37:46 -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 996C8ADBF; Mon, 15 Jul 2019 11:37:44 +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 , Alok Kataria Subject: [PATCH 0/2] Remove 32-bit Xen PV guest support Date: Mon, 15 Jul 2019 13:37:37 +0200 Message-Id: <20190715113739.17694-1-jgross@suse.com> X-Mailer: git-send-email 2.16.4 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. Juergen Gross (2): x86/xen: remove 32-bit Xen PV guest support x86/paravirt: remove 32-bit support from PARAVIRT_XXL arch/x86/entry/entry_32.S | 93 -------- arch/x86/entry/vdso/vdso32/vclock_gettime.c | 1 + arch/x86/include/asm/paravirt.h | 105 +-------- arch/x86/include/asm/paravirt_types.h | 20 -- arch/x86/include/asm/pgtable-3level_types.h | 5 - arch/x86/include/asm/proto.h | 2 +- arch/x86/include/asm/segment.h | 2 +- arch/x86/include/asm/traps.h | 2 +- arch/x86/kernel/cpu/common.c | 8 - arch/x86/kernel/paravirt.c | 17 -- arch/x86/kernel/paravirt_patch_32.c | 36 +-- arch/x86/xen/Kconfig | 3 +- arch/x86/xen/Makefile | 4 +- arch/x86/xen/apic.c | 17 -- arch/x86/xen/enlighten_pv.c | 45 +--- arch/x86/xen/mmu_pv.c | 326 +++------------------------- arch/x86/xen/p2m.c | 4 - arch/x86/xen/setup.c | 44 +--- arch/x86/xen/smp_pv.c | 19 +- arch/x86/xen/xen-asm.S | 14 -- arch/x86/xen/xen-asm_32.S | 207 ------------------ arch/x86/xen/xen-head.S | 6 - arch/x86/xen/xen-ops.h | 5 - drivers/xen/Kconfig | 4 +- 24 files changed, 57 insertions(+), 932 deletions(-) delete mode 100644 arch/x86/xen/xen-asm_32.S -- 2.16.4