* [Qemu-devel] [PATCH v1 1/2] s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
2015-11-13 17:00 [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Edgar E. Iglesias
@ 2015-11-13 17:00 ` Edgar E. Iglesias
2015-11-13 17:00 ` [Qemu-devel] [PATCH v1 2/2] petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a Edgar E. Iglesias
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Edgar E. Iglesias @ 2015-11-13 17:00 UTC (permalink / raw)
To: qemu-devel
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
Set the MicroBlaze CPU version to 7.10.d avoiding a runtime
warning due to an unset CPU version.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
---
hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/microblaze/petalogix_s3adsp1800_mmu.c b/hw/microblaze/petalogix_s3adsp1800_mmu.c
index 3381156..1c84b75 100644
--- a/hw/microblaze/petalogix_s3adsp1800_mmu.c
+++ b/hw/microblaze/petalogix_s3adsp1800_mmu.c
@@ -66,6 +66,7 @@ petalogix_s3adsp1800_init(MachineState *machine)
MemoryRegion *sysmem = get_system_memory();
cpu = MICROBLAZE_CPU(object_new(TYPE_MICROBLAZE_CPU));
+ object_property_set_str(OBJECT(cpu), "7.10.d", "version", &error_abort);
object_property_set_bool(OBJECT(cpu), true, "realized", &error_abort);
/* Attach emulated BRAM through the LMB. */
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Qemu-devel] [PATCH v1 2/2] petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a
2015-11-13 17:00 [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Edgar E. Iglesias
2015-11-13 17:00 ` [Qemu-devel] [PATCH v1 1/2] s3adsp1800: Set the MicroBlaze CPU version to 7.10.d Edgar E. Iglesias
@ 2015-11-13 17:00 ` Edgar E. Iglesias
2015-11-13 17:52 ` [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Peter Crosthwaite
2016-01-07 14:07 ` Edgar E. Iglesias
3 siblings, 0 replies; 5+ messages in thread
From: Edgar E. Iglesias @ 2015-11-13 17:00 UTC (permalink / raw)
To: qemu-devel
From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
Set the MicroBlaze CPU version to 8.10.a avoiding a runtime
warning due to an unset CPU version.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
---
hw/microblaze/petalogix_ml605_mmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/microblaze/petalogix_ml605_mmu.c b/hw/microblaze/petalogix_ml605_mmu.c
index 462060f..edfb30f 100644
--- a/hw/microblaze/petalogix_ml605_mmu.c
+++ b/hw/microblaze/petalogix_ml605_mmu.c
@@ -81,6 +81,7 @@ petalogix_ml605_init(MachineState *machine)
/* init CPUs */
cpu = MICROBLAZE_CPU(object_new(TYPE_MICROBLAZE_CPU));
+ object_property_set_str(OBJECT(cpu), "8.10.a", "version", &error_abort);
/* Use FPU but don't use floating point conversion and square
* root instructions
*/
--
1.9.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version
2015-11-13 17:00 [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Edgar E. Iglesias
2015-11-13 17:00 ` [Qemu-devel] [PATCH v1 1/2] s3adsp1800: Set the MicroBlaze CPU version to 7.10.d Edgar E. Iglesias
2015-11-13 17:00 ` [Qemu-devel] [PATCH v1 2/2] petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a Edgar E. Iglesias
@ 2015-11-13 17:52 ` Peter Crosthwaite
2016-01-07 14:07 ` Edgar E. Iglesias
3 siblings, 0 replies; 5+ messages in thread
From: Peter Crosthwaite @ 2015-11-13 17:52 UTC (permalink / raw)
To: Edgar E. Iglesias; +Cc: qemu-devel@nongnu.org Developers
On Fri, Nov 13, 2015 at 9:00 AM, Edgar E. Iglesias
<edgar.iglesias@gmail.com> wrote:
> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
>
> Hi,
>
> This series avoids runtime warnings when using the
> petalogix s3adsp1800 and ml605 microblaze boards by
> explicitly selecting the MicroBlaze CPU versions.
>
> The versions match the DTBs we ship.
>
> Cheers,
> Edgar
>
> Edgar E. Iglesias (2):
> s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
> petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a
>
Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com>
> hw/microblaze/petalogix_ml605_mmu.c | 1 +
> hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 +
> 2 files changed, 2 insertions(+)
>
> --
> 1.9.1
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version
2015-11-13 17:00 [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Edgar E. Iglesias
` (2 preceding siblings ...)
2015-11-13 17:52 ` [Qemu-devel] [PATCH v1 0/2] hw/microblaze: Set MicroBlaze CPU version Peter Crosthwaite
@ 2016-01-07 14:07 ` Edgar E. Iglesias
3 siblings, 0 replies; 5+ messages in thread
From: Edgar E. Iglesias @ 2016-01-07 14:07 UTC (permalink / raw)
To: qemu-devel
On Fri, Nov 13, 2015 at 06:00:02PM +0100, Edgar E. Iglesias wrote:
> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
>
> Hi,
>
> This series avoids runtime warnings when using the
> petalogix s3adsp1800 and ml605 microblaze boards by
> explicitly selecting the MicroBlaze CPU versions.
>
> The versions match the DTBs we ship.
I've applied this series.
Cheers,
Edgar
>
> Cheers,
> Edgar
>
> Edgar E. Iglesias (2):
> s3adsp1800: Set the MicroBlaze CPU version to 7.10.d
> petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a
>
> hw/microblaze/petalogix_ml605_mmu.c | 1 +
> hw/microblaze/petalogix_s3adsp1800_mmu.c | 1 +
> 2 files changed, 2 insertions(+)
>
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread