mbox series

[kvm-unit-tests,0/4] s390x: split off snippet and sie related code

Message ID 20240718105104.34154-1-frankja@linux.ibm.com (mailing list archive)
Headers show
Series s390x: split off snippet and sie related code | expand

Message

Janosch Frank July 18, 2024, 10:50 a.m. UTC
The makefile is getting long and increasingly complex. Let's move the
snippet part to s390x/snippets/ and sprinkle a couple comments on top.

While we're moving things around we can split lib/s390x/sie.h into sie
architecture code and sie library code and split the sie assembly in
cpu.S into its own file.

Janosch Frank (4):
  s390x: Split snippet makefile rules into new file
  s390x/Makefile: Add more comments
  s390x: Move SIE assembly into new file
  lib: s390x: Split SIE fw structs from lib structs

 lib/s390x/{sie.h => asm/sie-arch.h} |  58 +------
 lib/s390x/sie.h                     | 231 +---------------------------
 s390x/Makefile                      |  41 ++---
 s390x/{cpu.S => cpu-sie.S}          |  59 +------
 s390x/cpu.S                         |  64 --------
 s390x/snippets/Makefile             |  30 ++++
 6 files changed, 45 insertions(+), 438 deletions(-)
 copy lib/s390x/{sie.h => asm/sie-arch.h} (81%)
 copy s390x/{cpu.S => cpu-sie.S} (56%)
 create mode 100644 s390x/snippets/Makefile