From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 922C5C433E1 for ; Wed, 17 Jun 2020 08:13:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 659E6207E8 for ; Wed, 17 Jun 2020 08:13:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="C6Jde8U0" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725901AbgFQINn (ORCPT ); Wed, 17 Jun 2020 04:13:43 -0400 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:55887 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725773AbgFQINn (ORCPT ); Wed, 17 Jun 2020 04:13:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592381621; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+1alsiIWHZc0JfJZ98mEf3xji1GMsCQin/jc8f2S8mU=; b=C6Jde8U0II1Nxjeuqsv2uI+Mfob7eY+VoDOgzfML3gdJIh7uD0drsK/006YE2BycwcSgtQ xX9IyW8vevOvkbOoXqGDNjSV+ZAGlXMZJvrhVJSyU9wO3WzyUdjXpjkfFMrrKRGwR0ZSRv Do6UCxC5elCa/AHZZMB3ZaZMUEvKfNg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-237-XirK8OphPsmh1sD5vDe57w-1; Wed, 17 Jun 2020 04:13:39 -0400 X-MC-Unique: XirK8OphPsmh1sD5vDe57w-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 86AA01009618; Wed, 17 Jun 2020 08:13:38 +0000 (UTC) Received: from gondolin (ovpn-112-222.ams2.redhat.com [10.36.112.222]) by smtp.corp.redhat.com (Postfix) with ESMTP id 83BA519724; Wed, 17 Jun 2020 08:13:34 +0000 (UTC) Date: Wed, 17 Jun 2020 10:13:32 +0200 From: Cornelia Huck To: Pierre Morel Cc: kvm@vger.kernel.org, linux-s390@vger.kernel.org, frankja@linux.ibm.com, david@redhat.com, thuth@redhat.com 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> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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