Skip to contentSkip to conversation

Trivial patches patches

GIT PULL Applied Laurent Vivier 3 participants 8 messages Jan 24, 2019 – Jan 25, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit 6d809e7da943bb4b95b408fbf3d80d097c0f7d38:

Merge remote-tracking branch 'remotes/xtensa/tags/20190122-xtensa' into staging (2019-01-23 21:50:49 +0000)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-patches-pull-request

for you to fetch changes up to 285816d76f37c412f391fa14a2b28a35b7cb134e:

hw/i386/pc.c: fix one typo in function name (2019-01-24 13:34:20 +0100)

----------------------------------------------------------------
- Some typo and UTF-8 fixes
- a ppc e6500 fix to remove duplicate SPR registering

----------------------------------------------------------------

Jon Diekema (1):
ppc: e6500 registers SPR 604 twice

Philippe Mathieu-Daudé (3):
MAINTAINERS: Fix utf-8 mangling
contrib/gitdm: Fix a typo
virtio-net: Fix a typo

Wei Yang (1):
hw/i386/pc.c: fix one typo in function name

 MAINTAINERS                     | 2 +-
 contrib/gitdm/filetypes.txt     | 2 +-
 hw/i386/pc.c                    | 4 ++--
 include/hw/virtio/virtio-net.h  | 2 +-
 target/ppc/translate_init.inc.c | 8 --------
 5 files changed, 5 insertions(+), 13 deletions(-)
Signature · 1 line
2.20.1
#1 lore raw

[Qemu-devel] [PULL 4/5] virtio-net: Fix a typo

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

Message-Id: <[email protected]>

---
 include/hw/virtio/virtio-net.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/virtio/virtio-net.h +1 -1
index bd662752d2..a1a0be3bea 100644
@@ -94,7 +94,7 @@ typedef struct VirtioNetRscUnit {
     uint16_t payload;       /* pure payload without virtio/eth/ip/tcp */
 } VirtioNetRscUnit;
 
-/* Coalesced segmant */
+/* Coalesced segment */
 typedef struct VirtioNetRscSeg {
     QTAILQ_ENTRY(VirtioNetRscSeg) next;
     void *buf;
Signature · 1 line
2.20.1
#2 lore raw

[Qemu-devel] [PULL 2/5] contrib/gitdm: Fix a typo

In reply to Laurent Vivier

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

Typo comes from upstream git://git.lwn.net/gitdm.git.

Message-Id: <[email protected]>

---
 contrib/gitdm/filetypes.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/gitdm/filetypes.txt +1 -1
index 15d6f803b9..165b71b3f9 100644
@@ -4,7 +4,7 @@
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; either version 2 of the License, or
-# (at your option  any later version.
+# (at your option) any later version.
 #
 # This program is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
Signature · 1 line
2.20.1
#3 lore raw

[Qemu-devel] [PULL 3/5] ppc: e6500 registers SPR 604 twice

In reply to Laurent Vivier

From: Jon Diekema <[email protected]>

When using the e6500 CPU, QEMU generates a fatal error after complaining about registering SPR 604 twice.

Building and testing with commit 9b2e891ec5ccdb4a7d583b77988848282606fdea shows the issue:

qemu-system-ppc64 --version
QEMU emulator version 3.1.50 (v3.1.0-456-g9b2e891ec5-dirty) Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers

qemu-system-ppc64 -M none -cpu e6500
Error: Trying to register SPR 604 (25c) twice !

Message-Id: <CALvuzg43uSodseEHjNaRcPFBKKPTY2mcppUbYgiLL=QO9RxX_Q@mail.gmail.com>

[removed duplicated mail header in the commit message]
---
 target/ppc/translate_init.inc.c | 8 --------
 1 file changed, 8 deletions(-)
target/ppc/translate_init.inc.c +0 -8
index ade06cc773..59e0b86762 100644
@@ -4947,14 +4947,6 @@ static void init_proc_e500(CPUPPCState *env, int version)
     }
 
     if (version == fsl_e6500) {
-        spr_register(env, SPR_BOOKE_SPRG8, "SPRG8",
-                     SPR_NOACCESS, SPR_NOACCESS,
-                     &spr_read_generic, &spr_write_generic,
-                     0x00000000);
-        spr_register(env, SPR_BOOKE_SPRG9, "SPRG9",
-                     SPR_NOACCESS, SPR_NOACCESS,
-                     &spr_read_generic, &spr_write_generic,
-                     0x00000000);
         /* Thread identification */
         spr_register(env, SPR_TIR, "TIR",
                      SPR_NOACCESS, SPR_NOACCESS,
Signature · 1 line
2.20.1
#4 lore raw

Re: [Qemu-devel] [Qemu-ppc] [PULL 3/5] ppc: e6500 registers SPR 604 twice

Quoted 29 lines · Laurent Vivier

From: Jon Diekema <[email protected]>

When using the e6500 CPU, QEMU generates a fatal error after complaining about registering SPR 604 twice.

Building and testing with commit 9b2e891ec5ccdb4a7d583b77988848282606fdea shows the issue:

qemu-system-ppc64 --version
QEMU emulator version 3.1.50 (v3.1.0-456-g9b2e891ec5-dirty) Copyright (c) 2003-2018 Fabrice Bellard and the QEMU Project developers

qemu-system-ppc64 -M none -cpu e6500
Error: Trying to register SPR 604 (25c) twice !

Message-Id: <CALvuzg43uSodseEHjNaRcPFBKKPTY2mcppUbYgiLL=QO9RxX_Q@mail.gmail.com>

[removed duplicated mail header in the commit message]
---
 target/ppc/translate_init.inc.c | 8 --------
 1 file changed, 8 deletions(-)
target/ppc/translate_init.inc.c +0 -0
index ade06cc773..59e0b86762 100644
@@ -4947,14 +4947,6 @@ static void init_proc_e500(CPUPPCState *env, int version)
     }

target/ppc/translate_init.inc.c static void init_proc_e500(CPUPPCState *env, int version) · line 4957

Quoted 10 lines
target/ppc/translate_init.inc.c +0 -8
 
     if (version == fsl_e6500) {
-        spr_register(env, SPR_BOOKE_SPRG8, "SPRG8",
-                     SPR_NOACCESS, SPR_NOACCESS,
-                     &spr_read_generic, &spr_write_generic,
-                     0x00000000);
-        spr_register(env, SPR_BOOKE_SPRG9, "SPRG9",
-                     SPR_NOACCESS, SPR_NOACCESS,
-                     &spr_read_generic, &spr_write_generic,
-                     0x00000000);

Out of curiosity - does every BookE board have these?

Quoted 4 lines
target/ppc/translate_init.inc.c +0 -0
         /* Thread identification */
         spr_register(env, SPR_TIR, "TIR",
                      SPR_NOACCESS, SPR_NOACCESS,
Signature · 1 line
Alexey
#5 lore raw

[Qemu-devel] [PULL 1/5] MAINTAINERS: Fix utf-8 mangling

In reply to Laurent Vivier

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

Patch incorrectly applied as 15ffb43cbf4.

Message-Id: <[email protected]>

---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS +1 -1
index af339b86db..fd3d4de3fa 100644
@@ -1639,7 +1639,7 @@ F: include/hw/display/edid.h
 F: qemu-edid.c
 
 Firmware configuration (fw_cfg)
-M: Philippe Mathieu-Daudé <[email protected]>
+M: Philippe Mathieu-Daudé <[email protected]>
 R: Laszlo Ersek <[email protected]>
 R: Gerd Hoffmann <[email protected]>
 S: Supported
Signature · 1 line
2.20.1
#6 lore raw

[Qemu-devel] [PULL 5/5] hw/i386/pc.c: fix one typo in function name

In reply to Laurent Vivier

From: Wei Yang <[email protected]>

Rename pc_get_hotpug_handler to pc_get_hotplug_handler.

No functional change.

Message-Id: <[email protected]>

---
 hw/i386/pc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
hw/i386/pc.c +2 -2
index 73d688f842..747548b7aa 100644
@@ -2285,7 +2285,7 @@ static void pc_machine_device_unplug_cb(HotplugHandler *hotplug_dev,
     }
 }
 
-static HotplugHandler *pc_get_hotpug_handler(MachineState *machine,
+static HotplugHandler *pc_get_hotplug_handler(MachineState *machine,
                                              DeviceState *dev)
 {
     if (object_dynamic_cast(OBJECT(dev), TYPE_PC_DIMM) ||
@@ -2615,7 +2615,7 @@ static void pc_machine_class_init(ObjectClass *oc, void *data)
     pcmc->save_tsc_khz = true;
     pcmc->linuxboot_dma_enabled = true;
     assert(!mc->get_hotplug_handler);
-    mc->get_hotplug_handler = pc_get_hotpug_handler;
+    mc->get_hotplug_handler = pc_get_hotplug_handler;
     mc->cpu_index_to_instance_props = pc_cpu_index_to_props;
     mc->get_default_cpu_node_id = pc_get_default_cpu_node_id;
     mc->possible_cpu_arch_ids = pc_possible_cpu_arch_ids;
Signature · 1 line
2.20.1
#7 lore raw
In reply to Laurent Vivier
Quoted 11 lines · Laurent Vivier

The following changes since commit 6d809e7da943bb4b95b408fbf3d80d097c0f7d38:

Merge remote-tracking branch 'remotes/xtensa/tags/20190122-xtensa' into staging (2019-01-23 21:50:49 +0000)

are available in the Git repository at:

git://github.com/vivier/qemu.git tags/trivial-patches-pull-request

for you to fetch changes up to 285816d76f37c412f391fa14a2b28a35b7cb134e:

Quoted 7 lines

hw/i386/pc.c: fix one typo in function name (2019-01-24 13:34:20 +0100)

----------------------------------------------------------------
- Some typo and UTF-8 fixes
- a ppc e6500 fix to remove duplicate SPR registering

----------------------------------------------------------------

Applied, thanks.

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

-- PMM