mbox series

[kvm-unit-tests,v2,0/7] s390x: Snippet fixes

Message ID 20230112154548.163021-1-frankja@linux.ibm.com (mailing list archive)
Headers show
Series s390x: Snippet fixes | expand

Message

Janosch Frank Jan. 12, 2023, 3:45 p.m. UTC
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%)