[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 50/66] hw/core/cpu: Move cpu properties to cpu-sysemu.c
From: |
Eduardo Habkost |
Subject: |
Re: [PATCH v3 50/66] hw/core/cpu: Move cpu properties to cpu-sysemu.c |
Date: |
Thu, 19 Aug 2021 12:52:31 -0400 |
On Thu, Aug 19, 2021 at 04:26:10PM +0100, Peter Maydell wrote:
> On Wed, 18 Aug 2021 at 21:09, Richard Henderson
> <richard.henderson@linaro.org> wrote:
> >
> > The comment in cpu-common.c is absolutely correct, we can't
> > rely on the ifdef in a file built once. This was only "working"
> > because we used ifndef.
> >
> > Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>
> Fixes: 1b36e4f5a5de585
>
> which moved the properties out of cpu.c and into cpu-common.c
> with the remark "There's no reason to keep the property list
> separate from the CPU class code" despite there being a big
> fat warning comment saying why it can't go in a compiled-once
> source file !
Ouch. Sorry about that. :(
>
> Is there a reason to prefer this patch over just reverting
> 1b36e4f5a5de585 ?
I agree with reverting the commit.
--
Eduardo
- [PATCH v3 48/66] hw/core/cpu: Re-sort the non-pointers to the end of CPUClass, (continued)
- [PATCH v3 48/66] hw/core/cpu: Re-sort the non-pointers to the end of CPUClass, Richard Henderson, 2021/08/18
- [PATCH v3 49/66] linux-user: Add code for PR_GET/SET_UNALIGN, Richard Henderson, 2021/08/18
- [PATCH v3 52/66] target/alpha: Reorg fp memory operations, Richard Henderson, 2021/08/18
- [PATCH v3 53/66] target/alpha: Reorg integer memory operations, Richard Henderson, 2021/08/18
- [PATCH v3 51/66] hw/core/cpu: Add prctl-unalign-sigbus property for user-only, Richard Henderson, 2021/08/18
- [PATCH v3 50/66] hw/core/cpu: Move cpu properties to cpu-sysemu.c, Richard Henderson, 2021/08/18
- [PATCH v3 54/66] target/alpha: Implement prctl_unalign_sigbus, Richard Henderson, 2021/08/18
- [PATCH v3 56/66] target/sh4: Implement prctl_unalign_sigbus, Richard Henderson, 2021/08/18
- [PATCH v3 55/66] target/hppa: Implement prctl_unalign_sigbus, Richard Henderson, 2021/08/18
- [PATCH v3 57/66] accel/tcg/user-exec: Convert DEBUG_SIGNAL to tracepoint, Richard Henderson, 2021/08/18
- [PATCH v3 58/66] include/exec: Move cpu_signal_handler declaration, Richard Henderson, 2021/08/18
- [PATCH v3 59/66] accel/tcg: Handle SIGBUS in handle_cpu_signal, Richard Henderson, 2021/08/18