Skip to content

x86: M2P maintenance adjustments (step 1)

Jan Beulich xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 8 repliesIn review
  2. v13 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: convert set_gpfn_from_mfn() to a functionxen/arch/x86/x86_64/mm.c xen/include/asm-x86/mm.h+18 -141 reply
2/5x86: don't maintain compat M2P when !PV32xen/arch/x86/domain.c xen/arch/x86/mm.c xen/arch/x86/pv/mm.c +5 more+93 -401 reply
3/5x86: don't override INVALID_M2P_ENTRY with SHARED_M2P_ENTRYxen/arch/x86/x86_64/mm.c+9 -23 replies
4/5x86/PV: also check kernel endianness when building Dom0xen/arch/x86/pv/dom0_build.c+8 -41 reply
5/5x86: simplify is_guest_l2_slot()xen/include/asm-x86/x86_64/page.h+1 -22 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchAndrew Cooper
1/5Requested-by A-b
2/5
3/5
4/5A-b
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] x86: M2P maintenance adjustments (step 1)

As pointed out by Andrew, maintaining the compat M2P when !PV32 (or when "pv=no-32" was given) is a pointless waste of memory. Do away with this, with a possible plan to subsequently use the compat instance instead of the native one in shim mode with a 32-bit guest (requiring more intrusive rework, in particular to delay setting up the M2P until the bitness of the client domain is known).

1: convert set_gpfn_from_mfn() to a function
2: don't maintain compat M2P when !PV32
3: don't override INVALID_M2P_ENTRY with SHARED_M2P_ENTRY 4: PV: also check kernel endianness when building Dom0 5: simplify is_guest_l2_slot()

Jan