Skip to content

RISCV: Bugfixes and UBSAN

Andrew Cooper xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3RISCV/boot: Run constructors during setupxen/arch/riscv/setup.c+2 -01 reply
2/3RISCV/asm: Use CALL rather than JALxen/arch/riscv/entry.S xen/arch/riscv/riscv64/head.S+7 -71 reply
3/3RISCV: Activate UBSAN in testingautomation/gitlab-ci/build.yaml xen/arch/riscv/Kconfig xen/arch/riscv/include/asm/processor.h +2 more+11 -23 replies

Reviews trailers per patch

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

PatchStefano StabelliniOleksii Kurochko
SeriesRelease-Acked-By
1/3R-b
2/3
3/3R-b R-b

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

Read the v1 thread

Cover letter [PATCH for-4.20 0/3] RISCV: Bugfixes and UBSAN

One bugfix, and two minor patches to get UBSAN working with RISCV. They should be considered for 4.20 at this juncture.

I tried to get this working everywhere, but:

1) ARM32 has some problem with dump_execution_state() and dies with an undefined instruction error.

2) PPC doesn't get any console output, and also appears to have no exception handling either. Also, when it doesn't succeed, it takes ages to fail.

Andrew Cooper (3):
RISCV/boot: Run constructors during setup
RISCV/asm: Use CALL rather than JAL
RISCV: Activate UBSAN in testing

 automation/gitlab-ci/build.yaml        |  3 +++
 xen/arch/riscv/Kconfig                 |  1 +
 xen/arch/riscv/entry.S                 |  2 +-
 xen/arch/riscv/include/asm/processor.h |  2 ++
 xen/arch/riscv/riscv64/head.S          | 12 ++++++------
 xen/arch/riscv/setup.c                 |  2 ++
 xen/arch/riscv/traps.c                 |  2 +-
 xen/common/ubsan/ubsan.c               |  5 ++++-
 8 files changed, 20 insertions(+), 9 deletions(-)
Signature · 1 line
2.39.5