[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] x86/Xen: drop leftover VM-assist uses


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 15 Feb 2023 12:27:52 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q2S2Z4nHnnZXHuZpBETj8tDkAK/fJe7Xebpm35w1m4Q=; b=QaK7lUquOyk2fJBwyxAn5sWY/oYTvLlaAPgU9w8IFCE9r4NEuqhrmoP88iubPD17uvqoQUcKBOyb37Djaer92ol74AhLUYEPXDQoCm46pO/jQRlCyabNWtAaM8dsjM2H1tF8M+oN+3emK3gLeigrMosM/AcvOgv8ZXldk8/Jes3ICZXIkiSUyQOoG/+k3w8SQe4gWVOXhZwazPq2mjiRnkPDHilnKryod7XReNAJ0HUg/1WniEb+196KXFg2E625DR/eYQyLhNowVt/uM85ScCurZ1Ba7drDaYFA27d9ZJ6YCojmgotOlkcrMEjEr+AkjASr3Ib1HhQF6amBYvZX9w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AzmABHkc7jRkL8uK/xfg5j9Nalx0miVaoav38962gBhqedvgRC83/+Lt618UGMVRVI5apUY1SoeiWiYfl9vSd87SvBgj7fMhT4PFUzTsqZs4Uhp5F4J2W+brpQlO+2mf3y/z0tAC+9rscVhhBsoTbRihUm9jThBUEolxk7tgo3AipeC4kOuNn5iFVFyEfPqEovPSF5gOMSjH6b4mPN0DgOMNciP/SXZrRM9H2Age6x29tFNeBFOj3vBoRj8QbcjaH1pcp6XWWd9nqNTe7xIo9h6J43FM2QG9BVHqCxSOWDclkWSNTE8dSF2OOrwZiu6AsEo7XZuF6s0IY5QLqMrjZw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Juergen Gross <jgross@xxxxxxxx>, Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
  • Delivery-date: Wed, 15 Feb 2023 11:28:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Both the 4Gb-segments and the PAE-extended-CR3 one are applicable to
32-bit guests only. The PAE-extended-CR3 use, furthermore, was redundant
with the PAE_MODE ELF note anyway.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

--- a/arch/x86/xen/setup.c
+++ b/arch/x86/xen/setup.c
@@ -934,12 +934,8 @@ void xen_enable_syscall(void)
 
 static void __init xen_pvmmu_arch_setup(void)
 {
-       HYPERVISOR_vm_assist(VMASST_CMD_enable, VMASST_TYPE_4gb_segments);
        HYPERVISOR_vm_assist(VMASST_CMD_enable, 
VMASST_TYPE_writable_pagetables);
 
-       HYPERVISOR_vm_assist(VMASST_CMD_enable,
-                            VMASST_TYPE_pae_extended_cr3);
-
        if (register_callback(CALLBACKTYPE_event,
                              xen_asm_exc_xen_hypervisor_callback) ||
            register_callback(CALLBACKTYPE_failsafe, xen_failsafe_callback))



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.