[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v3] xlnx-zcu102: Specify the number of max CPUs
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v3] xlnx-zcu102: Specify the number of max CPUs |
Date: |
Mon, 30 Oct 2017 09:56:49 +0000 |
On 30 October 2017 at 03:25, Philippe Mathieu-Daudé <address@hidden> wrote:
> From: Alistair Francis <address@hidden>
>
> Specify the number of CPUs that can run on ZynqMP.
>
> Signed-off-by: Alistair Francis <address@hidden>
> Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
> Tested-by: Philippe Mathieu-Daudé <address@hidden>
> ---
> V3:
> - Fix my ASCII noncompliant last name in Reviewed-by tag :(
> - added Tested-by for what it's worth
>
> V2:
> - Use macros
>
> 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 519a16ed98..e2d15a1c9d 100644
> --- a/hw/arm/xlnx-zcu102.c
> +++ b/hw/arm/xlnx-zcu102.c
> @@ -240,6 +240,7 @@ static void xlnx_zcu102_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_zcu102_machine_init_typeinfo = {
Applied to target-arm.next, thanks.
-- PMM