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=-17.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 3446EC433E9 for ; Wed, 17 Feb 2021 16:20:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0573464DA1 for ; Wed, 17 Feb 2021 16:20:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234106AbhBQQUU (ORCPT ); Wed, 17 Feb 2021 11:20:20 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:49628 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234084AbhBQQUM (ORCPT ); Wed, 17 Feb 2021 11:20:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613578726; 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=C5pQCMnRymj0W6CfJ9HqjXjbciN4lIEx8wkXPqouyEw=; b=ZhvfdqxvfNfnJ0hhFNPOrAWRLKj1mECH9KDKwAv/nR75aoNkWEPhiSPtEyi+I0l2s5XBs5 qO/zZkT2dDR5vc7c0bqi7sUqQ1SkY+wdoZKb07J34W0vFVg+L4kPSvB1v5yY27xWi2+y+3 Qcrn9275wyF1wpLZ9n+6Jj4J9BZc/Pw= 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-501-jrk5ETraNWCQ9hK0x_-oIg-1; Wed, 17 Feb 2021 11:18:42 -0500 X-MC-Unique: jrk5ETraNWCQ9hK0x_-oIg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 01E67CC634; Wed, 17 Feb 2021 16:18:41 +0000 (UTC) Received: from thuth.remote.csb (ovpn-112-116.ams2.redhat.com [10.36.112.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id C7CF45D9E8; Wed, 17 Feb 2021 16:18:34 +0000 (UTC) Subject: Re: [kvm-unit-tests PATCH v2 8/8] s390x: Remove SAVE/RESTORE_stack To: Janosch Frank , kvm@vger.kernel.org Cc: linux-s390@vger.kernel.org, imbrenda@linux.ibm.com, pmorel@linux.ibm.com, david@redhat.com References: <20210217144116.3368-1-frankja@linux.ibm.com> <20210217144116.3368-9-frankja@linux.ibm.com> From: Thomas Huth Message-ID: <4fd224a2-1c4d-1663-6615-685eadcf81f6@redhat.com> Date: Wed, 17 Feb 2021 17:18:34 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210217144116.3368-9-frankja@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-s390@vger.kernel.org On 17/02/2021 15.41, Janosch Frank wrote: > There are no more users. > > Signed-off-by: Janosch Frank > Reviewed-by: Claudio Imbrenda > Reviewed-by: Pierre Morel > --- > s390x/macros.S | 29 ----------------------------- > 1 file changed, 29 deletions(-) > > diff --git a/s390x/macros.S b/s390x/macros.S > index 212a3823..399a87c6 100644 > --- a/s390x/macros.S > +++ b/s390x/macros.S > @@ -28,35 +28,6 @@ > lpswe \old_psw > .endm > > - .macro SAVE_REGS > - /* save grs 0-15 */ > - stmg %r0, %r15, GEN_LC_SW_INT_GRS > - /* save crs 0-15 */ > - stctg %c0, %c15, GEN_LC_SW_INT_CRS > - /* load a cr0 that has the AFP control bit which enables all FPRs */ > - larl %r1, initial_cr0 > - lctlg %c0, %c0, 0(%r1) > - /* save fprs 0-15 + fpc */ > - la %r1, GEN_LC_SW_INT_FPRS > - .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 > - std \i, \i * 8(%r1) > - .endr > - stfpc GEN_LC_SW_INT_FPC > - .endm > - > - .macro RESTORE_REGS > - /* restore fprs 0-15 + fpc */ > - la %r1, GEN_LC_SW_INT_FPRS > - .irp i, 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 > - ld \i, \i * 8(%r1) > - .endr > - lfpc GEN_LC_SW_INT_FPC Could we now also remove the sw_int_fprs and sw_int_fpc from the lowcore? Thomas