[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 12/15] target/ppc: Fix style in excp_helper.c
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 12/15] target/ppc: Fix style in excp_helper.c |
Date: |
Thu, 23 Jan 2025 22:56:06 +0100 |
Fix style in do_rfi() before moving the code around.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/ppc/excp_helper.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/ppc/excp_helper.c b/target/ppc/excp_helper.c
index 48e08d65bd7..661d9650d9f 100644
--- a/target/ppc/excp_helper.c
+++ b/target/ppc/excp_helper.c
@@ -2481,8 +2481,9 @@ static void do_rfi(CPUPPCState *env, target_ulong nip,
target_ulong msr)
msr &= ~(1ULL << MSR_POW);
/* MSR:TGPR cannot be set by any form of rfi */
- if (env->flags & POWERPC_FLAG_TGPR)
+ if (env->flags & POWERPC_FLAG_TGPR) {
msr &= ~(1ULL << MSR_TGPR);
+ }
#ifdef TARGET_PPC64
/* Switching to 32-bit ? Crop the nip */
--
2.47.1
- [RFC PATCH 01/15] hw/ppc/spapr: Restrict CONFER hypercall to TCG, (continued)
- [RFC PATCH 01/15] hw/ppc/spapr: Restrict CONFER hypercall to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 02/15] hw/ppc/spapr: Restrict part of PAGE_INIT hypercall to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 03/15] target/ppc: Make ppc_ldl_code() declaration public, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 04/15] target/ppc: Move TCG specific exception handlers to tcg-excp_helper.c, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 05/15] target/ppc: Move ppc_ldl_code() to tcg-excp_helper.c, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 06/15] target/ppc: Ensure powerpc_checkstop() is only called under TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 07/15] target/ppc: Restrict powerpc_checkstop() to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 08/15] target/ppc: Remove raise_exception_ra(), Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 09/15] target/ppc: Restrict exception helpers to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 10/15] target/ppc: Restrict ppc_tcg_hv_emu() to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 12/15] target/ppc: Fix style in excp_helper.c,
Philippe Mathieu-Daudé <=
- [PATCH 13/15] target/ppc: Make powerpc_excp() prototype public, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 11/15] target/ppc: Restrict various common helpers to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 14/15] target/ppc: Restrict various system helpers to TCG, Philippe Mathieu-Daudé, 2025/01/23
- [PATCH 15/15] target/ppc: Restrict ATTN helper to TCG, Philippe Mathieu-Daudé, 2025/01/23