[PATCH 0/4] xen/arch: Simplify virtual_region setup

Andrew Cooper posted 4 patches 1 month, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240318110442.3653997-1-andrew.cooper3@citrix.com
There is a newer version of this series
xen/arch/arm/setup.c             |   1 -
xen/arch/arm/traps.c             |   5 +-
xen/arch/arm/xen.lds.S           |  13 +---
xen/arch/ppc/xen.lds.S           |  13 +---
xen/arch/riscv/xen.lds.S         |  13 +---
xen/arch/x86/setup.c             |   2 -
xen/arch/x86/xen.lds.S           |  11 +---
xen/common/bug.c                 |   5 +-
xen/common/livepatch.c           |   7 +-
xen/common/virtual_region.c      | 107 +++++++++++++++++--------------
xen/include/xen/bug.h            |   6 --
xen/include/xen/virtual_region.h |   5 +-
xen/include/xen/xen.lds.h        |  17 +++++
13 files changed, 95 insertions(+), 110 deletions(-)
[PATCH 0/4] xen/arch: Simplify virtual_region setup
Posted by Andrew Cooper 1 month, 1 week ago
There is nothing that setup_virtual_regions() does which can't be done at
build time.  Make this happen.

Importantly, this removes logic from needed prior to setting up exceptions.

Andrew Cooper (4):
  xen/link: Introduce a common BUGFRAMES definition
  xen/virtual-region: Rework how bugframe linkage works
  xen/virtual-region: Link the list build time
  xen/virtual-region: Drop setup_virtual_regions()

 xen/arch/arm/setup.c             |   1 -
 xen/arch/arm/traps.c             |   5 +-
 xen/arch/arm/xen.lds.S           |  13 +---
 xen/arch/ppc/xen.lds.S           |  13 +---
 xen/arch/riscv/xen.lds.S         |  13 +---
 xen/arch/x86/setup.c             |   2 -
 xen/arch/x86/xen.lds.S           |  11 +---
 xen/common/bug.c                 |   5 +-
 xen/common/livepatch.c           |   7 +-
 xen/common/virtual_region.c      | 107 +++++++++++++++++--------------
 xen/include/xen/bug.h            |   6 --
 xen/include/xen/virtual_region.h |   5 +-
 xen/include/xen/xen.lds.h        |  17 +++++
 13 files changed, 95 insertions(+), 110 deletions(-)


base-commit: d638e304f13a5ef7d125de5ace5f7828a7b25bac
-- 
2.30.2