Skip to content

kvm-unit-tests/arm: add vectors support

Andrew Jones kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 10 repliesIn review

Changes in v2 from the cover letter

- use pt_regs as the kernel does [Christoffer Dall]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3printf: support field paddinglib/printf.c+70 -143 replies
2/3arm: add useful headers from the linux kernelconfig/config-arm.mak lib/arm/asm-offsets.h lib/arm/cp15.h +2 more+216 -43 replies
3/3arm: vectors supportarm/boot.c arm/cstart.S arm/flat.lds +6 more+443 -124 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchChristoffer Dall
1/3R-b
2/3
3/3

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/3] kvm-unit-tests/arm: add vectors support

This series adds exception handling support to kvm-unit-tests/arm, and is based on v2 of the arm initial drop series. A vector support patch was also posted with the v1 of the arm initial drop series, but not with the v2. This series is its v2.

v2:
- use pt_regs as the kernel does [Christoffer Dall]

Andrew Jones (3):
printf: support field padding
arm: add useful headers from the linux kernel
arm: vectors support

 arm/boot.c                | 128 +++++++++++++++++++++++++++++++++--
 arm/cstart.S              | 168 ++++++++++++++++++++++++++++++++++++++++++++--
 arm/flat.lds              |   7 +-
 arm/unittests.cfg         |  19 ++++++
 config/config-arm.mak     |  18 +++--
 lib/arm/asm-offsets.h     |  27 ++++++++
 lib/arm/cp15.h            |  36 ++++++++++
 lib/arm/processor.c       |  97 ++++++++++++++++++++++++++
 lib/arm/processor.h       |  29 ++++++++
 lib/arm/ptrace.h          | 100 +++++++++++++++++++++++++++
 lib/arm/sysinfo.h         |   4 ++
 lib/libcflat.h            |   2 +
 lib/printf.c              |  84 +++++++++++++++++++----
 scripts/arm/asm-offsets.c |  40 +++++++++++
 14 files changed, 729 insertions(+), 30 deletions(-)
 create mode 100644 lib/arm/asm-offsets.h
 create mode 100644 lib/arm/cp15.h
 create mode 100644 lib/arm/processor.c
 create mode 100644 lib/arm/processor.h
 create mode 100644 lib/arm/ptrace.h
 create mode 100644 scripts/arm/asm-offsets.c
Signature · 1 line
1.8.1.4