Message ID | 1510343626-25861-5-git-send-email-cota@braap.org |
---|---|
State | New |
Headers | show |
Series | TCG/ARM fixes for 2.11 | expand |
On Fri, Nov 10, 2017 at 11:53 AM, Emilio G. Cota <cota@braap.org> wrote: > Just like the zcu102, the ep108 can instantiate several CPUs. > > Signed-off-by: Emilio G. Cota <cota@braap.org> I completely missed this, thanks for the patch. Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Alistair > --- > hw/arm/xlnx-zcu102.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c > index adddd23..190eb69 100644 > --- a/hw/arm/xlnx-zcu102.c > +++ b/hw/arm/xlnx-zcu102.c > @@ -188,6 +188,7 @@ static void xlnx_ep108_machine_class_init(ObjectClass *oc, void *data) > mc->block_default_type = IF_IDE; > mc->units_per_default_bus = 1; > mc->ignore_memory_transaction_failures = true; > + mc->max_cpus = XLNX_ZYNQMP_NUM_APU_CPUS + XLNX_ZYNQMP_NUM_RPU_CPUS; > } > > static const TypeInfo xlnx_ep108_machine_init_typeinfo = { > -- > 2.7.4 > >
diff --git a/hw/arm/xlnx-zcu102.c b/hw/arm/xlnx-zcu102.c index adddd23..190eb69 100644 --- a/hw/arm/xlnx-zcu102.c +++ b/hw/arm/xlnx-zcu102.c @@ -188,6 +188,7 @@ static void xlnx_ep108_machine_class_init(ObjectClass *oc, void *data) mc->block_default_type = IF_IDE; mc->units_per_default_bus = 1; mc->ignore_memory_transaction_failures = true; + mc->max_cpus = XLNX_ZYNQMP_NUM_APU_CPUS + XLNX_ZYNQMP_NUM_RPU_CPUS; } static const TypeInfo xlnx_ep108_machine_init_typeinfo = {
Just like the zcu102, the ep108 can instantiate several CPUs. Signed-off-by: Emilio G. Cota <cota@braap.org> --- hw/arm/xlnx-zcu102.c | 1 + 1 file changed, 1 insertion(+)