From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1F3C606A31B for ; Mon, 26 Oct 2026 15:08:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=PGNm/IGY Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xLMIf-0006Js-Bx; Mon, 26 Oct 2026 11:07:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xLMId-0006JW-8H for qemu-devel@nongnu.org; Mon, 26 Oct 2026 11:07:47 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xLMIb-0000vy-En for qemu-devel@nongnu.org; Mon, 26 Oct 2026 11:07:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1793027263; 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=n4+Ffk4wprt+o3trRNuzv5I3+qSJGmf+pmv/f4y6jU4=; b=PGNm/IGYKEsmaQCnAZSizBgtYrreblPf+RBWuJg3+CXm2lJUOpiLj78aQ2PauPbYRFwoE7 mOf5qCiH7Oe1TKhTvdl836ZwJc5LtzbCcf1MpoEMOHJ3bxMcFZiR/RrvVuIRvnyhVzeLSX lyB+iZZ6YnhFQz74z/y8UhmMrW4pduo= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-80-U0TkVwbPMaaUr8YT-zq-9Q-1; Mon, 26 Oct 2026 11:07:33 -0400 X-MC-Unique: U0TkVwbPMaaUr8YT-zq-9Q-1 X-Mimecast-MFC-AGG-ID: U0TkVwbPMaaUr8YT-zq-9Q_1793027252 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 246551955E95; Mon, 26 Oct 2026 15:07:32 +0000 (UTC) Received: from localhost (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4D70C767; Mon, 26 Oct 2026 15:07:31 +0000 (UTC) From: Cornelia Huck To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Cc: Pierrick Bouvier , Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= , Richard Henderson , Ilya Leoshkevich , David Hildenbrand , Eric Farman , Matthew Rosato , qemu-s390x@nongnu.org Subject: Re: [PATCH v3 27/33] target/s390x: Implement and register CPUClass::exception_name() In-Reply-To: <20261022215115.19680-28-philmd@oss.qualcomm.com> Organization: "Red Hat GmbH, Sitz: Werner-von-Siemens-Ring 12, D-85630 Grasbrunn, Handelsregister: Amtsgericht =?utf-8?Q?M=C3=BCnchen=2C?= HRB 153243, =?utf-8?Q?Gesch=C3=A4ftsf=C3=BChrer=3A?= Ryan Barnhart, Charles Cachera, Avril Crosse O'Flaherty" References: <20261022215115.19680-1-philmd@oss.qualcomm.com> <20261022215115.19680-28-philmd@oss.qualcomm.com> User-Agent: Notmuch/0.40 (https://notmuchmail.org) Date: Mon, 26 Oct 2026 16:07:29 +0100 Message-ID: <8733ts33gu.fsf@redhat.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 Received-SPF: pass client-ip=170.10.133.124; envelope-from=cohuck@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: 2 X-Spam_score: 0.2 X-Spam_bar: / X-Spam_report: (0.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: qemu development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org X-Spam-Status: No, score=-16.1 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,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 On Thu, Oct 22 2026, Philippe Mathieu-Daud=C3=A9 = wrote: > Implement s390x_exception_name() and register it as the > CPUClass::exception_name() handler, so the common exception > logging can resolve s390x exception codes to names. > > Use the new helper in s390_cpu_do_interrupt() and helper_exception(). > > With '-d int', s390_cpu_do_interrupt() now logs the exception > name in parentheses after its number. > > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > Reviewed-by: Pierrick Bouvier > --- > target/s390x/cpu.h | 2 ++ > target/s390x/cpu.c | 1 + > target/s390x/interrupt.c | 16 ++++++++++++++++ > target/s390x/tcg/excp_helper.c | 6 ++++-- > target/s390x/tcg/misc_helper.c | 3 ++- > 5 files changed, 25 insertions(+), 3 deletions(-) Acked-by: Cornelia Huck