qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 1/1] xlnx-zcu102: Specify the number of max CPUs
@ 2017-10-28  7:28 Alistair Francis
  2017-10-30  3:25 ` [Qemu-devel] [PATCH v3] " Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: Alistair Francis @ 2017-10-28  7:28 UTC (permalink / raw)
  To: qemu-devel, peter.maydell
  Cc: alistair.francis, alistair23, edgar.iglesias, edgar.iglesias,
	f4bug

Specify the number of CPUs that can run on ZynqMP.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Philippe Mathieu-Daud <f4bug@amsat.org>
---
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 = {
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PATCH v3] xlnx-zcu102: Specify the number of max CPUs
  2017-10-28  7:28 [Qemu-devel] [PATCH v2 1/1] xlnx-zcu102: Specify the number of max CPUs Alistair Francis
@ 2017-10-30  3:25 ` Philippe Mathieu-Daudé
  2017-10-30  9:56   ` Peter Maydell
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2017-10-30  3:25 UTC (permalink / raw)
  To: Peter Maydell, Alistair Francis, Edgar E . Iglesias
  Cc: qemu-devel, qemu-arm, alistair23

From: Alistair Francis <alistair.francis@xilinx.com>

Specify the number of CPUs that can run on ZynqMP.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
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 = {
-- 
2.15.0.rc2

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH v3] xlnx-zcu102: Specify the number of max CPUs
  2017-10-30  3:25 ` [Qemu-devel] [PATCH v3] " Philippe Mathieu-Daudé
@ 2017-10-30  9:56   ` Peter Maydell
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2017-10-30  9:56 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: Alistair Francis, Edgar E . Iglesias, QEMU Developers, qemu-arm,
	Alistair Francis

On 30 October 2017 at 03:25, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
> From: Alistair Francis <alistair.francis@xilinx.com>
>
> Specify the number of CPUs that can run on ZynqMP.
>
> Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-10-30  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-28  7:28 [Qemu-devel] [PATCH v2 1/1] xlnx-zcu102: Specify the number of max CPUs Alistair Francis
2017-10-30  3:25 ` [Qemu-devel] [PATCH v3] " Philippe Mathieu-Daudé
2017-10-30  9:56   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).