From: Janosch Frank <frankja@linux.ibm.com>
To: kvm@vger.kernel.org
Cc: linux-s390@vger.kernel.org, imbrenda@linux.ibm.com,
borntraeger@linux.ibm.com, nrb@linux.ibm.com
Subject: [kvm-unit-tests 5/5] lib: s390x: Remove kvm s390 prefix from sie control block
Date: Wed, 15 Apr 2026 08:45:45 +0000 [thread overview]
Message-ID: <20260415085145.91197-6-frankja@linux.ibm.com> (raw)
In-Reply-To: <20260415085145.91197-1-frankja@linux.ibm.com>
We're not kvm.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
---
lib/s390x/asm/sie-arch.h | 2 +-
lib/s390x/interrupt.c | 4 ++--
lib/s390x/sie-icpt.c | 2 +-
lib/s390x/sie-icpt.h | 2 +-
lib/s390x/sie.h | 4 ++--
5 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/s390x/asm/sie-arch.h b/lib/s390x/asm/sie-arch.h
index 4911c988..d9d5af81 100644
--- a/lib/s390x/asm/sie-arch.h
+++ b/lib/s390x/asm/sie-arch.h
@@ -29,7 +29,7 @@
#define CPUSTAT_J 0x00000002
#define CPUSTAT_P 0x00000001
-struct kvm_s390_sie_block {
+struct sie_control_block {
uint32_t cpuflags; /* 0x0000 */
uint32_t : 1; /* 0x0004 */
uint32_t prefix : 18;
diff --git a/lib/s390x/interrupt.c b/lib/s390x/interrupt.c
index a75128b9..7e7371c1 100644
--- a/lib/s390x/interrupt.c
+++ b/lib/s390x/interrupt.c
@@ -227,7 +227,7 @@ static void print_storage_exception_information(void)
static void print_int_regs(struct stack_frame_int *stack, bool sie)
{
- struct kvm_s390_sie_block *sblk;
+ struct sie_control_block *sblk;
printf("\n");
printf("%s\n", sie ? "Guest registers:" : "Host registers:");
@@ -240,7 +240,7 @@ static void print_int_regs(struct stack_frame_int *stack, bool sie)
stack->grs0[6], stack->grs0[7], stack->grs0[8], stack->grs0[9]);
if (sie) {
- sblk = (struct kvm_s390_sie_block *)stack->grs0[12];
+ sblk = (struct sie_control_block *)stack->grs0[12];
printf("%016lx %016lx %016lx %016lx\n",
stack->grs0[10], stack->grs0[11], sblk->gg14, sblk->gg15);
} else {
diff --git a/lib/s390x/sie-icpt.c b/lib/s390x/sie-icpt.c
index 17064424..861dce02 100644
--- a/lib/s390x/sie-icpt.c
+++ b/lib/s390x/sie-icpt.c
@@ -7,7 +7,7 @@
#include <sie-icpt.h>
-struct diag_itext sblk_ip_as_diag(struct kvm_s390_sie_block *sblk)
+struct diag_itext sblk_ip_as_diag(struct sie_control_block *sblk)
{
union {
struct {
diff --git a/lib/s390x/sie-icpt.h b/lib/s390x/sie-icpt.h
index 604a7221..b1edf334 100644
--- a/lib/s390x/sie-icpt.h
+++ b/lib/s390x/sie-icpt.h
@@ -21,7 +21,7 @@ struct diag_itext {
uint64_t : 16;
};
-struct diag_itext sblk_ip_as_diag(struct kvm_s390_sie_block *sblk);
+struct diag_itext sblk_ip_as_diag(struct sie_control_block *sblk);
/**
* sie_is_diag_icpt() - Check if intercept is due to diagnose instruction
diff --git a/lib/s390x/sie.h b/lib/s390x/sie.h
index 3ec49ed0..b146e386 100644
--- a/lib/s390x/sie.h
+++ b/lib/s390x/sie.h
@@ -32,7 +32,7 @@ struct vm_save_area {
};
struct vm {
- struct kvm_s390_sie_block *sblk;
+ struct sie_control_block *sblk;
struct vm_save_area save_area;
struct esca_block *sca; /* System Control Area */
uint8_t *crycb; /* Crypto Control Block */
@@ -46,7 +46,7 @@ extern void sie_entry(void);
extern void sie_exit(void);
extern void sie_entry_gregs(void);
extern void sie_exit_gregs(void);
-extern void sie64a(struct kvm_s390_sie_block *sblk, struct vm_save_area *save_area);
+extern void sie64a(struct sie_control_block *sblk, struct vm_save_area *save_area);
void sie(struct vm *vm);
void sie_expect_validity(struct vm *vm);
uint16_t sie_get_validity(struct vm *vm);
--
2.51.0
next prev parent reply other threads:[~2026-04-15 8:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-15 8:45 [kvm-unit-tests 0/5] s390x: Cleanup virtualization library Janosch Frank
2026-04-15 8:45 ` [kvm-unit-tests 1/5] lib: s390x: Add function to get page root Janosch Frank
2026-04-15 11:53 ` Nico Boehr
2026-04-15 12:01 ` Janosch Frank
2026-04-15 8:45 ` [kvm-unit-tests 2/5] lib: s390x: sie: Allocate physical guest memory via memalign Janosch Frank
2026-04-15 8:45 ` [kvm-unit-tests 3/5] lib: s390x: sie: Free guest memory on destroy Janosch Frank
2026-04-15 14:21 ` Nico Boehr
2026-04-16 8:03 ` Janosch Frank
2026-04-16 10:24 ` Nico Boehr
2026-04-15 8:45 ` [kvm-unit-tests 4/5] lib: s390x: snippet: Add function to create a guest of specific length Janosch Frank
2026-04-16 7:50 ` Nico Boehr
2026-04-15 8:45 ` Janosch Frank [this message]
2026-04-16 7:48 ` [kvm-unit-tests 5/5] lib: s390x: Remove kvm s390 prefix from sie control block Nico Boehr
2026-04-16 8:00 ` Janosch Frank
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=20260415085145.91197-6-frankja@linux.ibm.com \
--to=frankja@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=nrb@linux.ibm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.