On Fri, 21 Oct 2022 06:38:56 +0000 Janosch Frank <frankja@xxxxxxxxxxxxx> wrote: > A small set of patches that clean up the PV snippet handling. > > v3: > * Dropped asm snippet linker script patch for now shame, I really liked that patch (modulo the nits) > * Replaced memalign_pages_flags() with memalign_pages() > * PV ASCEs will now recieve DT and TL fields from the main test ASCE > > v2: > * Macro uses 64bit PSW mask > * SBLK reset on PV destroy and uv_init() early return have been split off > > > Janosch Frank (6): > s390x: snippets: asm: Add a macro to write an exception PSW > s390x: MAKEFILE: Use $< instead of pathsubst > lib: s390x: sie: Improve validity handling and make it vm specific > lib: s390x: Use a new asce for each PV guest > lib: s390x: Enable reusability of VMs that were in PV mode > lib: s390x: sie: Properly populate SCA > > lib/s390x/asm-offsets.c | 2 ++ > lib/s390x/sie.c | 37 +++++++++++++------- > lib/s390x/sie.h | 43 ++++++++++++++++++++++-- > lib/s390x/uv.c | 35 +++++++++++++++++-- > lib/s390x/uv.h | 5 ++- > s390x/Makefile | 2 +- > s390x/cpu.S | 6 ++++ > s390x/snippets/asm/macros.S | 28 +++++++++++++++ > s390x/snippets/asm/snippet-pv-diag-288.S | 4 +-- > s390x/snippets/asm/snippet-pv-diag-500.S | 6 ++-- > 10 files changed, 140 insertions(+), 28 deletions(-) > create mode 100644 s390x/snippets/asm/macros.S >