Skip to content

xen/arch: Simplify virtual_region setup

Andrew Cooper xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 7 repliesIn review
  2. v14 patches 12 repliesSuperseded

Changes in v2 from the cover letter

* Only minor changes in patches 3 and 4.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen/link: Introduce a common BUGFRAMES definitionxen/arch/arm/xen.lds.S xen/arch/ppc/xen.lds.S xen/arch/riscv/xen.lds.S +2 more+21 -402 replies
2/4xen/virtual-region: Rework how bugframe linkage worksxen/arch/arm/traps.c xen/common/bug.c xen/common/livepatch.c +4 more+35 -442 replies
3/4xen/virtual-region: Link the list build timexen/common/virtual_region.c+22 -152 replies
4/4xen/virtual-region: Drop setup_virtual_regions()xen/arch/arm/setup.c xen/arch/x86/setup.c xen/common/virtual_region.c +1 more+13 -131 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRoss LagerwallJan BeulichLuca FancelluMichal OrzelShawn Anastasio
1/4R-b A-b A-b
2/4R-b R-b A-b
3/4R-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

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

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.

v2:
* Only minor changes in patches 3 and 4.

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      | 101 ++++++++++++++++---------------
 xen/include/xen/bug.h            |   6 --
 xen/include/xen/virtual_region.h |   7 +--
 xen/include/xen/xen.lds.h        |  17 ++++++
 13 files changed, 90 insertions(+), 111 deletions(-)

base-commit: 0e7ea8ca5fc9bce9248414f6aaf2dc861abd45d9

Signature · 1 line
2.30.2