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

[PATCH 00/16] x86/mm: large parts of P2M code and struct p2m_domain are HVM-only


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 5 Jul 2021 18:03:59 +0200
  • 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-SenderADCheck; bh=M3Ld5qWJYrn3TBkJ6YztOyq6WZrcRebFYQO4d/wCnrg=; b=eouPJaA9JOTfzHT/+Zbky8jqEFMRH59qoBsQ4CZk6IMumNM0OtRqBJ9mxwJ7lVll9m9dbmrAtmu5YvvFXHRF/cifmJ+XN0vBsWGxuSgpsak3NDlYEpfCLoWEppKKG+wB9j2bJliWAxU8tu07hO/92v4KWA9D7y5Y/oLjTvniE731BvqGejuVvbLrzpaZvFZC7P3Anc/vDKqf9ZnJxlImij7fZhwIN6L1qkRot8ythHNatLBbZA48yE3z9bJ/0d6N7OsPcRiQc5usyv9J7y8d8zRbDtt1Zucrp2MNnW5Ht/BQEpxMEYPAHZpbDMjByO2My/1qyjanoo5nhhDjwGTDUg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=medWGvEGuXDEwZ/ko0sb8NqLayJ1NLtVjoIyexdXPKcVZBoiTMJX+KDRrnUb9C4+7KiVz/IYEhwNOAloSrJFAJIEYU3hdtZ9+8ZBKPpS0hrmYMP4l5oezwO2j2lyJvBPyNin3E1BvMBefBRjlC8H5/byKk55RRviUm4Lr8TXW1/PaLXv92HjF/58X4yy6XmlG3AN/85bxX/+oV2gsHveVB/8bq8ZT1hapOJ4HxBO9M3LMXYvY8r25pE2Wg+Hrsv2YHtBs/3ACMP/d63rMqGjLhq7Bb+Eg0mKEPZxKS8oohmumqpqPGhbU6dLT/EUgT47coQJLlGSb64TlIkMohKtMg==
  • Authentication-results: citrix.com; dkim=none (message not signed) header.d=none;citrix.com; dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>
  • Delivery-date: Mon, 05 Jul 2021 16:04:14 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

The primary goal of this series is to leave p2m.c with, as its leading
comment suggests, just code for "physical-to-machine mappings for
automatically-translated domains". This requires splitting a few
functions, with their non-HVM parts moved elsewhere.

01: x86/P2M: rename p2m_remove_page()
02: x86/P2M: introduce p2m_{add,remove}_page()
03: x86/P2M: drop a few CONFIG_HVM
04: x86/P2M: move map_domain_gfn() (again)
05: x86/mm: move guest_physmap_{add,remove}_page()
06: x86/mm: split set_identity_p2m_entry() into PV and HVM parts
07: x86/P2M: p2m_{alloc,free}_ptp() and p2m_alloc_table() are HVM-only
08: x86/P2M: PoD, altp2m, and nested-p2m are HVM-only
09: x86/P2M: split out init/teardown functions
10: x86/P2M: p2m_get_page_from_gfn() is HVM-only
11: x86/P2M: derive a HVM-only variant from __get_gfn_type_access()
12: x86/p2m: re-arrange {,__}put_gfn()
13: shr_pages field is MEM_SHARING-only
14: paged_pages field is MEM_PAGING-only
15: x86/P2M: p2m.c is HVM-only
16: x86/P2M: the majority for struct p2m_domain's fields are HVM-only

Jan




 


Rackspace

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