From: Grygorii Strashko <[email protected]>

The d->arch.physaddr_bitsize field is used only by PV32 code so as the
domain_clamp_alloc_bitsize() function.
So move them into PV32 code.

changes in v4:
 - rebase
 - split patch 3 on two:
   move domain_clamp_alloc_bitsize()
   move d->arch.physaddr_bitsize

changes in v3:
- added tags
- changed patch 3

changes in v2:
- split on 3 patches
- move physaddr_bitsize in struct pv_domain
- make minimal style adjustments as requested

v3: 
https://patchwork.kernel.org/project/xen-devel/cover/[email protected]/
v2: 
https://patchwork.kernel.org/project/xen-devel/cover/[email protected]/

Grygorii Strashko (2):
  xen/x86: move domain_clamp_alloc_bitsize() into pv32 code
  xen/x86: move d->arch.physaddr_bitsize field handling into pv32

 xen/arch/x86/include/asm/domain.h |  6 +++---
 xen/arch/x86/include/asm/mm.h     | 12 ++++++++++--
 xen/arch/x86/pv/dom0_build.c      |  7 +++++--
 xen/arch/x86/pv/domain.c          |  2 +-
 xen/arch/x86/x86_64/mm.c          |  7 -------
 5 files changed, 19 insertions(+), 15 deletions(-)

-- 
2.34.1

Reply via email to