[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 03/19] ppc/pnv: Move timebase state into PnvCore
From: |
Nicholas Piggin |
Subject: |
Re: [PATCH v2 03/19] ppc/pnv: Move timebase state into PnvCore |
Date: |
Mon, 15 Jul 2024 16:30:17 +1000 |
On Fri Jul 12, 2024 at 11:40 PM AEST, Cédric Le Goater wrote:
> On 7/12/24 14:02, Nicholas Piggin wrote:
> > diff --git a/target/ppc/timebase_helper.c b/target/ppc/timebase_helper.c
> > index 39d397416e..52f9e6669c 100644
> > --- a/target/ppc/timebase_helper.c
> > +++ b/target/ppc/timebase_helper.c
> > @@ -19,6 +19,7 @@
> > #include "qemu/osdep.h"
> > #include "cpu.h"
> > #include "hw/ppc/ppc.h"
> > +#include "hw/ppc/pnv_core.h"
>
> I am afraid this header file is pulling too much definitions for
> qemu-user. It breaks compile.
Humph, sorry I obviously wasn't testing it. I might just ifdef it for
now.
Not sure the best way to do it cleanly in the longer term , Power
specific things could go into their own helper.c file, but I don't
necessarily like to move them away from similar/related functions.
Thanks,
Nick
- [PATCH v2 00/19] ppc/pnv: Better big-core model, lpar-per-core, PC unit, Nicholas Piggin, 2024/07/12
- [PATCH v2 04/19] target/ppc: Move SPR indirect registers into PnvCore, Nicholas Piggin, 2024/07/12
- [PATCH v2 05/19] ppc/pnv: use class attribute to limit SMT threads for different machines, Nicholas Piggin, 2024/07/12
- [PATCH v2 02/19] ppc/pnv: Add pointer from PnvCPUState to PnvCore, Nicholas Piggin, 2024/07/12
- [PATCH v2 01/19] target/ppc: Fix msgsnd for POWER8, Nicholas Piggin, 2024/07/12
- [PATCH v2 03/19] ppc/pnv: Move timebase state into PnvCore, Nicholas Piggin, 2024/07/12
- [PATCH v2 06/19] ppc/pnv: Extend chip_pir class method to TIR as well, Nicholas Piggin, 2024/07/12
- [PATCH v2 07/19] ppc: Add a core_index to CPUPPCState for SMT vCPUs, Nicholas Piggin, 2024/07/12
- [PATCH v2 08/19] target/ppc: Add helpers to check for SMT sibling threads, Nicholas Piggin, 2024/07/12
- [PATCH v2 09/19] ppc: Add has_smt_siblings property to CPUPPCState, Nicholas Piggin, 2024/07/12
- [PATCH v2 11/19] ppc/pnv: Add allow for big-core differences in DT generation, Nicholas Piggin, 2024/07/12
- [PATCH v2 10/19] ppc/pnv: Add a big-core mode that joins two regular cores, Nicholas Piggin, 2024/07/12
- [PATCH v2 12/19] ppc/pnv: Implement big-core PVR for Power9/10, Nicholas Piggin, 2024/07/12