From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:52700 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729421AbfHTLks (ORCPT ); Tue, 20 Aug 2019 07:40:48 -0400 Subject: Re: [kvm-unit-tests PATCH 1/3] s390x: Support PSW restart boot References: <20190820105550.4991-1-frankja@linux.ibm.com> <20190820105550.4991-2-frankja@linux.ibm.com> From: Thomas Huth Message-ID: <8ce07086-744a-43e5-555b-23c635bb72d6@redhat.com> Date: Tue, 20 Aug 2019 13:40:43 +0200 MIME-Version: 1.0 In-Reply-To: <20190820105550.4991-2-frankja@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-s390-owner@vger.kernel.org List-ID: To: Janosch Frank , kvm@vger.kernel.org Cc: linux-s390@vger.kernel.org, david@redhat.com On 8/20/19 12:55 PM, Janosch Frank wrote: > Add a boot PSW to PSW restart new, so we can also boot via a PSW > restart. > > Signed-off-by: Janosch Frank > --- > s390x/flat.lds | 14 +++++++++----- > 1 file changed, 9 insertions(+), 5 deletions(-) > > diff --git a/s390x/flat.lds b/s390x/flat.lds > index 403d967..86dffac 100644 > --- a/s390x/flat.lds > +++ b/s390x/flat.lds > @@ -1,14 +1,18 @@ > SECTIONS > { > - /* > - * Initial short psw for disk boot, with 31 bit addressing for > - * non z/Arch environment compatibility and the instruction > - * address 0x10000 (cstart64.S .init). > - */ > .lowcore : { > + /* > + * Initial short psw for disk boot, with 31 bit addressing for > + * non z/Arch environment compatibility and the instruction > + * address 0x10000 (cstart64.S .init). > + */ > . = 0; > LONG(0x00080000) > LONG(0x80010000) > + /* Restart new PSW for booting via PSW restart. */ > + . = 0x1a0; > + QUAD(0x0000000180000000) > + QUAD(0x0000000000010000) > } > . = 0x10000; > .text : { > Reviewed-by: Thomas Huth