Skip to contentSkip to conversation

hw/arm: Misc trivial fixes/cleanups

PATCH Applied Philippe Mathieu-Daudé 4 participants 14 messages Jan 31, 2021 – Feb 2, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

v3 cover hw/arm: Misc trivial fixes/cleanups

Trivial bugfixes and cleanup patches noticed while rebasing my "Support disabling TCG on ARM (part 2)" series.

Since v2:
- removed incorrect patches added in v2 =)
- more fixes for Versal board (CAN, RTC)

Since v1:
- added patches to remove 64-bit specific features on 32-bit build.

Philippe Mathieu-Daudé (6):
hw/arm/stm32f405_soc: Add missing dependency on OR_IRQ hw/arm/exynos4210: Add missing dependency on OR_IRQ hw/arm/xlnx-versal: Versal SoC requires ZDMA hw/arm/xlnx-versal: Versal SoC requires ZynqMP peripherals hw/net/can: ZynqMP CAN device requires PTIMER hw/arm: Display CPU type in machine description

 hw/arm/digic_boards.c  | 2 +-
 hw/arm/microbit.c      | 2 +-
 hw/arm/netduino2.c     | 2 +-
 hw/arm/netduinoplus2.c | 2 +-
 hw/arm/orangepi.c      | 2 +-
 hw/arm/stellaris.c     | 4 ++--
 hw/Kconfig             | 1 +
 hw/arm/Kconfig         | 5 +++++
 hw/dma/Kconfig         | 3 +++
 hw/dma/meson.build     | 2 +-
 10 files changed, 17 insertions(+), 8 deletions(-)
Signature · 1 line
2.26.2
#1 lore raw

PATCH v3 1/6 hw/arm/stm32f405_soc: Add missing dependency on OR_IRQ

The STM32F405 SoC uses an OR gate on its ADC IRQs.

Fixes 529fc5fd3e1 ("hw/arm: Add the STM32F4xx SoC")

---
Cc: [email protected]

---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -0
index 13cc42dcc84..a320a124855 100644
@@ -336,6 +336,7 @@ config STM32F205_SOC
 config STM32F405_SOC
     bool
     select ARM_V7M
+    select OR_IRQ
     select STM32F4XX_SYSCFG
     select STM32F4XX_EXTI
 
Signature · 1 line
2.26.2
Reviewed-by on v3 1/6
#2 lore raw

Re: [PATCH v3 1/6] hw/arm/stm32f405_soc: Add missing dependency on OR_IRQ

Quoted 5 lines · Philippe Mathieu-Daudé

The STM32F405 SoC uses an OR gate on its ADC IRQs.

Fixes 529fc5fd3e1 ("hw/arm: Add the STM32F4xx SoC")

Alistair

Quoted 22 lines

---
Cc: [email protected]

---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -1
index 13cc42dcc84..a320a124855 100644
@@ -336,6 +336,7 @@ config STM32F205_SOC
 config STM32F405_SOC
     bool
     select ARM_V7M
+    select OR_IRQ
     select STM32F4XX_SYSCFG
     select STM32F4XX_EXTI
 
--

2.26.2

#3 lore raw

PATCH v3 2/6 hw/arm/exynos4210: Add missing dependency on OR_IRQ

In reply to Philippe Mathieu-Daudé

The Exynos4210 SoC uses an OR gate on the PL330 IRQ lines.

Fixes dab15fbe2ab ("hw/arm/exynos4210: Fix DMA initialization")

---
Cc: Igor Mitsyanko <[email protected]>

---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -0
index a320a124855..223016bb4e8 100644
@@ -52,6 +52,7 @@ config EXYNOS4
     select PTIMER
     select SDHCI
     select USB_EHCI_SYSBUS
+    select OR_IRQ
 
 config HIGHBANK
     bool
Signature · 1 line
2.26.2
#4 lore raw

PATCH v3 3/6 hw/arm/xlnx-versal: Versal SoC requires ZDMA

In reply to Philippe Mathieu-Daudé

The Versal SoC instantiates the TYPE_XLNX_ZDMA object in versal_create_admas(). Introduce the XLNX_ZDMA configuration and select it to fix:

  $ qemu-system-aarch64 -M xlnx-versal-virt ...
  qemu-system-aarch64: missing object type 'xlnx.zdma'

---
Cc: Alistair Francis <[email protected]>
Cc: "Edgar E. Iglesias" <[email protected]>

---
 hw/arm/Kconfig     | 2 ++
 hw/dma/Kconfig     | 3 +++
 hw/dma/meson.build | 2 +-
 3 files changed, 6 insertions(+), 1 deletion(-)
hw/arm/Kconfig +2 -0
index 223016bb4e8..09298881f2f 100644
@@ -354,6 +354,7 @@ config XLNX_ZYNQMP_ARM
     select XILINX_AXI
     select XILINX_SPIPS
     select XLNX_ZYNQMP
+    select XLNX_ZDMA
 
 config XLNX_VERSAL
     bool
@@ -362,6 +363,7 @@ config XLNX_VERSAL
     select CADENCE
     select VIRTIO_MMIO
     select UNIMP
+    select XLNX_ZDMA
 
 config NPCM7XX
     bool
hw/dma/Kconfig +3 -0
index d67492d36c1..5d6be1a7a7a 100644
@@ -18,6 +18,9 @@ config ZYNQ_DEVCFG
     bool
     select REGISTER
 
+config XLNX_ZDMA
+    bool
+
 config STP2000
     bool
 
hw/dma/meson.build +1 -1
index b991d7698c7..47b4a7cb47b 100644
@@ -9,7 +9,7 @@
 softmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_dma.c'))
 softmmu_ss.add(when: 'CONFIG_STP2000', if_true: files('sparc32_dma.c'))
 softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx_dpdma.c'))
-softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zdma.c'))
+softmmu_ss.add(when: 'CONFIG_XLNX_ZDMA', if_true: files('xlnx-zdma.c'))
 softmmu_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_dma.c', 'soc_dma.c'))
 softmmu_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx_dma.c'))
 softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_dma.c'))
Signature · 1 line
2.26.2
Reviewed-by on v3 3/6
#5 lore raw

Re: [PATCH v3 3/6] hw/arm/xlnx-versal: Versal SoC requires ZDMA

Quoted 9 lines · Philippe Mathieu-Daudé

The Versal SoC instantiates the TYPE_XLNX_ZDMA object in versal_create_admas(). Introduce the XLNX_ZDMA configuration and select it to fix:

  $ qemu-system-aarch64 -M xlnx-versal-virt ...
  qemu-system-aarch64: missing object type 'xlnx.zdma'

Alistair

Quoted 60 lines

---
Cc: Alistair Francis <[email protected]>
Cc: "Edgar E. Iglesias" <[email protected]>

---
 hw/arm/Kconfig     | 2 ++
 hw/dma/Kconfig     | 3 +++
 hw/dma/meson.build | 2 +-
 3 files changed, 6 insertions(+), 1 deletion(-)
hw/arm/Kconfig +2 -0
index 223016bb4e8..09298881f2f 100644
@@ -354,6 +354,7 @@ config XLNX_ZYNQMP_ARM
     select XILINX_AXI
     select XILINX_SPIPS
     select XLNX_ZYNQMP
+    select XLNX_ZDMA
 
 config XLNX_VERSAL
     bool
@@ -362,6 +363,7 @@ config XLNX_VERSAL
     select CADENCE
     select VIRTIO_MMIO
     select UNIMP
+    select XLNX_ZDMA
 
 config NPCM7XX
     bool
hw/dma/Kconfig +3 -0
index d67492d36c1..5d6be1a7a7a 100644
@@ -18,6 +18,9 @@ config ZYNQ_DEVCFG
     bool
     select REGISTER
 
+config XLNX_ZDMA
+    bool
+
 config STP2000
     bool
 
hw/dma/meson.build +1 -2
index b991d7698c7..47b4a7cb47b 100644
@@ -9,7 +9,7 @@
 softmmu_ss.add(when: 'CONFIG_ETRAXFS', if_true: files('etraxfs_dma.c'))
 softmmu_ss.add(when: 'CONFIG_STP2000', if_true: files('sparc32_dma.c'))
 softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx_dpdma.c'))
-softmmu_ss.add(when: 'CONFIG_XLNX_ZYNQMP_ARM', if_true: files('xlnx-zdma.c'))
+softmmu_ss.add(when: 'CONFIG_XLNX_ZDMA', if_true: files('xlnx-zdma.c'))
 softmmu_ss.add(when: 'CONFIG_OMAP', if_true: files('omap_dma.c', 'soc_dma.c'))
 softmmu_ss.add(when: 'CONFIG_PXA2XX', if_true: files('pxa2xx_dma.c'))
 softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files('bcm2835_dma.c'))
--

2.26.2

#6 lore raw

PATCH v3 4/6 hw/arm/xlnx-versal: Versal SoC requires ZynqMP peripherals

In reply to Philippe Mathieu-Daudé

The Versal SoC instantiates the TYPE_XLNX_ZYNQMP_RTC object in versal_create_rtc()(). Select CONFIG_XLNX_ZYNQMP to fix:

  $ make check-qtest-aarch64
  ...
  Running test qtest-aarch64/qom-test
  qemu-system-aarch64: missing object type 'xlnx-zynmp.rtc'
  Broken pipe

---
Cc: Alistair Francis <[email protected]>
Cc: "Edgar E. Iglesias" <[email protected]>

---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -0
index 09298881f2f..be017b997ab 100644
@@ -364,6 +364,7 @@ config XLNX_VERSAL
     select VIRTIO_MMIO
     select UNIMP
     select XLNX_ZDMA
+    select XLNX_ZYNQMP
 
 config NPCM7XX
     bool
Signature · 1 line
2.26.2
Reviewed-by on v3 4/6
#7 lore raw

Re: [PATCH v3 4/6] hw/arm/xlnx-versal: Versal SoC requires ZynqMP peripherals

Quoted 11 lines · Philippe Mathieu-Daudé

The Versal SoC instantiates the TYPE_XLNX_ZYNQMP_RTC object in versal_create_rtc()(). Select CONFIG_XLNX_ZYNQMP to fix:

  $ make check-qtest-aarch64
  ...
  Running test qtest-aarch64/qom-test
  qemu-system-aarch64: missing object type 'xlnx-zynmp.rtc'
  Broken pipe

Alistair

Quoted 23 lines

---
Cc: Alistair Francis <[email protected]>
Cc: "Edgar E. Iglesias" <[email protected]>

---
 hw/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/arm/Kconfig +1 -1
index 09298881f2f..be017b997ab 100644
@@ -364,6 +364,7 @@ config XLNX_VERSAL
     select VIRTIO_MMIO
     select UNIMP
     select XLNX_ZDMA
+    select XLNX_ZYNQMP
 
 config NPCM7XX
     bool
--

2.26.2

#8 lore raw

PATCH v3 5/6 hw/net/can: ZynqMP CAN device requires PTIMER

In reply to Philippe Mathieu-Daudé

Add a dependency XLNX_ZYNQMP -> PTIMER to fix:

/usr/bin/ld:
libcommon.fa.p/hw_net_can_xlnx-zynqmp-can.c.o: in function `xlnx_zynqmp_can_realize':
hw/net/can/xlnx-zynqmp-can.c:1082: undefined reference to ptimer_init' hw/net/can/xlnx-zynqmp-can.c:1085: undefined reference to ptimer_transaction_begin' hw/net/can/xlnx-zynqmp-can.c:1087: undefined reference to ptimer_set_freq' hw/net/can/xlnx-zynqmp-can.c:1088: undefined reference to ptimer_set_limit' hw/net/can/xlnx-zynqmp-can.c:1089: undefined reference to ptimer_run' hw/net/can/xlnx-zynqmp-can.c:1090: undefined reference to ptimer_transaction_commit' libcommon.fa.p/hw_net_can_xlnx-zynqmp-can.c.o:(.data.rel+0x2c8): undefined reference to `vmstate_ptimer'

---
 hw/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/Kconfig +1 -0
index 5ad3c6b5a4b..d4cec9e476c 100644
@@ -81,3 +81,4 @@ config XLNX_ZYNQMP
     bool
     select REGISTER
     select CAN_BUS
+    select PTIMER
Signature · 1 line
2.26.2
Reviewed-by on v3 5/6
#9 lore raw

Re: [PATCH v3 5/6] hw/net/can: ZynqMP CAN device requires PTIMER

Quoted 13 lines · Philippe Mathieu-Daudé

Add a dependency XLNX_ZYNQMP -> PTIMER to fix:

/usr/bin/ld:
libcommon.fa.p/hw_net_can_xlnx-zynqmp-can.c.o: in function `xlnx_zynqmp_can_realize':
hw/net/can/xlnx-zynqmp-can.c:1082: undefined reference to ptimer_init' hw/net/can/xlnx-zynqmp-can.c:1085: undefined reference to ptimer_transaction_begin' hw/net/can/xlnx-zynqmp-can.c:1087: undefined reference to ptimer_set_freq' hw/net/can/xlnx-zynqmp-can.c:1088: undefined reference to ptimer_set_limit' hw/net/can/xlnx-zynqmp-can.c:1089: undefined reference to ptimer_run' hw/net/can/xlnx-zynqmp-can.c:1090: undefined reference to ptimer_transaction_commit' libcommon.fa.p/hw_net_can_xlnx-zynqmp-can.c.o:(.data.rel+0x2c8): undefined reference to `vmstate_ptimer'

Quoted 1 line

Alistair

Quoted 17 lines
---
 hw/Kconfig | 1 +
 1 file changed, 1 insertion(+)
hw/Kconfig +1 -1
index 5ad3c6b5a4b..d4cec9e476c 100644
@@ -81,3 +81,4 @@ config XLNX_ZYNQMP
     bool
     select REGISTER
     select CAN_BUS
+    select PTIMER
--

2.26.2

#10 lore raw

PATCH v3 6/6 hw/arm: Display CPU type in machine description

In reply to Philippe Mathieu-Daudé

Most of ARM machines display their CPU when QEMU list the available machines (-M help). Some machines do not. Fix to unify the help output.

---
 hw/arm/digic_boards.c  | 2 +-
 hw/arm/microbit.c      | 2 +-
 hw/arm/netduino2.c     | 2 +-
 hw/arm/netduinoplus2.c | 2 +-
 hw/arm/orangepi.c      | 2 +-
 hw/arm/stellaris.c     | 4 ++--
 6 files changed, 7 insertions(+), 7 deletions(-)
hw/arm/digic_boards.c +1 -1
index be12873673b..6cdc1d83fca 100644
@@ -142,7 +142,7 @@ static void canon_a1100_init(MachineState *machine)
 
 static void canon_a1100_machine_init(MachineClass *mc)
 {
-    mc->desc = "Canon PowerShot A1100 IS";
+    mc->desc = "Canon PowerShot A1100 IS (ARM946)";
     mc->init = &canon_a1100_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_ram_size = 64 * MiB;
hw/arm/microbit.c +1 -1
index 0947491cb97..e9494334ce7 100644
@@ -64,7 +64,7 @@ static void microbit_machine_class_init(ObjectClass *oc, void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "BBC micro:bit";
+    mc->desc = "BBC micro:bit (Cortex-M0)";
     mc->init = microbit_init;
     mc->max_cpus = 1;
 }
hw/arm/netduino2.c +1 -1
index 8f103341443..1733b71507c 100644
@@ -54,7 +54,7 @@ static void netduino2_init(MachineState *machine)
 
 static void netduino2_machine_init(MachineClass *mc)
 {
-    mc->desc = "Netduino 2 Machine";
+    mc->desc = "Netduino 2 Machine (Cortex-M3)";
     mc->init = netduino2_init;
     mc->ignore_memory_transaction_failures = true;
 }
hw/arm/netduinoplus2.c +1 -1
index 68abd3ec69d..d3ad7a2b675 100644
@@ -55,7 +55,7 @@ static void netduinoplus2_init(MachineState *machine)
 
 static void netduinoplus2_machine_init(MachineClass *mc)
 {
-    mc->desc = "Netduino Plus 2 Machine";
+    mc->desc = "Netduino Plus 2 Machine (Cortex-M4)";
     mc->init = netduinoplus2_init;
 }
 
hw/arm/orangepi.c +1 -1
index d6306dfddae..40cdb5c6d2c 100644
@@ -113,7 +113,7 @@ static void orangepi_init(MachineState *machine)
 
 static void orangepi_machine_init(MachineClass *mc)
 {
-    mc->desc = "Orange Pi PC";
+    mc->desc = "Orange Pi PC (Cortex-A7)";
     mc->init = orangepi_init;
     mc->block_default_type = IF_SD;
     mc->units_per_default_bus = 1;
hw/arm/stellaris.c +2 -2
index ad72c0959f1..27292ec4113 100644
@@ -1538,7 +1538,7 @@ static void lm3s811evb_class_init(ObjectClass *oc, void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "Stellaris LM3S811EVB";
+    mc->desc = "Stellaris LM3S811EVB (Cortex-M3)";
     mc->init = lm3s811evb_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
@@ -1554,7 +1554,7 @@ static void lm3s6965evb_class_init(ObjectClass *oc, void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "Stellaris LM3S6965EVB";
+    mc->desc = "Stellaris LM3S6965EVB (Cortex-M3)";
     mc->init = lm3s6965evb_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
Signature · 1 line
2.26.2
Reviewed-by on v3 6/6
#11 lore raw

Re: [PATCH v3 6/6] hw/arm: Display CPU type in machine description

For Orange Pi PC:

Op zo 31 jan. 2021 19:45 schreef Philippe Mathieu-Daudé <[email protected]>:

Quoted 108 lines

Most of ARM machines display their CPU when QEMU list the available machines (-M help). Some machines do not. Fix to unify the help output.

---
 hw/arm/digic_boards.c  | 2 +-
 hw/arm/microbit.c      | 2 +-
 hw/arm/netduino2.c     | 2 +-
 hw/arm/netduinoplus2.c | 2 +-
 hw/arm/orangepi.c      | 2 +-
 hw/arm/stellaris.c     | 4 ++--
 6 files changed, 7 insertions(+), 7 deletions(-)
hw/arm/digic_boards.c +1 -1
index be12873673b..6cdc1d83fca 100644
@@ -142,7 +142,7 @@ static void canon_a1100_init(MachineState *machine)
 
 static void canon_a1100_machine_init(MachineClass *mc)
 {
-    mc->desc = "Canon PowerShot A1100 IS";
+    mc->desc = "Canon PowerShot A1100 IS (ARM946)";
     mc->init = &canon_a1100_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_ram_size = 64 * MiB;
hw/arm/microbit.c +1 -1
index 0947491cb97..e9494334ce7 100644
@@ -64,7 +64,7 @@ static void microbit_machine_class_init(ObjectClass *oc,
 void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "BBC micro:bit";
+    mc->desc = "BBC micro:bit (Cortex-M0)";
     mc->init = microbit_init;
     mc->max_cpus = 1;

}

hw/arm/netduino2.c +1 -1
index 8f103341443..1733b71507c 100644
@@ -54,7 +54,7 @@ static void netduino2_init(MachineState *machine)
 
 static void netduino2_machine_init(MachineClass *mc)
 {
-    mc->desc = "Netduino 2 Machine";
+    mc->desc = "Netduino 2 Machine (Cortex-M3)";
     mc->init = netduino2_init;
     mc->ignore_memory_transaction_failures = true;
 }
hw/arm/netduinoplus2.c +1 -1
index 68abd3ec69d..d3ad7a2b675 100644
@@ -55,7 +55,7 @@ static void netduinoplus2_init(MachineState *machine)
 
 static void netduinoplus2_machine_init(MachineClass *mc)
 {
-    mc->desc = "Netduino Plus 2 Machine";
+    mc->desc = "Netduino Plus 2 Machine (Cortex-M4)";
     mc->init = netduinoplus2_init;
 }
 
hw/arm/orangepi.c +1 -1
index d6306dfddae..40cdb5c6d2c 100644
@@ -113,7 +113,7 @@ static void orangepi_init(MachineState *machine)
 
 static void orangepi_machine_init(MachineClass *mc)
 {
-    mc->desc = "Orange Pi PC";
+    mc->desc = "Orange Pi PC (Cortex-A7)";
     mc->init = orangepi_init;
     mc->block_default_type = IF_SD;
     mc->units_per_default_bus = 1;
hw/arm/stellaris.c +1 -1
index ad72c0959f1..27292ec4113 100644
@@ -1538,7 +1538,7 @@ static void lm3s811evb_class_init(ObjectClass *oc,
 void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "Stellaris LM3S811EVB";
+    mc->desc = "Stellaris LM3S811EVB (Cortex-M3)";
     mc->init = lm3s811evb_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
hw/arm/stellaris.c +1 -1
@@ -1554,7 +1554,7 @@ static void lm3s6965evb_class_init(ObjectClass *oc,
 void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "Stellaris LM3S6965EVB";
+    mc->desc = "Stellaris LM3S6965EVB (Cortex-M3)";
     mc->init = lm3s6965evb_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");

--
2.26.2

Reviewed-by on v3 6/6
#12 lore raw

Re: [PATCH v3 6/6] hw/arm: Display CPU type in machine description

In reply to Philippe Mathieu-Daudé
Quoted 6 lines · Philippe Mathieu-Daudé

Most of ARM machines display their CPU when QEMU list the available machines (-M help). Some machines do not. Fix to unify the help output.

Alistair

Quoted 100 lines
---
 hw/arm/digic_boards.c  | 2 +-
 hw/arm/microbit.c      | 2 +-
 hw/arm/netduino2.c     | 2 +-
 hw/arm/netduinoplus2.c | 2 +-
 hw/arm/orangepi.c      | 2 +-
 hw/arm/stellaris.c     | 4 ++--
 6 files changed, 7 insertions(+), 7 deletions(-)
hw/arm/digic_boards.c +1 -1
index be12873673b..6cdc1d83fca 100644
@@ -142,7 +142,7 @@ static void canon_a1100_init(MachineState *machine)
 
 static void canon_a1100_machine_init(MachineClass *mc)
 {
-    mc->desc = "Canon PowerShot A1100 IS";
+    mc->desc = "Canon PowerShot A1100 IS (ARM946)";
     mc->init = &canon_a1100_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_ram_size = 64 * MiB;
hw/arm/microbit.c +1 -1
index 0947491cb97..e9494334ce7 100644
@@ -64,7 +64,7 @@ static void microbit_machine_class_init(ObjectClass *oc, void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "BBC micro:bit";
+    mc->desc = "BBC micro:bit (Cortex-M0)";
     mc->init = microbit_init;
     mc->max_cpus = 1;
 }
hw/arm/netduino2.c +1 -1
index 8f103341443..1733b71507c 100644
@@ -54,7 +54,7 @@ static void netduino2_init(MachineState *machine)
 
 static void netduino2_machine_init(MachineClass *mc)
 {
-    mc->desc = "Netduino 2 Machine";
+    mc->desc = "Netduino 2 Machine (Cortex-M3)";
     mc->init = netduino2_init;
     mc->ignore_memory_transaction_failures = true;
 }
hw/arm/netduinoplus2.c +1 -1
index 68abd3ec69d..d3ad7a2b675 100644
@@ -55,7 +55,7 @@ static void netduinoplus2_init(MachineState *machine)
 
 static void netduinoplus2_machine_init(MachineClass *mc)
 {
-    mc->desc = "Netduino Plus 2 Machine";
+    mc->desc = "Netduino Plus 2 Machine (Cortex-M4)";
     mc->init = netduinoplus2_init;
 }
 
hw/arm/orangepi.c +1 -1
index d6306dfddae..40cdb5c6d2c 100644
@@ -113,7 +113,7 @@ static void orangepi_init(MachineState *machine)
 
 static void orangepi_machine_init(MachineClass *mc)
 {
-    mc->desc = "Orange Pi PC";
+    mc->desc = "Orange Pi PC (Cortex-A7)";
     mc->init = orangepi_init;
     mc->block_default_type = IF_SD;
     mc->units_per_default_bus = 1;
hw/arm/stellaris.c +2 -3
index ad72c0959f1..27292ec4113 100644
@@ -1538,7 +1538,7 @@ static void lm3s811evb_class_init(ObjectClass *oc, void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "Stellaris LM3S811EVB";
+    mc->desc = "Stellaris LM3S811EVB (Cortex-M3)";
     mc->init = lm3s811evb_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
@@ -1554,7 +1554,7 @@ static void lm3s6965evb_class_init(ObjectClass *oc, void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->desc = "Stellaris LM3S6965EVB";
+    mc->desc = "Stellaris LM3S6965EVB (Cortex-M3)";
     mc->init = lm3s6965evb_init;
     mc->ignore_memory_transaction_failures = true;
     mc->default_cpu_type = ARM_CPU_TYPE_NAME("cortex-m3");
--

2.26.2

#13 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 11 lines · Philippe Mathieu-Daudé

Trivial bugfixes and cleanup patches noticed while rebasing my "Support disabling TCG on ARM (part 2)" series.

Since v2:
- removed incorrect patches added in v2 =)
- more fixes for Versal board (CAN, RTC)

Since v1:
- added patches to remove 64-bit specific features on 32-bit build.

Quoted 7 lines

Philippe Mathieu-Daudé (6):
hw/arm/stm32f405_soc: Add missing dependency on OR_IRQ hw/arm/exynos4210: Add missing dependency on OR_IRQ hw/arm/xlnx-versal: Versal SoC requires ZDMA hw/arm/xlnx-versal: Versal SoC requires ZynqMP peripherals hw/net/can: ZynqMP CAN device requires PTIMER hw/arm: Display CPU type in machine description

Applied to target-arm.next, thanks.

-- PMM