From: Claudio Imbrenda <imbrenda@linux.ibm.com>
To: kvm@vger.kernel.org
Cc: linux-s390@vger.kernel.org, frankja@linux.ibm.com,
scgl@linux.ibm.com, borntraeger@de.ibm.com, pmorel@linux.ibm.com,
pasic@linux.ibm.com, nrb@linux.ibm.com, thuth@redhat.com,
david@redhat.com
Subject: [kvm-unit-tests PATCH v2 0/5] lib: s390x: Refactor and rename vm.[ch]
Date: Thu, 31 Mar 2022 18:04:14 +0200 [thread overview]
Message-ID: <20220331160419.333157-1-imbrenda@linux.ibm.com> (raw)
Refactor and rename vm.[ch] to hardware.[ch]
* Remove some uneeded #includes for vm.h
* Rename vm.[ch] to hardware.[ch]
* Consolidate all detection functions into detect_host, which returns
what host system the test is running on
* Completely remove obsolete z/VM 6.x check from skey.c
* Rename vm_is_* functions to host_is_*, which are then just wrappers
around detect_host
* Move machine type macros from arch_def.h to hardware.h
* Add machine_is_* functions
* Refactor and rename get_machine_id to be a simple wrapper for stidp
* Add back get_machine_id using the stidp wrapper
v1->v2
* new patch to completely remove obsolete z/VM 6.x check instead of
moving it into hardware.h
* do not add macros and functions for all known machine types, z15 is
enough for now
Claudio Imbrenda (5):
s390x: remove spurious includes
s390x: skey: remove check for old z/VM version
lib: s390: rename and refactor vm.[ch]
lib: s390x: functions for machine models
lib: s390x: stidp wrapper and move get_machine_id
s390x/Makefile | 2 +-
lib/s390x/asm/arch_def.h | 7 +--
lib/s390x/hardware.h | 55 ++++++++++++++++++++++++
lib/s390x/vm.h | 15 -------
lib/s390x/hardware.c | 69 ++++++++++++++++++++++++++++++
lib/s390x/vm.c | 92 ----------------------------------------
s390x/cpumodel.c | 4 +-
s390x/mvpg-sie.c | 1 -
s390x/mvpg.c | 4 +-
s390x/pv-diags.c | 1 -
s390x/skey.c | 37 ++--------------
s390x/spec_ex-sie.c | 1 -
s390x/uv-host.c | 4 +-
13 files changed, 136 insertions(+), 156 deletions(-)
create mode 100644 lib/s390x/hardware.h
delete mode 100644 lib/s390x/vm.h
create mode 100644 lib/s390x/hardware.c
delete mode 100644 lib/s390x/vm.c
--
2.34.1
next reply other threads:[~2022-03-31 16:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-31 16:04 Claudio Imbrenda [this message]
2022-03-31 16:04 ` [kvm-unit-tests PATCH v2 1/5] s390x: remove spurious includes Claudio Imbrenda
2022-03-31 16:04 ` [kvm-unit-tests PATCH v2 2/5] s390x: skey: remove check for old z/VM version Claudio Imbrenda
2022-04-01 8:09 ` Janosch Frank
2022-03-31 16:04 ` [kvm-unit-tests PATCH v2 3/5] lib: s390: rename and refactor vm.[ch] Claudio Imbrenda
2022-04-01 8:14 ` Janosch Frank
2022-03-31 16:04 ` [kvm-unit-tests PATCH v2 4/5] lib: s390x: functions for machine models Claudio Imbrenda
2022-04-01 8:10 ` Janosch Frank
2022-03-31 16:04 ` [kvm-unit-tests PATCH v2 5/5] lib: s390x: stidp wrapper and move get_machine_id Claudio Imbrenda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220331160419.333157-1-imbrenda@linux.ibm.com \
--to=imbrenda@linux.ibm.com \
--cc=borntraeger@de.ibm.com \
--cc=david@redhat.com \
--cc=frankja@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=nrb@linux.ibm.com \
--cc=pasic@linux.ibm.com \
--cc=pmorel@linux.ibm.com \
--cc=scgl@linux.ibm.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox