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 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95160C54798 for ; Tue, 27 Feb 2024 15:09:31 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rez44-0003Fe-UK; Tue, 27 Feb 2024 10:08:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rez43-0003F2-JX; Tue, 27 Feb 2024 10:08:15 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rez3v-0007u5-Sz; Tue, 27 Feb 2024 10:08:15 -0500 Received: from zero.eik.bme.hu (localhost [127.0.0.1]) by zero.eik.bme.hu (Postfix) with ESMTP id 708D34E60D1; Tue, 27 Feb 2024 16:08:02 +0100 (CET) X-Virus-Scanned: amavisd-new at eik.bme.hu Received: from zero.eik.bme.hu ([127.0.0.1]) by zero.eik.bme.hu (zero.eik.bme.hu [127.0.0.1]) (amavisd-new, port 10028) with ESMTP id DaFn_7f-eSES; Tue, 27 Feb 2024 16:08:00 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 7D15B4E60D2; Tue, 27 Feb 2024 16:08:00 +0100 (CET) Message-Id: From: BALATON Zoltan Subject: [PATCH v7 00/10] Misc clean ups to target/ppc exception handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: Nicholas Piggin , Daniel Henrique Barboza , clg@kaod.org Date: Tue, 27 Feb 2024 16:08:00 +0100 (CET) Received-SPF: pass client-ip=152.66.115.2; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org These are some small clean ups for target/ppc/excp_helper.c trying to make this code a bit simpler. No functional change is intended. This series was submitted before but only partially merged due to freeze and conflicting series os thia was postponed then to avoid conflicts. v7: - New patch adding gen_exception_err_nip() as suggested by Nick - Remove unneeded else branch after return v6: - rebase on master - added R-b tags and changes from Harsh v5: - rebase on master - keep logging nip pointing to the sc instruction - add another patch v4: Rebased on master dropping what was merged BALATON Zoltan (10): target/ppc: Use env_cpu for cpu_abort in excp_helper target/ppc: Readability improvements in exception handlers target/ppc: Add gen_exception_err_nip() function target/ppc: Fix gen_sc to use correct nip target/ppc: Move patching nip from exception handler to helper_scv target/ppc: Simplify syscall exception handlers target/ppc: Clean up ifdefs in excp_helper.c, part 1 target/ppc: Clean up ifdefs in excp_helper.c, part 2 target/ppc: Clean up ifdefs in excp_helper.c, part 3 target/ppc: Remove interrupt handler wrapper functions target/ppc/cpu.h | 1 + target/ppc/excp_helper.c | 485 ++++++++++++--------------------------- target/ppc/translate.c | 40 ++-- 3 files changed, 176 insertions(+), 350 deletions(-) -- 2.30.9