qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/5] Trivial patches patches
@ 2019-01-24 12:49 Laurent Vivier
  2019-01-24 12:49 ` [Qemu-devel] [PULL 1/5] MAINTAINERS: Fix utf-8 mangling Laurent Vivier
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Laurent Vivier @ 2019-01-24 12:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Paolo Bonzini, Eduardo Habkost, qemu-trivial,
	Michael S. Tsirkin, David Gibson, Marcel Apfelbaum, qemu-ppc,
	Richard Henderson, Michael Tokarev, Alex Bennée

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(-)

-- 
2.20.1

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

* [Qemu-devel] [PULL 1/5] MAINTAINERS: Fix utf-8 mangling
  2019-01-24 12:49 [Qemu-devel] [PULL 0/5] Trivial patches patches Laurent Vivier
@ 2019-01-24 12:49 ` Laurent Vivier
  2019-01-24 12:49 ` [Qemu-devel] [PULL 2/5] contrib/gitdm: Fix a typo Laurent Vivier
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Laurent Vivier @ 2019-01-24 12:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Paolo Bonzini, Eduardo Habkost, qemu-trivial,
	Michael S. Tsirkin, David Gibson, Marcel Apfelbaum, qemu-ppc,
	Richard Henderson, Michael Tokarev, Alex Bennée,
	Philippe Mathieu-Daudé

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Patch incorrectly applied as 15ffb43cbf4.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190117161355.18204-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 MAINTAINERS | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index af339b86db..fd3d4de3fa 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1639,7 +1639,7 @@ F: include/hw/display/edid.h
 F: qemu-edid.c
 
 Firmware configuration (fw_cfg)
-M: Philippe Mathieu-Daudé <philmd@redhat.com>
+M: Philippe Mathieu-Daudé <philmd@redhat.com>
 R: Laszlo Ersek <lersek@redhat.com>
 R: Gerd Hoffmann <kraxel@redhat.com>
 S: Supported
-- 
2.20.1

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

* [Qemu-devel] [PULL 2/5] contrib/gitdm: Fix a typo
  2019-01-24 12:49 [Qemu-devel] [PULL 0/5] Trivial patches patches Laurent Vivier
  2019-01-24 12:49 ` [Qemu-devel] [PULL 1/5] MAINTAINERS: Fix utf-8 mangling Laurent Vivier
@ 2019-01-24 12:49 ` Laurent Vivier
  2019-01-24 12:49 ` [Qemu-devel] [PULL 3/5] ppc: e6500 registers SPR 604 twice Laurent Vivier
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Laurent Vivier @ 2019-01-24 12:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Paolo Bonzini, Eduardo Habkost, qemu-trivial,
	Michael S. Tsirkin, David Gibson, Marcel Apfelbaum, qemu-ppc,
	Richard Henderson, Michael Tokarev, Alex Bennée,
	Philippe Mathieu-Daudé, Aleksandar Markovic

From: Philippe Mathieu-Daudé <philmd@redhat.com>

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <20190111155555.8270-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 contrib/gitdm/filetypes.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/gitdm/filetypes.txt b/contrib/gitdm/filetypes.txt
index 15d6f803b9..165b71b3f9 100644
--- a/contrib/gitdm/filetypes.txt
+++ b/contrib/gitdm/filetypes.txt
@@ -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
-- 
2.20.1

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

* [Qemu-devel] [PULL 3/5] ppc: e6500 registers SPR 604 twice
  2019-01-24 12:49 [Qemu-devel] [PULL 0/5] Trivial patches patches Laurent Vivier
  2019-01-24 12:49 ` [Qemu-devel] [PULL 1/5] MAINTAINERS: Fix utf-8 mangling Laurent Vivier
  2019-01-24 12:49 ` [Qemu-devel] [PULL 2/5] contrib/gitdm: Fix a typo Laurent Vivier
@ 2019-01-24 12:49 ` Laurent Vivier
  2019-01-25  0:44   ` [Qemu-devel] [Qemu-ppc] " Alexey Kardashevskiy
  2019-01-24 12:49 ` [Qemu-devel] [PULL 4/5] virtio-net: Fix a typo Laurent Vivier
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 8+ messages in thread
From: Laurent Vivier @ 2019-01-24 12:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Paolo Bonzini, Eduardo Habkost, qemu-trivial,
	Michael S. Tsirkin, David Gibson, Marcel Apfelbaum, qemu-ppc,
	Richard Henderson, Michael Tokarev, Alex Bennée, Jon Diekema

From: Jon Diekema <jon.diekema@ge.com>

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 !

Signed-off-by: Jon Diekema <jon.diekema@ge.com>
Message-Id: <CALvuzg43uSodseEHjNaRcPFBKKPTY2mcppUbYgiLL=QO9RxX_Q@mail.gmail.com>
[removed duplicated mail header in the commit message]
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 target/ppc/translate_init.inc.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/target/ppc/translate_init.inc.c b/target/ppc/translate_init.inc.c
index ade06cc773..59e0b86762 100644
--- a/target/ppc/translate_init.inc.c
+++ b/target/ppc/translate_init.inc.c
@@ -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,
-- 
2.20.1

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

* [Qemu-devel] [PULL 4/5] virtio-net: Fix a typo
  2019-01-24 12:49 [Qemu-devel] [PULL 0/5] Trivial patches patches Laurent Vivier
                   ` (2 preceding siblings ...)
  2019-01-24 12:49 ` [Qemu-devel] [PULL 3/5] ppc: e6500 registers SPR 604 twice Laurent Vivier
@ 2019-01-24 12:49 ` Laurent Vivier
  2019-01-24 12:49 ` [Qemu-devel] [PULL 5/5] hw/i386/pc.c: fix one typo in function name Laurent Vivier
  2019-01-25 10:37 ` [Qemu-devel] [PULL 0/5] Trivial patches patches Peter Maydell
  5 siblings, 0 replies; 8+ messages in thread
From: Laurent Vivier @ 2019-01-24 12:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Paolo Bonzini, Eduardo Habkost, qemu-trivial,
	Michael S. Tsirkin, David Gibson, Marcel Apfelbaum, qemu-ppc,
	Richard Henderson, Michael Tokarev, Alex Bennée,
	Philippe Mathieu-Daudé, Peter Maydell

From: Philippe Mathieu-Daudé <philmd@redhat.com>

Fixes: 2974e916df8
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20190121181335.3326-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 include/hw/virtio/virtio-net.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/hw/virtio/virtio-net.h b/include/hw/virtio/virtio-net.h
index bd662752d2..a1a0be3bea 100644
--- a/include/hw/virtio/virtio-net.h
+++ b/include/hw/virtio/virtio-net.h
@@ -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;
-- 
2.20.1

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

* [Qemu-devel] [PULL 5/5] hw/i386/pc.c: fix one typo in function name
  2019-01-24 12:49 [Qemu-devel] [PULL 0/5] Trivial patches patches Laurent Vivier
                   ` (3 preceding siblings ...)
  2019-01-24 12:49 ` [Qemu-devel] [PULL 4/5] virtio-net: Fix a typo Laurent Vivier
@ 2019-01-24 12:49 ` Laurent Vivier
  2019-01-25 10:37 ` [Qemu-devel] [PULL 0/5] Trivial patches patches Peter Maydell
  5 siblings, 0 replies; 8+ messages in thread
From: Laurent Vivier @ 2019-01-24 12:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Paolo Bonzini, Eduardo Habkost, qemu-trivial,
	Michael S. Tsirkin, David Gibson, Marcel Apfelbaum, qemu-ppc,
	Richard Henderson, Michael Tokarev, Alex Bennée, Wei Yang,
	Stefano Garzarella

From: Wei Yang <richardw.yang@linux.intel.com>

Rename pc_get_hotpug_handler to pc_get_hotplug_handler.

No functional change.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190124073626.20534-1-richardw.yang@linux.intel.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hw/i386/pc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 73d688f842..747548b7aa 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -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;
-- 
2.20.1

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

* Re: [Qemu-devel] [Qemu-ppc] [PULL 3/5] ppc: e6500 registers SPR 604 twice
  2019-01-24 12:49 ` [Qemu-devel] [PULL 3/5] ppc: e6500 registers SPR 604 twice Laurent Vivier
@ 2019-01-25  0:44   ` Alexey Kardashevskiy
  0 siblings, 0 replies; 8+ messages in thread
From: Alexey Kardashevskiy @ 2019-01-25  0:44 UTC (permalink / raw)
  To: Laurent Vivier, qemu-devel
  Cc: Eduardo Habkost, Michael S. Tsirkin, qemu-trivial,
	Michael Tokarev, qemu-ppc, Marcel Apfelbaum, Paolo Bonzini,
	Jon Diekema, Richard Henderson, Alex Bennée, David Gibson



On 24/01/2019 23:49, Laurent Vivier wrote:
> From: Jon Diekema <jon.diekema@ge.com>
> 
> 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 !
> 
> Signed-off-by: Jon Diekema <jon.diekema@ge.com>
> Message-Id: <CALvuzg43uSodseEHjNaRcPFBKKPTY2mcppUbYgiLL=QO9RxX_Q@mail.gmail.com>
> [removed duplicated mail header in the commit message]
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
>  target/ppc/translate_init.inc.c | 8 --------
>  1 file changed, 8 deletions(-)
> 
> diff --git a/target/ppc/translate_init.inc.c b/target/ppc/translate_init.inc.c
> index ade06cc773..59e0b86762 100644
> --- a/target/ppc/translate_init.inc.c
> +++ b/target/ppc/translate_init.inc.c
> @@ -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);


Out of curiosity - does every BookE board have these?


>          /* Thread identification */
>          spr_register(env, SPR_TIR, "TIR",
>                       SPR_NOACCESS, SPR_NOACCESS,
> 

-- 
Alexey

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

* Re: [Qemu-devel] [PULL 0/5] Trivial patches patches
  2019-01-24 12:49 [Qemu-devel] [PULL 0/5] Trivial patches patches Laurent Vivier
                   ` (4 preceding siblings ...)
  2019-01-24 12:49 ` [Qemu-devel] [PULL 5/5] hw/i386/pc.c: fix one typo in function name Laurent Vivier
@ 2019-01-25 10:37 ` Peter Maydell
  5 siblings, 0 replies; 8+ messages in thread
From: Peter Maydell @ 2019-01-25 10:37 UTC (permalink / raw)
  To: Laurent Vivier
  Cc: QEMU Developers, Eduardo Habkost, Michael S. Tsirkin,
	QEMU Trivial, Michael Tokarev, qemu-ppc, Paolo Bonzini,
	Richard Henderson, Alex Bennée, David Gibson

On Thu, 24 Jan 2019 at 12:52, Laurent Vivier <laurent@vivier.eu> wrote:
>
> 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
>
> ----------------------------------------------------------------

Applied, thanks.

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

-- PMM

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

end of thread, other threads:[~2019-01-25 10:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-24 12:49 [Qemu-devel] [PULL 0/5] Trivial patches patches Laurent Vivier
2019-01-24 12:49 ` [Qemu-devel] [PULL 1/5] MAINTAINERS: Fix utf-8 mangling Laurent Vivier
2019-01-24 12:49 ` [Qemu-devel] [PULL 2/5] contrib/gitdm: Fix a typo Laurent Vivier
2019-01-24 12:49 ` [Qemu-devel] [PULL 3/5] ppc: e6500 registers SPR 604 twice Laurent Vivier
2019-01-25  0:44   ` [Qemu-devel] [Qemu-ppc] " Alexey Kardashevskiy
2019-01-24 12:49 ` [Qemu-devel] [PULL 4/5] virtio-net: Fix a typo Laurent Vivier
2019-01-24 12:49 ` [Qemu-devel] [PULL 5/5] hw/i386/pc.c: fix one typo in function name Laurent Vivier
2019-01-25 10:37 ` [Qemu-devel] [PULL 0/5] Trivial patches patches 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).