Skip to contentSkip to conversation

MAINTAINERS, test and m68k

GIT PULL Applied Thomas Huth 3 participants 18 messages Feb 28, 2019 – Mar 1, 2019

lore
Share & tools
lore
#1 lore raw

[Qemu-devel] [PULL 01/13] MAINTAINERS: Add missing entries for the sun4u machines

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

---
 MAINTAINERS | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
MAINTAINERS +5 -1
index 8f9f9d7..22e0293 100644
@@ -1100,9 +1100,13 @@ Sun4u
 M: Mark Cave-Ayland <[email protected]>
 S: Maintained
 F: hw/sparc64/sun4u.c
-F: pc-bios/openbios-sparc64
+F: hw/sparc64/sun4u_iommu.c
+F: include/hw/sparc/sun4u_iommu.h
 F: hw/pci-host/sabre.c
 F: include/hw/pci-host/sabre.h
+F: hw/pci-bridge/simba.c
+F: include/hw/pci-bridge/simba.h
+F: pc-bios/openbios-sparc64
 
 Sun4v
 M: Artyom Tarasenko <[email protected]>
Signature · 1 line
1.8.3.1
#0 lore raw

Hi Peter,

the following changes since commit adf2e451f357e993f173ba9b4176dbf3e65fee7e:

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2019-02-26 19:04:47 +0000)

are available in the git repository at:

https://gitlab.com/huth/qemu.git tags/pull-request-2019-02-28

for you to fetch changes up to 9f04e1d9547224a935778c1935c605d607299070:

hw/m68k/mcf5208: Support loading of bios images (2019-02-28 12:18:18 +0100)

----------------------------------------------------------------
- Updates to MAINTAINERS file
- Re-enable the guest-agent test
- Add the possibility to load a bios image on the mcf5208evb machine
----------------------------------------------------------------

Philippe Mathieu-Daudé (10):
MAINTAINERS: Add missing entries for the sun4u machines
MAINTAINERS: Add missing entries for the PC machines
MAINTAINERS: Add missing entries for the QObject section
MAINTAINERS: Add missing test entries to the Cryptography section
MAINTAINERS: Add an entry for the Dino machine
MAINTAINERS: Add maintainer to the POSIX subsystem
MAINTAINERS: Orphanize the 'GDB stub' subsystem
MAINTAINERS: Add maintainers to the Linux subsystem
MAINTAINERS: Add maintainer to the TCG/i386 subsystem tests/test-qga: Reenable guest-agent qtest

Thomas Huth (3):
MAINTAINERS: Add some missing entries for the sun4m machine
MAINTAINERS: Clean up the RISC-V TCG backend section hw/m68k/mcf5208: Support loading of bios images

 MAINTAINERS            | 53 ++++++++++++++++++++++++++++++++++++++------------
 hw/m68k/mcf5208.c      | 30 +++++++++++++++++++++++++++-
 tests/Makefile.include |  2 +-
 3 files changed, 71 insertions(+), 14 deletions(-)
#2 lore raw

[Qemu-devel] [PULL 02/13] MAINTAINERS: Add missing entries for the PC machines

From: Philippe Mathieu-Daudé <[email protected]>

---
 MAINTAINERS | 4 ++++
 1 file changed, 4 insertions(+)
MAINTAINERS +4 -0
index 22e0293..3a034f9 100644
@@ -1185,6 +1185,10 @@ F: hw/acpi/ich9.c
 F: include/hw/acpi/ich9.h
 F: include/hw/acpi/piix4.h
 F: hw/misc/sga.c
+F: hw/isa/apm.c
+F: include/hw/isa/apm.h
+F: tests/test-x86-cpuid.c
+F: tests/test-x86-cpuid-compat.c
 
 PC Chipset
 M: Michael S. Tsirkin <[email protected]>
Signature · 1 line
1.8.3.1
#3 lore raw

[Qemu-devel] [PULL 03/13] MAINTAINERS: Add missing entries for the QObject section

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

---
 MAINTAINERS | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
MAINTAINERS +5 -1
index 3a034f9..4e38864 100644
@@ -1940,10 +1940,14 @@ F: include/qapi/qmp/
 X: include/qapi/qmp/dispatch.h
 F: scripts/coccinelle/qobject.cocci
 F: tests/check-qdict.c
-F: tests/check-qnum.c
 F: tests/check-qjson.c
 F: tests/check-qlist.c
+F: tests/check-qlit.c
+F: tests/check-qnull.c
+F: tests/check-qnum.c
+F: tests/check-qobject.c
 F: tests/check-qstring.c
+F: qdict-test-data.txt
 T: git https://repo.or.cz/qemu/armbru.git qapi-next
 
 QEMU Guest Agent
Signature · 1 line
1.8.3.1
#4 lore raw

[Qemu-devel] [PULL 04/13] MAINTAINERS: Add missing test entries to the Cryptography section

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

---
 MAINTAINERS | 2 ++
 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
index 4e38864..d81f9c4 100644
@@ -2069,6 +2069,8 @@ F: crypto/
 F: include/crypto/
 F: tests/test-crypto-*
 F: tests/benchmark-crypto-*
+F: tests/crypto-tls-*
+F: tests/pkix_asn1_tab.c
 F: qemu.sasl
 
 Coroutines
Signature · 1 line
1.8.3.1
#5 lore raw

[Qemu-devel] [PULL 05/13] MAINTAINERS: Add an entry for the Dino machine

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Add Richard as maintainer, and Helge as reviewer.

Cc Richard Henderson <[email protected]>
Cc Helge Deller <[email protected]>
[thuth: Add the machine entry alphabetically]
---
 MAINTAINERS | 9 +++++++++
 1 file changed, 9 insertions(+)
MAINTAINERS +9 -0
index d81f9c4..892d2c4 100644
@@ -851,6 +851,15 @@ S: Maintained
 F: hw/cris/axis_dev88.c
 F: hw/*/etraxfs_*.c
 
+HP-PARISC Machines
+------------------
+Dino
+M: Richard Henderson <[email protected]>
+R: Helge Deller <[email protected]>
+S: Odd Fixes
+F: hw/hppa/
+F: pc-bios/hppa-firmware.img
+
 LM32 Machines
 -------------
 EVR32 and uclinux BSP
Signature · 1 line
1.8.3.1
#6 lore raw

[Qemu-devel] [PULL 06/13] MAINTAINERS: Add maintainer to the POSIX subsystem

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Add Paolo as maintainer of the POSIX subsystem.

Remove the [email protected] entry because the list is always selected by the 'All patches CC here' section.

---
 MAINTAINERS | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
MAINTAINERS +5 -2
index 892d2c4..30a3359 100644
@@ -431,9 +431,12 @@ F: linux-*
 F: linux-headers/
 
 POSIX
-L: [email protected]
+M: Paolo Bonzini <[email protected]>
 S: Maintained
-F: *posix*
+F: os-posix.c
+F: include/sysemu/os-posix.h
+F: util/*posix*.c
+F: include/qemu/*posix*.h
 
 NETBSD
 L: [email protected]
Signature · 1 line
1.8.3.1
#7 lore raw

[Qemu-devel] [PULL 07/13] MAINTAINERS: Orphanize the 'GDB stub' subsystem

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Nobody is looking at those files, downgrade this subsystem as orphan.

Remove the [email protected] entry because the list is always selected by the 'All patches CC here' section.

---
 MAINTAINERS | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
MAINTAINERS +1 -2
index 30a3359..ee73486 100644
@@ -1815,8 +1815,7 @@ F: util/error.c
 F: util/qemu-error.c
 
 GDB stub
-L: [email protected]
-S: Odd Fixes
+S: Orphan
 F: gdbstub*
 F: gdb-xml/
 
Signature · 1 line
1.8.3.1
#8 lore raw

[Qemu-devel] [PULL 08/13] MAINTAINERS: Add maintainers to the Linux subsystem

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Add Michael, Cornelia and Paolo as maintainers of the Linux subsystem.

Remove the [email protected] entry because the list is always selected by the 'All patches CC here' section.

---
 MAINTAINERS | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
MAINTAINERS +4 -2
index ee73486..a1ceccf 100644
@@ -425,10 +425,12 @@ Hosts:
 ------
 
 LINUX
-L: [email protected]
+M: Michael S. Tsirkin <[email protected]>
+M: Cornelia Huck <[email protected]>
+M: Paolo Bonzini <[email protected]>
 S: Maintained
-F: linux-*
 F: linux-headers/
+F: scripts/update-linux-headers.sh
 
 POSIX
 M: Paolo Bonzini <[email protected]>
Signature · 1 line
1.8.3.1
#9 lore raw

[Qemu-devel] [PULL 09/13] MAINTAINERS: Add maintainer to the TCG/i386 subsystem

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Richard obviously maintains this subdirectory, make this official :)

Remove the [email protected] entry because the list is always selected by the 'All patches CC here' section.

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index a1ceccf..8c217d8 100644
@@ -2232,7 +2232,7 @@ F: tcg/arm/
 F: disas/arm.c
 
 i386 target
-L: [email protected]
+M: Richard Henderson <[email protected]>
 S: Maintained
 F: tcg/i386/
 F: disas/i386.c
Signature · 1 line
1.8.3.1
#13 lore raw

[Qemu-devel] [PULL 10/13] MAINTAINERS: Add some missing entries for the sun4m machine

In reply to Thomas Huth

These files / devices are only used by SPARC machines, so we can sort them into the corresponding category in the MAINTAINERS file.

---
 MAINTAINERS | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
MAINTAINERS +5 -2
index 8c217d8..5a6db6c 100644
@@ -1103,12 +1103,15 @@ M: Mark Cave-Ayland <[email protected]>
 S: Maintained
 F: hw/sparc/sun4m.c
 F: hw/sparc/sun4m_iommu.c
+F: hw/display/cg3.c
+F: hw/display/tcx.c
 F: hw/dma/sparc32_dma.c
 F: hw/misc/eccmemctl.c
-F: hw/misc/slavio_misc.c
+F: hw/*/slavio_*.c
+F: include/hw/nvram/sun_nvram.h
 F: include/hw/sparc/sparc32_dma.h
-F: pc-bios/openbios-sparc32
 F: include/hw/sparc/sun4m_iommu.h
+F: pc-bios/openbios-sparc32
 
 Sun4u
 M: Mark Cave-Ayland <[email protected]>
Signature · 1 line
1.8.3.1
#14 lore raw

[Qemu-devel] [PULL 13/13] hw/m68k/mcf5208: Support loading of bios images

In reply to Thomas Huth

From: Thomas Huth <[email protected]>

The MCF5208EVB supports 2 MiB of flash at address 0. Add support for this memory region and some code to load the file that can be specified with the "-bios" command line option. This can be used for example to load U-Boot images for the MCF5208EVB (we still lack some features in the CPU emulation for this firmware, though, so it can not be run successfully yet).

---
 hw/m68k/mcf5208.c | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)
hw/m68k/mcf5208.c +29 -1
index 8531e07..6f6efae 100644
@@ -27,6 +27,8 @@
 
 #define SYS_FREQ 166666666
 
+#define ROM_SIZE 0x200000
+
 #define PCSR_EN         0x0001
 #define PCSR_RLD        0x0002
 #define PCSR_PIF        0x0004
@@ -227,6 +229,7 @@ static void mcf5208evb_init(MachineState *machine)
     hwaddr entry;
     qemu_irq *pic;
     MemoryRegion *address_space_mem = get_system_memory();
+    MemoryRegion *rom = g_new(MemoryRegion, 1);
     MemoryRegion *ram = g_new(MemoryRegion, 1);
     MemoryRegion *sram = g_new(MemoryRegion, 1);
 
@@ -237,6 +240,10 @@ static void mcf5208evb_init(MachineState *machine)
     env->vbr = 0;
     /* TODO: Configure BARs.  */
 
+    /* ROM at 0x00000000 */
+    memory_region_init_rom(rom, NULL, "mcf5208.rom", ROM_SIZE, &error_fatal);
+    memory_region_add_subregion(address_space_mem, 0x00000000, rom);
+
     /* DRAM at 0x40000000 */
     memory_region_allocate_system_memory(ram, NULL, "mcf5208.ram", ram_size);
     memory_region_add_subregion(address_space_mem, 0x40000000, ram);
@@ -285,9 +292,30 @@ static void mcf5208evb_init(MachineState *machine)
     /*  0xfc0a4000 GPIO.  */
     /* 0xfc0a8000 SDRAM controller.  */
 
+    /* Load firmware */
+    if (bios_name) {
+        char *fn;
+        uint8_t *ptr;
+
+        fn = qemu_find_file(QEMU_FILE_TYPE_BIOS, bios_name);
+        if (!fn) {
+            error_report("Could not find ROM image '%s'", bios_name);
+            exit(1);
+        }
+        if (load_image_targphys(fn, 0x0, ROM_SIZE) < 8) {
+            error_report("Could not load ROM image '%s'", bios_name);
+            exit(1);
+        }
+        g_free(fn);
+        /* Initial PC is always at offset 4 in firmware binaries */
+        ptr = rom_ptr(0x4, 4);
+        assert(ptr != NULL);
+        env->pc = ldl_p(ptr);
+    }
+
     /* Load kernel.  */
     if (!kernel_filename) {
-        if (qtest_enabled()) {
+        if (qtest_enabled() || bios_name) {
             return;
         }
         error_report("Kernel image must be specified");
Signature · 1 line
1.8.3.1
#15 lore raw

[Qemu-devel] [PULL 11/13] MAINTAINERS: Clean up the RISC-V TCG backend section

In reply to Thomas Huth

The e-mail address [email protected] of Michael is not valid anymore. Commit 7d04ac38959f8115f2a02 removed the entry already from the main RISC-V section, but apparently forgot to remove it from the TCG backend section, too.

Fixes 7d04ac38959f8115f2a029d81db1c8aac179aa95
---
 MAINTAINERS | 1 -
 1 file changed, 1 deletion(-)
MAINTAINERS +0 -1
index 5a6db6c..a4c7ebf 100644
@@ -2254,7 +2254,6 @@ F: tcg/ppc/
 F: disas/ppc.c
 
 RISC-V
-M: Michael Clark <[email protected]>
 M: Palmer Dabbelt <[email protected]>
 M: Alistair Francis <[email protected]>
 L: [email protected]
Signature · 1 line
1.8.3.1
#16 lore raw

[Qemu-devel] [PULL 12/13] tests/test-qga: Reenable guest-agent qtest

In reply to Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Due to a misuse of rules.mak logical functions, commit f386df17448 disabled the guest-agent test.
Enable it back.

---
 tests/Makefile.include | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/Makefile.include +1 -1
index 370de59..4154da2 100644
@@ -112,7 +112,7 @@ check-unit-y += tests/test-crypto-secret$(EXESUF)
 check-unit-$(CONFIG_GNUTLS) += tests/test-crypto-tlscredsx509$(EXESUF)
 check-unit-$(CONFIG_GNUTLS) += tests/test-crypto-tlssession$(EXESUF)
 ifneq (,$(findstring qemu-ga,$(TOOLS)))
-check-unit-$(land,$(CONFIG_LINUX),$(CONFIG_VIRTIO_SERIAL)) += tests/test-qga$(EXESUF)
+check-unit-$(call land,$(CONFIG_LINUX),$(CONFIG_VIRTIO_SERIAL)) += tests/test-qga$(EXESUF)
 endif
 check-unit-y += tests/test-timed-average$(EXESUF)
 check-unit-$(CONFIG_INOTIFY1) += tests/test-util-filemonitor$(EXESUF)
Signature · 1 line
1.8.3.1
#10 lore raw

Re: [Qemu-devel] [PULL 09/13] MAINTAINERS: Add maintainer to the TCG/i386 subsystem

In reply to Thomas Huth
Quoted 7 lines · Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Richard obviously maintains this subdirectory, make this official :)

Remove the [email protected] entry because the list is always selected by the 'All patches CC here' section.

Quoted 6 lines
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

s/[email protected]/[email protected]/

I do this as part of my day job. With that,

r~

#11 lore raw

Re: [Qemu-devel] [PULL 09/13] MAINTAINERS: Add maintainer to the TCG/i386 subsystem

Quoted 15 lines · Richard Henderson
Quoted 7 lines · Thomas Huth

From: Philippe Mathieu-Daudé <[email protected]>

Richard obviously maintains this subdirectory, make this official :)

Remove the [email protected] entry because the list is always selected by the 'All patches CC here' section.

Quoted 6 lines
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 5 lines

s/[email protected]/[email protected]/

I do this as part of my day job. With that,

Ok ... shall I resend the PULL request or could you maybe send a follow-up patch later?

Thomas

#17 lore raw
In reply to Thomas Huth
Quoted 13 lines · Thomas Huth

Hi Peter,

the following changes since commit adf2e451f357e993f173ba9b4176dbf3e65fee7e:

Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (2019-02-26 19:04:47 +0000)

are available in the git repository at:

https://gitlab.com/huth/qemu.git tags/pull-request-2019-02-28

for you to fetch changes up to 9f04e1d9547224a935778c1935c605d607299070:

Quoted 7 lines

hw/m68k/mcf5208: Support loading of bios images (2019-02-28 12:18:18 +0100)

----------------------------------------------------------------
- Updates to MAINTAINERS file
- Re-enable the guest-agent test
- Add the possibility to load a bios image on the mcf5208evb machine
----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.0
for any user-visible changes.

-- PMM

#12 lore raw

Re: [Qemu-devel] [PULL 09/13] MAINTAINERS: Add maintainer to the TCG/i386 subsystem

In reply to Thomas Huth
Quoted 2 lines · Thomas Huth

Ok ... shall I resend the PULL request or could you maybe send a follow-up patch later?

The pr has been merged, so I'll do it later.

r~