|
|
8fced6 |
From 0c85e86077b42547034ec6e8330a3e61d79b97ee Mon Sep 17 00:00:00 2001
|
|
|
8fced6 |
From: Thomas Huth <thuth@redhat.com>
|
|
|
8fced6 |
Date: Tue, 7 Jul 2020 09:35:32 -0400
|
|
|
8fced6 |
Subject: [PATCH 3/4] s390x/tcg: clear local interrupts on reset normal
|
|
|
8fced6 |
|
|
|
8fced6 |
RH-Author: Thomas Huth <thuth@redhat.com>
|
|
|
8fced6 |
Message-id: <20200707093532.22456-3-thuth@redhat.com>
|
|
|
8fced6 |
Patchwork-id: 97919
|
|
|
8fced6 |
O-Subject: [RHEL-8.3.0 qemu-kvm PATCH 2/2] s390x/tcg: clear local interrupts on reset normal
|
|
|
8fced6 |
Bugzilla: 1854092
|
|
|
8fced6 |
RH-Acked-by: Jens Freimann <jfreimann@redhat.com>
|
|
|
8fced6 |
RH-Acked-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
8fced6 |
RH-Acked-by: David Hildenbrand <david@redhat.com>
|
|
|
8fced6 |
|
|
|
8fced6 |
From: Cornelia Huck <cohuck@redhat.com>
|
|
|
8fced6 |
|
|
|
8fced6 |
We neglected to clean up pending interrupts and emergency signals;
|
|
|
8fced6 |
fix that.
|
|
|
8fced6 |
|
|
|
8fced6 |
Message-Id: <20191206135404.16051-1-cohuck@redhat.com>
|
|
|
8fced6 |
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
|
|
|
8fced6 |
Reviewed-by: David Hildenbrand <david@redhat.com>
|
|
|
8fced6 |
(cherry picked from commit bcf88d56efec4ffc153bbe98d11b689a5ebe1a91)
|
|
|
8fced6 |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
8fced6 |
---
|
|
|
8fced6 |
target/s390x/cpu.h | 8 ++++----
|
|
|
8fced6 |
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
8fced6 |
|
|
|
8fced6 |
diff --git a/target/s390x/cpu.h b/target/s390x/cpu.h
|
|
|
8fced6 |
index edf8391504..a48e655c4d 100644
|
|
|
8fced6 |
--- a/target/s390x/cpu.h
|
|
|
8fced6 |
+++ b/target/s390x/cpu.h
|
|
|
8fced6 |
@@ -98,10 +98,6 @@ struct CPUS390XState {
|
|
|
8fced6 |
|
|
|
8fced6 |
uint64_t cregs[16]; /* control registers */
|
|
|
8fced6 |
|
|
|
8fced6 |
- int pending_int;
|
|
|
8fced6 |
- uint16_t external_call_addr;
|
|
|
8fced6 |
- DECLARE_BITMAP(emergency_signals, S390_MAX_CPUS);
|
|
|
8fced6 |
-
|
|
|
8fced6 |
uint64_t ckc;
|
|
|
8fced6 |
uint64_t cputm;
|
|
|
8fced6 |
uint32_t todpr;
|
|
|
8fced6 |
@@ -117,6 +113,10 @@ struct CPUS390XState {
|
|
|
8fced6 |
struct {} start_normal_reset_fields;
|
|
|
8fced6 |
uint8_t riccb[64]; /* runtime instrumentation control */
|
|
|
8fced6 |
|
|
|
8fced6 |
+ int pending_int;
|
|
|
8fced6 |
+ uint16_t external_call_addr;
|
|
|
8fced6 |
+ DECLARE_BITMAP(emergency_signals, S390_MAX_CPUS);
|
|
|
8fced6 |
+
|
|
|
8fced6 |
/* Fields up to this point are cleared by a CPU reset */
|
|
|
8fced6 |
struct {} end_reset_fields;
|
|
|
8fced6 |
|
|
|
8fced6 |
--
|
|
|
8fced6 |
2.27.0
|
|
|
8fced6 |
|