[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v7 02/10] target/ppc: Readability improvements in exception h
From: |
Peter Maydell |
Subject: |
Re: [PATCH v7 02/10] target/ppc: Readability improvements in exception handlers |
Date: |
Tue, 27 Feb 2024 15:32:37 +0000 |
On Tue, 27 Feb 2024 at 15:10, BALATON Zoltan <balaton@eik.bme.hu> wrote:
>
> Improve readability by shortening some long comments, removing
> comments that state the obvious and dropping some empty lines so they
> don't distract when reading the code.
>
> Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
> Acked-by: Nicholas Piggin <npiggin@gmail.com>
> - /*
> - * new interrupt handler msr preserves existing ME unless
> - * explicitly overridden.
> - */
> + /* new interrupt handler msr preserves ME unless explicitly overriden */
Minor typo introduced here: should be "overridden".
> new_msr = env->msr & (((target_ulong)1 << MSR_ME));
> @@ -575,16 +558,10 @@ static void powerpc_excp_6xx(PowerPCCPU *cpu, int excp)
> /* new srr1 value excluding must-be-zero bits */
> msr = env->msr & ~0x783f0000ULL;
>
> - /*
> - * new interrupt handler msr preserves existing ME unless
> - * explicitly overridden
> - */
> + /* new interrupt handler msr preserves ME unless explicitly overriden */
Ditto, and similarly for other instances later in the patch.
thanks
-- PMM
[PATCH v7 05/10] target/ppc: Move patching nip from exception handler to helper_scv, BALATON Zoltan, 2024/02/27
[PATCH v7 08/10] target/ppc: Clean up ifdefs in excp_helper.c, part 2, BALATON Zoltan, 2024/02/27
[PATCH v7 07/10] target/ppc: Clean up ifdefs in excp_helper.c, part 1, BALATON Zoltan, 2024/02/27
[PATCH v7 06/10] target/ppc: Simplify syscall exception handlers, BALATON Zoltan, 2024/02/27
[PATCH v7 09/10] target/ppc: Clean up ifdefs in excp_helper.c, part 3, BALATON Zoltan, 2024/02/27
[PATCH v7 10/10] target/ppc: Remove interrupt handler wrapper functions, BALATON Zoltan, 2024/02/27