[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 5/5] pc-bios: s390x: Go into disabled wait when encountering a
From: |
Janosch Frank |
Subject: |
[PATCH v3 5/5] pc-bios: s390x: Go into disabled wait when encountering a PGM exception |
Date: |
Mon, 31 Aug 2020 11:09:10 -0400 |
Let's setup a PGM PSW, so we won't load 0s when a program exception
happens. Instead we'll load a disabled wait PSW.
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
pc-bios/s390-ccw/start.S | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pc-bios/s390-ccw/start.S b/pc-bios/s390-ccw/start.S
index 939aac3a7c..775b45baeb 100644
--- a/pc-bios/s390-ccw/start.S
+++ b/pc-bios/s390-ccw/start.S
@@ -44,6 +44,9 @@ done:
larl %r2, external_new_psw
stg %r1, 8(%r2)
mvc 0x1b0(16),0(%r2)
+ /* set up a pgm exception disabled wait psw */
+ larl %r2, disabled_wait_psw
+ mvc 0x01d0(16), 0(%r2)
j main /* And call C */
memsetxc:
--
2.25.1
- [PATCH v3 0/5] pc-bios: s390x: Cleanup part 2, Janosch Frank, 2020/08/31
- [PATCH v3 3/5] pc-bios: s390x: Use reset PSW if avaliable, Janosch Frank, 2020/08/31
- [PATCH v3 2/5] pc-bios: s390x: Save PSW rework, Janosch Frank, 2020/08/31
- [PATCH v3 4/5] pc-bios: s390x: Save io and external new PSWs before overwriting them, Janosch Frank, 2020/08/31
- [PATCH v3 5/5] pc-bios: s390x: Go into disabled wait when encountering a PGM exception,
Janosch Frank <=
- [PATCH v3 1/5] pc-bios: s390x: Fix bootmap.c zipl component entry data handling, Janosch Frank, 2020/08/31
- Re: [PATCH v3 0/5] pc-bios: s390x: Cleanup part 2, no-reply, 2020/08/31