From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:52224 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725773AbgFQINo (ORCPT ); Wed, 17 Jun 2020 04:13:44 -0400 Date: Wed, 17 Jun 2020 10:13:32 +0200 From: Cornelia Huck Subject: Re: [kvm-unit-tests PATCH v9 03/12] s390x: saving regs for interrupts Message-ID: <20200617101332.7baf9bc4.cohuck@redhat.com> In-Reply-To: <1592213521-19390-4-git-send-email-pmorel@linux.ibm.com> References: <1592213521-19390-1-git-send-email-pmorel@linux.ibm.com> <1592213521-19390-4-git-send-email-pmorel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-s390-owner@vger.kernel.org List-ID: To: Pierre Morel Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, frankja@linux.ibm.com, david@redhat.com, thuth@redhat.com On Mon, 15 Jun 2020 11:31:52 +0200 Pierre Morel wrote: > If we use multiple source of interrupts, for example, using SCLP > console to print information while using I/O interrupts, we need > to have a re-entrant register saving interruption handling. > > Instead of saving at a static memory address, let's save the base > registers, the floating point registers and the floating point > control register on the stack in case of I/O interrupts > > Note that we keep the static register saving to recover from the > RESET tests. > > Signed-off-by: Pierre Morel > Acked-by: Janosch Frank > Acked-by: Thomas Huth > --- > s390x/cstart64.S | 41 +++++++++++++++++++++++++++++++++++++++-- > 1 file changed, 39 insertions(+), 2 deletions(-) Acked-by: Cornelia Huck