public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v2 0/7] s390x: Snippet fixes
@ 2023-01-12 15:45 Janosch Frank
  2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 1/7] s390x: Cleanup flat.lds Janosch Frank
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Janosch Frank @ 2023-01-12 15:45 UTC (permalink / raw)
  To: kvm; +Cc: linux-s390, imbrenda, thuth, david, nsg, nrb

A small set of fixes mostly related to the snippet support and error
management.

v2:
	* Added basic linker script cleanups
	  * Changed alignment from 64k to 4k
	  * Added more comments
	  * Removed unneeded sections
	* This patch set is a also preparation for a larger loader
          script change by Marc

Janosch Frank (7):
  s390x: Cleanup flat.lds
  s390x: snippets: c: Cleanup flat.lds
  s390x: Add a linker script to assembly snippets
  s390x: snippets: Fix SET_PSW_NEW_ADDR macro
  lib: s390x: sie: Set guest memory pointer
  s390x: Clear first stack frame and end backtrace early
  lib: s390x: Handle debug prints for SIE exceptions correctly

 lib/s390x/interrupt.c              | 46 ++++++++++++++++++++++++++----
 lib/s390x/sie.c                    |  1 +
 lib/s390x/sie.h                    |  2 ++
 lib/s390x/snippet.h                |  3 +-
 lib/s390x/stack.c                  |  2 ++
 s390x/Makefile                     |  5 ++--
 s390x/cpu.S                        |  6 ++--
 s390x/cstart64.S                   |  2 ++
 s390x/flat.lds                     | 19 +++---------
 s390x/mvpg-sie.c                   |  2 +-
 s390x/pv-diags.c                   |  6 ++--
 s390x/snippets/{c => asm}/flat.lds | 39 +++++++++----------------
 s390x/snippets/asm/macros.S        |  2 +-
 s390x/snippets/c/flat.lds          | 28 ++++++------------
 14 files changed, 87 insertions(+), 76 deletions(-)
 copy s390x/snippets/{c => asm}/flat.lds (55%)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [kvm-unit-tests PATCH v2 0/7] s390x: PV fixups
@ 2022-10-20  9:00 Janosch Frank
  2022-10-20  9:00 ` [kvm-unit-tests PATCH v2 3/7] s390x: Add a linker script to assembly snippets Janosch Frank
  0 siblings, 1 reply; 15+ messages in thread
From: Janosch Frank @ 2022-10-20  9:00 UTC (permalink / raw)
  To: kvm; +Cc: imbrenda, seiden, nrb, scgl, thuth

A small set of patches that clean up the PV snippet handling.

v2:
	* Macro uses 64bit PSW mask
	* SBLK reset on PV destroy and uv_init() early return have been split off


Janosch Frank (7):
  s390x: snippets: asm: Add a macro to write an exception PSW
  s390x: MAKEFILE: Use $< instead of pathsubst
  s390x: Add a linker script to assembly snippets
  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/snippet.h                      | 14 +++-----
 lib/s390x/uv.c                           | 35 +++++++++++++++++--
 lib/s390x/uv.h                           |  5 ++-
 s390x/Makefile                           | 18 +++++++---
 s390x/cpu.S                              |  6 ++++
 s390x/mvpg-sie.c                         |  2 +-
 s390x/pv-diags.c                         |  6 ++--
 s390x/snippets/asm/flat.lds              | 35 +++++++++++++++++++
 s390x/snippets/asm/macros.S              | 28 +++++++++++++++
 s390x/snippets/asm/snippet-pv-diag-288.S |  4 +--
 s390x/snippets/asm/snippet-pv-diag-500.S |  6 ++--
 14 files changed, 197 insertions(+), 44 deletions(-)
 create mode 100644 s390x/snippets/asm/flat.lds
 create mode 100644 s390x/snippets/asm/macros.S

-- 
2.34.1


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-01-13 16:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-12 15:45 [kvm-unit-tests PATCH v2 0/7] s390x: Snippet fixes Janosch Frank
2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 1/7] s390x: Cleanup flat.lds Janosch Frank
2023-01-12 17:05   ` Claudio Imbrenda
2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 2/7] s390x: snippets: c: " Janosch Frank
2023-01-12 17:05   ` Claudio Imbrenda
2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 3/7] s390x: Add a linker script to assembly snippets Janosch Frank
2023-01-12 17:05   ` Claudio Imbrenda
2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 4/7] s390x: snippets: Fix SET_PSW_NEW_ADDR macro Janosch Frank
2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 5/7] lib: s390x: sie: Set guest memory pointer Janosch Frank
2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 6/7] s390x: Clear first stack frame and end backtrace early Janosch Frank
2023-01-12 15:45 ` [kvm-unit-tests PATCH v2 7/7] lib: s390x: Handle debug prints for SIE exceptions correctly Janosch Frank
2023-01-12 17:13   ` Claudio Imbrenda
2023-01-13 15:50     ` Janosch Frank
  -- strict thread matches above, loose matches on Subject: below --
2022-10-20  9:00 [kvm-unit-tests PATCH v2 0/7] s390x: PV fixups Janosch Frank
2022-10-20  9:00 ` [kvm-unit-tests PATCH v2 3/7] s390x: Add a linker script to assembly snippets Janosch Frank
2022-10-20 10:02   ` Claudio Imbrenda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox