qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] ppc/pnv: Add QME region for P10


From: Joel Stanley
Subject: Re: [PATCH] ppc/pnv: Add QME region for P10
Date: Fri, 7 Jul 2023 07:07:37 +0000

On Fri, 7 Jul 2023 at 05:04, Cédric Le Goater <clg@kaod.org> wrote:

> pnv_quad_realize realizes power9 and power10 quad objects but ...
>
> >   }
> >
> >   static Property pnv_quad_properties[] = {
> > @@ -528,6 +581,9 @@ static void pnv_quad_power10_class_init(ObjectClass 
> > *oc, void *data)
> >
> >       pqc->xscom_ops = &pnv_quad_power10_xscom_ops;
> >       pqc->xscom_size = PNV10_XSCOM_EQ_SIZE;
> > +
> > +    pqc->xscom_qme_ops = &pnv_qme_power10_xscom_ops;
> > +    pqc->xscom_qme_size = PNV10_XSCOM_QME_SIZE;
>
> xscom_qme_size is only defined on power10 and it is 0 on power9. The region
> is nevertheless initialized on power9 and never mapped.
>
> I think we should introduce a specific realize routine for each proc now.

I overlooked the P9 behaviour, thanks for pointing that out. I'll make
the realise proc specific.

Cheers,

Joel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]